projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
915162d
)
OMAP3: CM-T35: Move DECLARE_GLOBAL_DATA_PTR to file scope
author
Igor Grinberg
<grinberg@compulab.co.il>
Mon, 18 Apr 2011 21:43:26 +0000
(17:43 -0400)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Wed, 27 Apr 2011 17:38:06 +0000
(19:38 +0200)
Move DECLARE_GLOBAL_DATA_PTR to file scop
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
board/cm_t35/cm_t35.c
patch
|
blob
|
history
diff --git
a/board/cm_t35/cm_t35.c
b/board/cm_t35/cm_t35.c
index 459df0b490994a5fea2e9f4db234f709bd41112e..2eb9dac6bbad5a8a5ccaf51069602b4b6c941555 100644
(file)
--- 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],