commit | 8f3f4ef83404d9efc2bb062e5ff1e7a51e523655 | [log] [tgz] |
---|---|---|
author | York Sun <york.sun@nxp.com> | Mon Nov 05 18:02:09 2018 +0000 |
committer | York Sun <york.sun@nxp.com> | Thu Dec 06 14:37:19 2018 -0800 |
tree | 66a4244e1f6382be7584687574284be3b92cb71b | |
parent | 541f8eb73e36d322c29b0d074e1de470a03111a7 [diff] |
armv8: fsl-layerscape: Update parsing boot source Workaround of erratum A010539 clears the RCW source field in PORSR1 register, causing failure of detecting boot source using this method. Use SMC call if U-Boot runs at EL2. If SMC is not implemented or running at EL3, continue to read PORSR1 and presume QSPI as boot source if erratum workaround A010539 is enabled and RCW source is cleared. Signed-off-by: York Sun <york.sun@nxp.com>