summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2010-01-12 11:15:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-01-14 10:06:17 +0100
commit12769b3b78717476fe7e455cef5e59f903648e42 (patch)
tree5e48edce87013097d5658b6196de8dc8a96a48ac /arch/x86/Kconfig
parent70810935313bfb073c942f9a96bdd8502a05f6c1 (diff)
downloadbarebox-12769b3b78717476fe7e455cef5e59f903648e42.tar.gz
barebox-12769b3b78717476fe7e455cef5e59f903648e42.tar.xz
Add the whole x86 architecture to the build system
Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig67
1 files changed, 67 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
new file mode 100644
index 0000000000..6e70760f58
--- /dev/null
+++ b/arch/x86/Kconfig
@@ -0,0 +1,67 @@
+#
+#
+#
+config ARCH_TEXT_BASE
+ hex
+ default 0x00007c00 if MACH_X86_GENERIC
+
+config BOARDINFO
+ default "Generic x86 bootloader" if MACH_X86_GENERIC
+
+config BOARD_LINKER_SCRIPT
+ bool
+ default n
+
+config GENERIC_LINKER_SCRIPT
+ bool
+ default y
+ depends on !BOARD_LINKER_SCRIPT
+
+config X86
+ bool
+ select HAS_KALLSYMS
+ select HAS_MODULES
+ select HAVE_CONFIGURABLE_MEMORY_LAYOUT
+ select HAVE_CONFIGURABLE_TEXT_BASE
+ default y
+
+choice
+ prompt "Select your board"
+
+config MACH_X86_GENERIC
+ bool "Generic x86"
+ select X86_BOOTLOADER
+ help
+ Say Y here if you want barebox to be your BIOS based bootloader
+
+endchoice
+
+choice
+ prompt "Bring up type"
+
+ config X86_BIOS_BRINGUP
+ prompt "16 bit BIOS"
+ bool
+ help
+ Barebox will act as a BIOS based bootloader. This includes
+ some 16 bit real mode code and some restrictions everyone knows
+ from BIOS based systems.
+
+ config X86_NATIVE_BRINGUP
+ bool "native"
+ help
+ Barebox will act as a native bootloader. This includes all the
+ required initialization needed to bring up a piece of hardware.
+ Note: Not implemented yet
+
+endchoice
+
+source arch/x86/boot/Kconfig
+source arch/x86/mach-i386/Kconfig
+
+source common/Kconfig
+source commands/Kconfig
+source net/Kconfig
+source drivers/Kconfig
+source fs/Kconfig
+source lib/Kconfig