9
0
Fork 0

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:
Sascha Hauer 2014-01-24 11:59:38 +01:00
parent c54cb78978
commit a211494c23
1 changed files with 1 additions and 1 deletions

View File

@ -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;