Skip to content
Snippets Groups Projects
Commit e673226f authored by Stefan Roese's avatar Stefan Roese
Browse files

ppc4xx: Update Acadia to not setup PLL when booting via bootstrap EEPROM


Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent 90e6f41c
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
extern void board_pll_init_f(void); extern void board_pll_init_f(void);
void liveoak_gpio_init(void) static void acadia_gpio_init(void)
{ {
/* /*
* GPIO0 setup (select GPIO or alternate function) * GPIO0 setup (select GPIO or alternate function)
...@@ -55,8 +55,12 @@ int board_early_init_f(void) ...@@ -55,8 +55,12 @@ int board_early_init_f(void)
{ {
unsigned int reg; unsigned int reg;
board_pll_init_f(); /* don't reinit PLL when booting via I2C bootstrap option */
liveoak_gpio_init(); mfsdr(SDR_PINSTP, reg);
if (reg != 0xf0000000)
board_pll_init_f();
acadia_gpio_init();
/* USB Host core needs this bit set */ /* USB Host core needs this bit set */
mfsdr(sdrultra1, reg); mfsdr(sdrultra1, reg);
......
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