]> git.sur5r.net Git - u-boot/commitdiff
config: Add default client arch defines for intel architectures
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 13 Apr 2015 20:54:26 +0000 (22:54 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 19 Apr 2015 20:45:58 +0000 (14:45 -0600)
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>
include/config_distro_defaults.h

index 8237239c0021d32f53e53ff8e4cf0109c0539277..5eea5cf900d83876cdc68c748ac870fe5a95cfa3 100644 (file)
 #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