mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-14 08:43:22 +09:00
mpc5xxx/cpu_init.c: fix warning: unused variable 'gpt0'
Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
This commit is contained in:
parent
5f566f4547
commit
13d8bfe26c
@ -46,9 +46,12 @@ void cpu_init_f (void)
|
|||||||
(struct mpc5xxx_gpio *) MPC5XXX_GPIO;
|
(struct mpc5xxx_gpio *) MPC5XXX_GPIO;
|
||||||
volatile struct mpc5xxx_xlb *xlb =
|
volatile struct mpc5xxx_xlb *xlb =
|
||||||
(struct mpc5xxx_xlb *) MPC5XXX_XLBARB;
|
(struct mpc5xxx_xlb *) MPC5XXX_XLBARB;
|
||||||
|
#if defined(CONFIG_WATCHDOG)
|
||||||
volatile struct mpc5xxx_gpt *gpt0 =
|
volatile struct mpc5xxx_gpt *gpt0 =
|
||||||
(struct mpc5xxx_gpt *) MPC5XXX_GPT;
|
(struct mpc5xxx_gpt *) MPC5XXX_GPT;
|
||||||
|
#endif /* CONFIG_WATCHDOG */
|
||||||
unsigned long addecr = (1 << 25); /* Boot_CS */
|
unsigned long addecr = (1 << 25); /* Boot_CS */
|
||||||
|
|
||||||
#if defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_MGT5100)
|
#if defined(CONFIG_SYS_RAMBOOT) && defined(CONFIG_MGT5100)
|
||||||
addecr |= (1 << 22); /* SDRAM enable */
|
addecr |= (1 << 22); /* SDRAM enable */
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user