mirror of https://gitee.com/openkylin/linux.git
MIPS: RB532: Disable the right device
Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
edb6310aaa
commit
bc4c4e832a
|
@ -280,7 +280,7 @@ static int __init plat_setup_devices(void)
|
||||||
{
|
{
|
||||||
/* Look for the CF card reader */
|
/* Look for the CF card reader */
|
||||||
if (!readl(IDT434_REG_BASE + DEV1MASK))
|
if (!readl(IDT434_REG_BASE + DEV1MASK))
|
||||||
rb532_devs[1] = NULL;
|
rb532_devs[2] = NULL; /* disable cf_slot0 at index 2 */
|
||||||
else {
|
else {
|
||||||
cf_slot0_res[0].start =
|
cf_slot0_res[0].start =
|
||||||
readl(IDT434_REG_BASE + DEV1BASE);
|
readl(IDT434_REG_BASE + DEV1BASE);
|
||||||
|
|
Loading…
Reference in New Issue