summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-14 09:27:06 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-15 20:11:24 +0100
commitbed937b1b3e5c677cb331a90c4b839562da1edf8 (patch)
tree6805281f2bfc5831a4edb66eff3aaa227c521c54
parent1aba5d366ccc1016c3c5ca8b10b10eca26c75db9 (diff)
downloadbarebox-bed937b1b3e5c677cb331a90c4b839562da1edf8.tar.gz
barebox-bed937b1b3e5c677cb331a90c4b839562da1edf8.tar.xz
ppc pcm030: Fix device resource sizes
The device resources are much smaller, the resource mechanism revealed this because of overlapping devices. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/ppc/boards/pcm030/pcm030.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc/boards/pcm030/pcm030.c b/arch/ppc/boards/pcm030/pcm030.c
index 61fb11620f..4abf6cba8c 100644
--- a/arch/ppc/boards/pcm030/pcm030.c
+++ b/arch/ppc/boards/pcm030/pcm030.c
@@ -59,7 +59,7 @@ static int devices_init (void)
sdramsize = mpc5200_get_sdram_size(0) + mpc5200_get_sdram_size(1);
barebox_add_memory_bank("ram0", 0x0, sdramsize);
- add_generic_device("fec_mpc5xxx", -1, NULL, MPC5XXX_FEC, 0,
+ add_generic_device("fec_mpc5xxx", -1, NULL, MPC5XXX_FEC, 0x200,
IORESOURCE_MEM, &fec_info);
ret = stat("/dev/nor0", &s);
@@ -76,9 +76,9 @@ device_initcall(devices_init);
static int console_init(void)
{
- add_generic_device("mpc5xxx_serial", -1, NULL, MPC5XXX_PSC3, 4096,
+ add_generic_device("mpc5xxx_serial", -1, NULL, MPC5XXX_PSC3, 0x200,
IORESOURCE_MEM, NULL);
- add_generic_device("mpc5xxx_serial", -1, NULL, MPC5XXX_PSC6, 4096,
+ add_generic_device("mpc5xxx_serial", -1, NULL, MPC5XXX_PSC6, 0x200,
IORESOURCE_MEM, NULL);
return 0;
}