mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-02 03:07:13 -04:00
ppc4xx: Update Acadia to not setup PLL when booting via bootstrap EEPROM
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
90e6f41cf0
commit
e673226ff9
@ -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)
|
|||||||
{
|
{
|
||||||
unsigned int reg;
|
unsigned int reg;
|
||||||
|
|
||||||
|
/* don't reinit PLL when booting via I2C bootstrap option */
|
||||||
|
mfsdr(SDR_PINSTP, reg);
|
||||||
|
if (reg != 0xf0000000)
|
||||||
board_pll_init_f();
|
board_pll_init_f();
|
||||||
liveoak_gpio_init();
|
|
||||||
|
acadia_gpio_init();
|
||||||
|
|
||||||
/* USB Host core needs this bit set */
|
/* USB Host core needs this bit set */
|
||||||
mfsdr(sdrultra1, reg);
|
mfsdr(sdrultra1, reg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user