OMAP2/3 board-*.c files: read bootloader configuration earlier
authorPaul Walmsley <paul@pwsan.com>
Thu, 3 Sep 2009 17:14:02 +0000 (20:14 +0300)
committerpaul <paul@twilight.(none)>
Thu, 3 Sep 2009 17:14:02 +0000 (20:14 +0300)
commitb3c6df3ab2b17cd7ddf927d39a64f235b25ac8d4
tree58d26a0b0dc5dc597519260ef04f8bff67cc4f8c
parent71348bcaac6f4c372525d4d62e88a82a7330435b
OMAP2/3 board-*.c files: read bootloader configuration earlier

Most board-*.c files read configuration data from the bootloader in
their .init_machine() function.  This needs to happen earlier, at some
point before omap2_init_common_hw() is called.  This is because a
future patch will use the bootloader serial console port information
to enable the UART clocks earlier, immediately after omap2_clk_init().
This is in turn necessary since otherwise clock tree usecounts on
clocks like dpll4_m2x2_ck will be bogus, which can cause the
currently-active console UART clock to be disabled during boot.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
15 files changed:
arch/arm/mach-omap2/board-2430sdp.c
arch/arm/mach-omap2/board-3430sdp.c
arch/arm/mach-omap2/board-apollon.c
arch/arm/mach-omap2/board-generic.c
arch/arm/mach-omap2/board-h4.c
arch/arm/mach-omap2/board-ldp.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3evm.c
arch/arm/mach-omap2/board-omap3pandora.c
arch/arm/mach-omap2/board-overo.c
arch/arm/mach-omap2/board-rx51.c
arch/arm/mach-omap2/board-zoom2.c
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/serial.c
arch/arm/plat-omap/include/mach/serial.h