summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/devices/docprobe.c
diff options
context:
space:
mode:
authorMilton Miller <miltonm@bga.com>2008-07-10 23:14:18 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-11 19:21:54 +0200
commitf63af11ddb508ce7b2a270515244d145248cad7f (patch)
treefde10170efba6860777cf9adcb87d27d78967f31 /drivers/mtd/devices/docprobe.c
parent[MTD] [MAPS] Remove the bast-flash driver. (diff)
downloadlinux-f63af11ddb508ce7b2a270515244d145248cad7f.tar.xz
linux-f63af11ddb508ce7b2a270515244d145248cad7f.zip
[MTD] [NAND] remove __PPC__ hardcoded address from DiskOnChip drivers
Such a hardcoded address can cause a checkstop or machine check if the driver is in the kernel but the address is not acknowledged. Both drivers allow an address to be specified as either a module parameter or config option. Any future powerpc board should either use one of these methods or find the address in the device tree. Signed-off-by: Milton Miller <miltonm@bga.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/devices/docprobe.c')
-rw-r--r--drivers/mtd/devices/docprobe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/devices/docprobe.c b/drivers/mtd/devices/docprobe.c
index 6e5d811ae83a..6e62922942b1 100644
--- a/drivers/mtd/devices/docprobe.c
+++ b/drivers/mtd/devices/docprobe.c
@@ -76,8 +76,6 @@ static unsigned long __initdata doc_locations[] = {
0xe0000, 0xe2000, 0xe4000, 0xe6000,
0xe8000, 0xea000, 0xec000, 0xee000,
#endif /* CONFIG_MTD_DOCPROBE_HIGH */
-#elif defined(__PPC__)
- 0xe4000000,
#else
#warning Unknown architecture for DiskOnChip. No default probe locations defined
#endif