]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: imx: fix: Provide correct enum values for ONENAND/NOR boot recognition
authorLukasz Majewski <lukma@denx.de>
Thu, 3 Jan 2019 22:50:51 +0000 (23:50 +0100)
committerStefano Babic <sbabic@denx.de>
Mon, 28 Jan 2019 19:55:46 +0000 (20:55 +0100)
commit56ac8104e3aed2afd9f164186beefc49ef4fdcc6
treed6e09b7bffcf9eb187db55436283476f8d32708c
parent7e04b4c751a105800c282425f98c7e5557108f85
ARM: imx: fix: Provide correct enum values for ONENAND/NOR boot recognition

According to "Table 5-1. Boot Device Select" (page 335,
i.MX 6Dual/6Quad Applications Processor Reference Manual, Rev. 4, 09/2017)
the BOOT_CFG1[3] have following values (regarding EIM booting):
0 - NOR flash and 1 - ONENAND

This commit provides correct identification of the boot medium for IMX6Q
boards booting from NOR memory (MCCMON6 is one of them).

Signed-off-by: Lukasz Majewski <lukma@denx.de>
arch/arm/include/asm/mach-imx/sys_proto.h