diff options
author | Mark A. Greer <mgreer@mvista.com> | 2005-09-03 18:55:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 03:06:00 -0400 |
commit | f4c6cc8d1e2305796f7fdad52d83b88cea4d2276 (patch) | |
tree | be172cb018dd5bf26d76114f4b4549c772359e39 /arch/ppc/boot | |
parent | d01c08c9ae91c1526d4564b400b3e0e04b49d1ba (diff) |
[PATCH] ppc32: katana updates
Update the katana platform support code:
- if booted as zImage, pass mem size in via bi_req from bootwrapper
- if booted as uImage, get mem size from bd_info passed in from u-boot
- add support for 82544 present on katana 752i's
- set cacheline size on pci devices
- some minor fixups
Signed-off-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/boot')
-rw-r--r-- | arch/ppc/boot/simple/misc-katana.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/ppc/boot/simple/misc-katana.c b/arch/ppc/boot/simple/misc-katana.c index b6e1bb833157..ec94a11bacac 100644 --- a/arch/ppc/boot/simple/misc-katana.c +++ b/arch/ppc/boot/simple/misc-katana.c | |||
@@ -26,6 +26,8 @@ extern u32 mv64x60_mpsc_clk_freq; | |||
26 | #define min(a,b) (((a) < (b)) ? (a) : (b)) | 26 | #define min(a,b) (((a) < (b)) ? (a) : (b)) |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | unsigned long mv64360_get_mem_size(void); | ||
30 | |||
29 | void | 31 | void |
30 | mv64x60_board_init(void __iomem *old_base, void __iomem *new_base) | 32 | mv64x60_board_init(void __iomem *old_base, void __iomem *new_base) |
31 | { | 33 | { |
@@ -35,3 +37,9 @@ mv64x60_board_init(void __iomem *old_base, void __iomem *new_base) | |||
35 | min(katana_bus_freq((void __iomem *)KATANA_CPLD_BASE), | 37 | min(katana_bus_freq((void __iomem *)KATANA_CPLD_BASE), |
36 | MV64x60_TCLK_FREQ_MAX); | 38 | MV64x60_TCLK_FREQ_MAX); |
37 | } | 39 | } |
40 | |||
41 | unsigned long | ||
42 | get_mem_size(void) | ||
43 | { | ||
44 | return mv64360_get_mem_size(); | ||
45 | } | ||