ARM: i.MX53: fix bootsource_instance detection
Bootsource instance is encoded in bit 21:20 of the SBMR register, not in bit 22:21. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
c54cb78978
commit
a211494c23
|
@ -200,7 +200,7 @@ void imx53_boot_save_loc(void __iomem *src_base)
|
|||
case BOOTSOURCE_MMC:
|
||||
case BOOTSOURCE_SPI:
|
||||
case BOOTSOURCE_I2C:
|
||||
instance = (cfg1 >> 21) & 0x3;
|
||||
instance = (cfg1 >> 20) & 0x3;
|
||||
break;
|
||||
default:
|
||||
instance = 0;
|
||||
|
|
Loading…
Reference in New Issue