summaryrefslogtreecommitdiff
path: root/common/menu.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-09-05 08:34:44 +0200
committerGerald Van Baren <gvb@unssw.com>2012-09-15 09:16:08 -0400
commite02c9458748a59e5d80649deb5e40f96ed992bb5 (patch)
tree2ecfa930caa658b6b2ad18a8e2261a2aa028e64d /common/menu.c
parenta6f0c4faa4c65a7b7048b12c9d180d7e1aad1721 (diff)
downloadu-boot-imx-e02c9458748a59e5d80649deb5e40f96ed992bb5.zip
u-boot-imx-e02c9458748a59e5d80649deb5e40f96ed992bb5.tar.gz
u-boot-imx-e02c9458748a59e5d80649deb5e40f96ed992bb5.tar.bz2
fdt: Check if the FDT address is configured
In case the "fdt addr" command wasn't ran yet and any other "fdt" subcommand was issued, the system crashed due to NULL pointer being used. This is caused by "fdt addr" command setting up a pointer to the FDT memory location. Prior issuing "fdt addr", the pointer is NULL so calling any other subcommands crashed the u-boot. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/menu.c')
0 files changed, 0 insertions, 0 deletions