summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2015-04-13 22:54:26 +0200
committerSimon Glass <sjg@chromium.org>2015-04-19 14:45:58 -0600
commitf96d0b81495e89e3848d923db8f5e2b3888d47c0 (patch)
treecd3acc727606df3fa80255c20a780f97be6b33e1
parent4a0bd1020f28c97dd89a02e666e094c8d043d6aa (diff)
downloadu-boot-imx-f96d0b81495e89e3848d923db8f5e2b3888d47c0.zip
u-boot-imx-f96d0b81495e89e3848d923db8f5e2b3888d47c0.tar.gz
u-boot-imx-f96d0b81495e89e3848d923db8f5e2b3888d47c0.tar.bz2
config: Add default client arch defines for intel architectures
Define default PXE client architecture identifiers for IA32 (0x0 aka Intel x86PC) and Intel x86-64 (0x9 aka EFI x86-64). This prepares for usage for config_distro_defaults in the sandbox architecture Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
-rw-r--r--include/config_distro_defaults.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config_distro_defaults.h b/include/config_distro_defaults.h
index 8237239..5eea5cf 100644
--- a/include/config_distro_defaults.h
+++ b/include/config_distro_defaults.h
@@ -29,6 +29,10 @@
#else
#define CONFIG_BOOTP_VCI_STRING "U-boot.arm"
#endif
+#elif defined(__i386__)
+#define CONFIG_BOOTP_PXE_CLIENTARCH 0x0
+#elif defined(__x86_64__)
+#define CONFIG_BOOTP_PXE_CLIENTARCH 0x9
#endif
#define CONFIG_OF_LIBFDT