]> git.baikalelectronics.ru Git - kernel.git/commit
[MTD] [NAND] remove __PPC__ hardcoded address from DiskOnChip drivers
authorMilton Miller <miltonm@bga.com>
Thu, 10 Jul 2008 21:14:18 +0000 (16:14 -0500)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Jul 2008 17:21:54 +0000 (18:21 +0100)
commitf86618bf832450695a4495f75b8c65d256957855
treefde10170efba6860777cf9adcb87d27d78967f31
parent3adf1570a61f7584cb667b5136b0b98b5d8fa0d4
[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>
drivers/mtd/devices/docprobe.c
drivers/mtd/nand/diskonchip.c