diff options
author | Matt Porter <mporter@kernel.crashing.org> | 2005-11-07 03:58:15 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:26 -0500 |
commit | 3e9e7c1d0b7a36fb8affb973a054c5098e27baa8 (patch) | |
tree | b6fb8644555bd820756bf599ac84433a9eb1eda2 /arch/ppc/platforms/4xx/bubinga.c | |
parent | 90eb2665841d7b444602736e2141a01c948f75b1 (diff) |
[PATCH] ppc32: cleanup AMCC PPC40x eval boards to support U-Boot
Cleanup PPC40x eval boards (bubinga, walnut and sycamore) to support U-Boot
as bootloader. The OpenBIOS bd_info struct is not used in the kernel
anymore (only U-Boot now).
uImage (U-Boot) tested on walnut, sycamore and bubinga
zImage (OpenBIOS) tested on sycamore, bubinga and ebony
Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Matt Porter <mporter@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/platforms/4xx/bubinga.c')
-rw-r--r-- | arch/ppc/platforms/4xx/bubinga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/platforms/4xx/bubinga.c b/arch/ppc/platforms/4xx/bubinga.c index 3678abf86313..8110f55668c5 100644 --- a/arch/ppc/platforms/4xx/bubinga.c +++ b/arch/ppc/platforms/4xx/bubinga.c | |||
@@ -89,7 +89,7 @@ bubinga_early_serial_map(void) | |||
89 | * by 16. | 89 | * by 16. |
90 | */ | 90 | */ |
91 | uart_div = (mfdcr(DCRN_CPC0_UCR_BASE) & DCRN_CPC0_UCR_U0DIV); | 91 | uart_div = (mfdcr(DCRN_CPC0_UCR_BASE) & DCRN_CPC0_UCR_U0DIV); |
92 | uart_clock = __res.bi_pllouta_freq / uart_div; | 92 | uart_clock = __res.bi_procfreq / uart_div; |
93 | 93 | ||
94 | /* Setup serial port access */ | 94 | /* Setup serial port access */ |
95 | memset(&port, 0, sizeof(port)); | 95 | memset(&port, 0, sizeof(port)); |