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/sycamore.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/sycamore.c')
-rw-r--r-- | arch/ppc/platforms/4xx/sycamore.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/ppc/platforms/4xx/sycamore.c b/arch/ppc/platforms/4xx/sycamore.c index d8019eec470..281b4a2ffb9 100644 --- a/arch/ppc/platforms/4xx/sycamore.c +++ b/arch/ppc/platforms/4xx/sycamore.c | |||
@@ -88,9 +88,6 @@ ppc405_map_irq(struct pci_dev *dev, unsigned char idsel, unsigned char pin) | |||
88 | void __init | 88 | void __init |
89 | sycamore_setup_arch(void) | 89 | sycamore_setup_arch(void) |
90 | { | 90 | { |
91 | #define SYCAMORE_PS2_BASE 0xF0100000 | ||
92 | #define SYCAMORE_FPGA_BASE 0xF0300000 | ||
93 | |||
94 | void *fpga_brdc; | 91 | void *fpga_brdc; |
95 | unsigned char fpga_brdc_data; | 92 | unsigned char fpga_brdc_data; |
96 | void *fpga_enable; | 93 | void *fpga_enable; |
@@ -100,7 +97,7 @@ sycamore_setup_arch(void) | |||
100 | 97 | ||
101 | ppc4xx_setup_arch(); | 98 | ppc4xx_setup_arch(); |
102 | 99 | ||
103 | ibm_ocp_set_emac(0, 1); | 100 | ibm_ocp_set_emac(0, 0); |
104 | 101 | ||
105 | kb_data = ioremap(SYCAMORE_PS2_BASE, 8); | 102 | kb_data = ioremap(SYCAMORE_PS2_BASE, 8); |
106 | if (!kb_data) { | 103 | if (!kb_data) { |
@@ -111,7 +108,7 @@ sycamore_setup_arch(void) | |||
111 | 108 | ||
112 | kb_cs = kb_data + 1; | 109 | kb_cs = kb_data + 1; |
113 | 110 | ||
114 | fpga_status = ioremap(SYCAMORE_FPGA_BASE, 8); | 111 | fpga_status = ioremap(PPC40x_FPGA_BASE, 8); |
115 | if (!fpga_status) { | 112 | if (!fpga_status) { |
116 | printk(KERN_CRIT | 113 | printk(KERN_CRIT |
117 | "sycamore_setup_arch() fpga_status ioremap failed\n"); | 114 | "sycamore_setup_arch() fpga_status ioremap failed\n"); |