aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/ebony.c
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-08-20 08:28:30 -0400
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-08-20 08:28:30 -0400
commite90f3b74d884d0f2826e06dbab4f615ca346eaa4 (patch)
tree19b10d012a78ec644c7ce65be5df1c9d80f96ddc /arch/powerpc/boot/ebony.c
parent869680c16fb028ac4ad9a449283e0514789c654a (diff)
[POWERPC] 4xx bootwrapper reworks
Make the fixup_memsize function common for all of 4xx as several chips share the same SDRAM controller. Also add functions to reset 40x chips and quiesce the ethernet. Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/boot/ebony.c')
-rw-r--r--arch/powerpc/boot/ebony.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ebony.c b/arch/powerpc/boot/ebony.c
index eaf0b9bb68d6..2b9a809bcd74 100644
--- a/arch/powerpc/boot/ebony.c
+++ b/arch/powerpc/boot/ebony.c
@@ -26,6 +26,7 @@
26#include "reg.h" 26#include "reg.h"
27#include "io.h" 27#include "io.h"
28#include "dcr.h" 28#include "dcr.h"
29#include "4xx.h"
29#include "44x.h" 30#include "44x.h"
30 31
31extern char _dtb_start[]; 32extern char _dtb_start[];
@@ -136,7 +137,7 @@ static void ebony_fixups(void)
136 unsigned long sysclk = 33000000; 137 unsigned long sysclk = 33000000;
137 138
138 ibm440gp_fixup_clocks(sysclk, 6 * 1843200); 139 ibm440gp_fixup_clocks(sysclk, 6 * 1843200);
139 ibm44x_fixup_memsize(); 140 ibm4xx_fixup_memsize();
140 dt_fixup_mac_addresses(ebony_mac0, ebony_mac1); 141 dt_fixup_mac_addresses(ebony_mac0, ebony_mac1);
141 ibm4xx_fixup_ebc_ranges("/plb/opb/ebc"); 142 ibm4xx_fixup_ebc_ranges("/plb/opb/ebc");
142 ebony_flashsel_fixup(); 143 ebony_flashsel_fixup();