Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
Tom Rini authored
Currently, we assume that if we can read from MMC correctly, we have found a valid image. This is not the case as an empty area will read just fine. Add a check for a valid IH_MAGIC. Signed-off-by:
Tom Rini <trini@ti.com> Reviewed-by:
Peter Korsgaard <jacmet@sunsite.dk>
Tom Rini authoredCurrently, we assume that if we can read from MMC correctly, we have found a valid image. This is not the case as an empty area will read just fine. Add a check for a valid IH_MAGIC. Signed-off-by:
Tom Rini <trini@ti.com> Reviewed-by:
Peter Korsgaard <jacmet@sunsite.dk>