| Submitter | Igor Grinberg |
|---|---|
| Date | April 5, 2011, 7:08 a.m. |
| Message ID | <1301987293-5095-2-git-send-email-grinberg@compulab.co.il> |
| Download | mbox | patch |
| Permalink | /patch/89803/ |
| State | Accepted |
| Commit | 557aa15594ce3c67ce0fdba1e99365e5ae14cc73 |
| Delegated to: | Sandeep Paulraj |
| Headers | show |
Comments
Patch
diff --git a/board/cm_t35/cm_t35.c b/board/cm_t35/cm_t35.c index 459df0b..2eb9dac 100644 --- a/board/cm_t35/cm_t35.c +++ b/board/cm_t35/cm_t35.c @@ -41,6 +41,8 @@ #include <asm/arch/sys_proto.h> #include <asm/mach-types.h> +DECLARE_GLOBAL_DATA_PTR; + const omap3_sysinfo sysinfo = { DDR_DISCRETE, "CM-T35 board", @@ -73,8 +75,6 @@ static u32 gpmc_nand_config[GPMC_MAX_REG] = { */ int board_init(void) { - DECLARE_GLOBAL_DATA_PTR; - gpmc_init(); /* in SRAM or SDRAM, finish GPMC */ enable_gpmc_cs_config(gpmc_nand_config, &gpmc_cfg->cs[0],
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> --- board/cm_t35/cm_t35.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)