mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 04:26:19 -04:00
OMAP3: CM-T35: Move DECLARE_GLOBAL_DATA_PTR to file scope
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>
This commit is contained in:
parent
915162daaa
commit
557aa15594
@ -41,6 +41,8 @@
|
|||||||
#include <asm/arch/sys_proto.h>
|
#include <asm/arch/sys_proto.h>
|
||||||
#include <asm/mach-types.h>
|
#include <asm/mach-types.h>
|
||||||
|
|
||||||
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
const omap3_sysinfo sysinfo = {
|
const omap3_sysinfo sysinfo = {
|
||||||
DDR_DISCRETE,
|
DDR_DISCRETE,
|
||||||
"CM-T35 board",
|
"CM-T35 board",
|
||||||
@ -73,8 +75,6 @@ static u32 gpmc_nand_config[GPMC_MAX_REG] = {
|
|||||||
*/
|
*/
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
|
||||||
|
|
||||||
gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
|
gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
|
||||||
|
|
||||||
enable_gpmc_cs_config(gpmc_nand_config, &gpmc_cfg->cs[0],
|
enable_gpmc_cs_config(gpmc_nand_config, &gpmc_cfg->cs[0],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user