Skip to content
Snippets Groups Projects
Commit 557aa155 authored by Igor Grinberg's avatar Igor Grinberg Committed by Albert ARIBAUD
Browse files

OMAP3: CM-T35: Move DECLARE_GLOBAL_DATA_PTR to file scope


Move DECLARE_GLOBAL_DATA_PTR to file scop

Signed-off-by: default avatarIgor Grinberg <grinberg@compulab.co.il>
Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
parent 915162da
No related branches found
No related tags found
No related merge requests found
......@@ -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],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment