mainboard/cubieboard: use bootblock_mainboard_early_init
since commit f1e321001d
, the UART init
should be in bootblock_mainboard_early_init() which runs before
console init. (see src/lib/bootblock.c)
Change-Id: Ib00afdd6e81e7689fbd743c8a5f547d424896d71
Reviewed-on: https://review.coreboot.org/13448
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
6d2ca02101
commit
e10d07e336
|
@ -127,7 +127,7 @@ static void cubieboard_raminit(void)
|
||||||
////ram_check((u32)test_base, (u32)test_base + 0x1000);
|
////ram_check((u32)test_base, (u32)test_base + 0x1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
void bootblock_mainboard_init(void)
|
void bootblock_mainboard_early_init(void)
|
||||||
{
|
{
|
||||||
/* A10 Timer init uses the 24MHz clock, not PLLs, so we can init it very
|
/* A10 Timer init uses the 24MHz clock, not PLLs, so we can init it very
|
||||||
* early on to get udelay, which is used almost everywhere else.
|
* early on to get udelay, which is used almost everywhere else.
|
||||||
|
@ -137,6 +137,9 @@ void bootblock_mainboard_init(void)
|
||||||
cubieboard_setup_clocks();
|
cubieboard_setup_clocks();
|
||||||
cubieboard_setup_gpios();
|
cubieboard_setup_gpios();
|
||||||
cubieboard_enable_uart();
|
cubieboard_enable_uart();
|
||||||
|
}
|
||||||
|
|
||||||
|
void bootblock_mainboard_init(void)
|
||||||
|
{
|
||||||
cubieboard_raminit();
|
cubieboard_raminit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue