Skip to content

Commit

Permalink
[PATCH] ppc32: katana updates
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark A. Greer authored and Linus Torvalds committed Sep 5, 2005
1 parent d01c08c commit f4c6cc8
Show file tree
Hide file tree
Showing 4 changed files with 420 additions and 193 deletions.
8 changes: 8 additions & 0 deletions arch/ppc/boot/simple/misc-katana.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ extern u32 mv64x60_mpsc_clk_freq;
#define min(a,b) (((a) < (b)) ? (a) : (b))
#endif

unsigned long mv64360_get_mem_size(void);

void
mv64x60_board_init(void __iomem *old_base, void __iomem *new_base)
{
Expand All @@ -35,3 +37,9 @@ mv64x60_board_init(void __iomem *old_base, void __iomem *new_base)
min(katana_bus_freq((void __iomem *)KATANA_CPLD_BASE),
MV64x60_TCLK_FREQ_MAX);
}

unsigned long
get_mem_size(void)
{
return mv64360_get_mem_size();
}
Loading

0 comments on commit f4c6cc8

Please sign in to comment.