mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 20:38:52 +09:00
![Peng Fan](/assets/img/avatar_default.png)
Move most macro definitions and prototypes into "arch/arm/include/asm/imx-common/sys_proto.h" to avoid duplicated function prototypes and marco definitions for different i.MX SoCs. This patch do not remove the sys_proto.h for different i.MX SoCs, because we need to modify lots of driver code and others. This patch remove duplicated macros and prototypes and incude "sys_proto.h" of imx-common for each sys_proto.h of different i.MX platforms. Then later we should avoid add stuff in sys_proto.h of each platform, and modify driver to include common sys_proto.h. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Stefano Babic <sbabic@denx.de>
17 lines
343 B
C
17 lines
343 B
C
/*
|
|
* (C) Copyright 2011
|
|
* Stefano Babic, DENX Software Engineering, sbabic@denx.de.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _MX35_SYS_PROTO_H_
|
|
#define _MX35_SYS_PROTO_H_
|
|
|
|
#include <asm/imx-common/sys_proto.h>
|
|
|
|
void mx3_setup_sdram_bank(u32 start_address, u32 ddr2_config, u32 row,
|
|
u32 col, u32 dsize, u32 refresh);
|
|
|
|
#endif
|