summaryrefslogtreecommitdiffstats
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-19 21:11:24 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 09:03:06 -0600
commit90268b878bd830f2fc9b1e225d96009efe331cd1 (patch)
tree680cddba7c37d284971ff23d0b4b66611b4cf019 /common/cmd_bootm.c
parent381197788dbf8bb94f96ec9e03b6b81618187260 (diff)
downloadtalos-obmc-uboot-90268b878bd830f2fc9b1e225d96009efe331cd1.tar.gz
talos-obmc-uboot-90268b878bd830f2fc9b1e225d96009efe331cd1.zip
x86: Support loading kernel setup from a FIT
Add a new setup@ section to the FIT which can be used to provide a setup binary for booting Linux on x86. This makes it possible to boot x86 from a FIT. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 843ec6e0c2..67233600b1 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -12,6 +12,7 @@
#include <bootm.h>
#include <command.h>
#include <environment.h>
+#include <errno.h>
#include <image.h>
#include <lmb.h>
#include <malloc.h>
OpenPOWER on IntegriCloud