summaryrefslogtreecommitdiff
path: root/board/kosagi
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-08-15 17:02:15 (GMT)
committerTom Rini <trini@konsulko.com>2016-08-15 22:46:41 (GMT)
commit4cc9699be7ffc6072482240f5ba208488abe1090 (patch)
tree0901eacfb65987c1700717d407e0333e6206f979 /board/kosagi
parent183923d3e412500bdc597d1745e2fb6f7f679ec7 (diff)
downloadu-boot-fsl-qoriq-4cc9699be7ffc6072482240f5ba208488abe1090.tar.xz
common: env_nand: Ensure that we have nand_info[0] prior to use
Now that nand_info[] is an array of pointers we need to ensure that it's been populated prior to use. We may for example have ENV in NAND set in configurations that run on boards with and without NAND (where default env is fine enough, such as omap3_beagle and beagleboard (NAND) vs beagle xM (no NAND)). Fixes: b616d9b0a708 ("nand: Embed mtd_info in struct nand_chip") Cc: Scott Wood <oss@buserror.net> Signed-off-by: Tom Rini <trini@konsulko.com> Acked-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'board/kosagi')
0 files changed, 0 insertions, 0 deletions