summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-07-30 14:08:14 +0900
committerTom Rini <trini@ti.com>2014-07-30 08:48:01 -0400
commitdd84058d24ff54d6b32818ffe44aeb4bba2cfae6 (patch)
tree40ccd709d1c0ada01996d6f5e2d1ad870f70650e /arch
parent0a9064fb47bb0a239c04b0b63edebfdd3a201fdc (diff)
downloadu-boot-dd84058d24ff54d6b32818ffe44aeb4bba2cfae6.tar.gz
u-boot-dd84058d24ff54d6b32818ffe44aeb4bba2cfae6.tar.bz2
u-boot-dd84058d24ff54d6b32818ffe44aeb4bba2cfae6.zip
kconfig: add board Kconfig and defconfig files
This commit adds: - arch/${ARCH}/Kconfig provide a menu to select target boards - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig set CONFIG macros to the appropriate values for each board - configs/${TARGET_BOARD}_defconfig default setting of each board (This commit was automatically generated by a conversion script based on boards.cfg) In Linux Kernel, defconfig files are located under arch/${ARCH}/configs/ directory. It works in Linux Kernel since ARCH is always given from the command line for cross compile. But in U-Boot, ARCH is not given from the command line. Which means we cannot know ARCH until the board configuration is done. That is why all the "*_defconfig" files should be gathered into a single directory ./configs/. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arc/Kconfig29
-rw-r--r--arch/arm/Kconfig1002
-rw-r--r--arch/avr32/Kconfig51
-rw-r--r--arch/blackfin/Kconfig150
-rw-r--r--arch/m68k/Kconfig98
-rw-r--r--arch/microblaze/Kconfig18
-rw-r--r--arch/mips/Kconfig37
-rw-r--r--arch/nds32/Kconfig26
-rw-r--r--arch/nios2/Kconfig26
-rw-r--r--arch/openrisc/Kconfig18
-rw-r--r--arch/powerpc/Kconfig58
-rw-r--r--arch/powerpc/cpu/74xx_7xx/Kconfig49
-rw-r--r--arch/powerpc/cpu/mpc512x/Kconfig34
-rw-r--r--arch/powerpc/cpu/mpc5xx/Kconfig22
-rw-r--r--arch/powerpc/cpu/mpc5xxx/Kconfig154
-rw-r--r--arch/powerpc/cpu/mpc824x/Kconfig49
-rw-r--r--arch/powerpc/cpu/mpc8260/Kconfig94
-rw-r--r--arch/powerpc/cpu/mpc83xx/Kconfig100
-rw-r--r--arch/powerpc/cpu/mpc85xx/Kconfig190
-rw-r--r--arch/powerpc/cpu/mpc86xx/Kconfig30
-rw-r--r--arch/powerpc/cpu/mpc8xx/Kconfig160
-rw-r--r--arch/powerpc/cpu/ppc4xx/Kconfig322
-rw-r--r--arch/sandbox/Kconfig16
-rw-r--r--arch/sh/Kconfig98
-rw-r--r--arch/sparc/Kconfig34
-rw-r--r--arch/x86/Kconfig18
26 files changed, 2883 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
new file mode 100644
index 0000000000..51d5aff08e
--- /dev/null
+++ b/arch/arc/Kconfig
@@ -0,0 +1,29 @@
+menu "ARC architecture"
+ depends on ARC
+
+config SYS_ARCH
+ string
+ default "arc"
+
+choice
+ prompt "Target select"
+
+config TARGET_TB100
+ bool "Support tb100"
+
+config TARGET_ARCANGEL4
+ bool "Support arcangel4"
+
+config TARGET_ARCANGEL4_BE
+ bool "Support arcangel4-be"
+
+config TARGET_AXS101
+ bool "Support axs101"
+
+endchoice
+
+source "board/abilis/tb100/Kconfig"
+source "board/synopsys/Kconfig"
+source "board/synopsys/axs101/Kconfig"
+
+endmenu
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
new file mode 100644
index 0000000000..e385eda94c
--- /dev/null
+++ b/arch/arm/Kconfig
@@ -0,0 +1,1002 @@
+menu "ARM architecture"
+ depends on ARM
+
+config SYS_ARCH
+ string
+ default "arm"
+
+choice
+ prompt "Target select"
+
+config TARGET_INTEGRATORAP_CM720T
+ bool "Support integratorap_cm720t"
+
+config TARGET_INTEGRATORAP_CM920T
+ bool "Support integratorap_cm920t"
+
+config TARGET_INTEGRATORCP_CM920T
+ bool "Support integratorcp_cm920t"
+
+config TARGET_A320EVB
+ bool "Support a320evb"
+
+config TARGET_AT91RM9200EK
+ bool "Support at91rm9200ek"
+
+config TARGET_EB_CPUX9K2
+ bool "Support eb_cpux9k2"
+
+config TARGET_CPUAT91
+ bool "Support cpuat91"
+
+config TARGET_EDB93XX
+ bool "Support edb93xx"
+
+config TARGET_SCB9328
+ bool "Support scb9328"
+
+config TARGET_CM4008
+ bool "Support cm4008"
+
+config TARGET_CM41XX
+ bool "Support cm41xx"
+
+config TARGET_VCMA9
+ bool "Support VCMA9"
+
+config TARGET_SMDK2410
+ bool "Support smdk2410"
+
+config TARGET_INTEGRATORAP_CM926EJS
+ bool "Support integratorap_cm926ejs"
+
+config TARGET_INTEGRATORCP_CM926EJS
+ bool "Support integratorcp_cm926ejs"
+
+config TARGET_ASPENITE
+ bool "Support aspenite"
+
+config TARGET_GPLUGD
+ bool "Support gplugd"
+
+config TARGET_AFEB9260
+ bool "Support afeb9260"
+
+config TARGET_AT91SAM9260EK
+ bool "Support at91sam9260ek"
+
+config TARGET_AT91SAM9261EK
+ bool "Support at91sam9261ek"
+
+config TARGET_AT91SAM9263EK
+ bool "Support at91sam9263ek"
+
+config TARGET_AT91SAM9M10G45EK
+ bool "Support at91sam9m10g45ek"
+
+config TARGET_AT91SAM9N12EK
+ bool "Support at91sam9n12ek"
+
+config TARGET_AT91SAM9RLEK
+ bool "Support at91sam9rlek"
+
+config TARGET_AT91SAM9X5EK
+ bool "Support at91sam9x5ek"
+
+config TARGET_SNAPPER9260
+ bool "Support snapper9260"
+
+config TARGET_VL_MA2SC
+ bool "Support vl_ma2sc"
+
+config TARGET_SBC35_A9G20
+ bool "Support sbc35_a9g20"
+
+config TARGET_TNY_A9260
+ bool "Support tny_a9260"
+
+config TARGET_USB_A9263
+ bool "Support usb_a9263"
+
+config TARGET_ETHERNUT5
+ bool "Support ethernut5"
+
+config TARGET_TOP9000
+ bool "Support top9000"
+
+config TARGET_MEESC
+ bool "Support meesc"
+
+config TARGET_OTC570
+ bool "Support otc570"
+
+config TARGET_CPU9260
+ bool "Support cpu9260"
+
+config TARGET_PM9261
+ bool "Support pm9261"
+
+config TARGET_PM9263
+ bool "Support pm9263"
+
+config TARGET_PM9G45
+ bool "Support pm9g45"
+
+config TARGET_CORVUS
+ bool "Support corvus"
+
+config TARGET_TAURUS
+ bool "Support taurus"
+
+config TARGET_STAMP9G20
+ bool "Support stamp9g20"
+
+config TARGET_CAM_ENC_4XX
+ bool "Support cam_enc_4xx"
+
+config TARGET_IPAM390
+ bool "Support ipam390"
+
+config TARGET_DA830EVM
+ bool "Support da830evm"
+
+config TARGET_DA850EVM
+ bool "Support da850evm"
+
+config TARGET_HAWKBOARD
+ bool "Support hawkboard"
+
+config TARGET_DAVINCI_DM355EVM
+ bool "Support davinci_dm355evm"
+
+config TARGET_DAVINCI_DM355LEOPARD
+ bool "Support davinci_dm355leopard"
+
+config TARGET_DAVINCI_DM365EVM
+ bool "Support davinci_dm365evm"
+
+config TARGET_DAVINCI_DM6467EVM
+ bool "Support davinci_dm6467evm"
+
+config TARGET_DAVINCI_DVEVM
+ bool "Support davinci_dvevm"
+
+config TARGET_EA20
+ bool "Support ea20"
+
+config TARGET_DAVINCI_SCHMOOGIE
+ bool "Support davinci_schmoogie"
+
+config TARGET_DAVINCI_SFFSDR
+ bool "Support davinci_sffsdr"
+
+config TARGET_DAVINCI_SONATA
+ bool "Support davinci_sonata"
+
+config TARGET_ENBW_CMC
+ bool "Support enbw_cmc"
+
+config TARGET_CALIMAIN
+ bool "Support calimain"
+
+config TARGET_LSXL
+ bool "Support lsxl"
+
+config TARGET_POGO_E02
+ bool "Support pogo_e02"
+
+config TARGET_DNS325
+ bool "Support dns325"
+
+config TARGET_ICONNECT
+ bool "Support iconnect"
+
+config TARGET_TK71
+ bool "Support tk71"
+
+config TARGET_KM_KIRKWOOD
+ bool "Support km_kirkwood"
+
+config TARGET_NET2BIG_V2
+ bool "Support net2big_v2"
+
+config TARGET_NETSPACE_V2
+ bool "Support netspace_v2"
+
+config TARGET_WIRELESS_SPACE
+ bool "Support wireless_space"
+
+config TARGET_DREAMPLUG
+ bool "Support dreamplug"
+
+config TARGET_GURUPLUG
+ bool "Support guruplug"
+
+config TARGET_MV88F6281GTW_GE
+ bool "Support mv88f6281gtw_ge"
+
+config TARGET_OPENRD
+ bool "Support openrd"
+
+config TARGET_RD6281A
+ bool "Support rd6281a"
+
+config TARGET_SHEEVAPLUG
+ bool "Support sheevaplug"
+
+config TARGET_IB62X0
+ bool "Support ib62x0"
+
+config TARGET_DOCKSTAR
+ bool "Support dockstar"
+
+config TARGET_GOFLEXHOME
+ bool "Support goflexhome"
+
+config TARGET_DEVKIT3250
+ bool "Support devkit3250"
+
+config TARGET_JADECPU
+ bool "Support jadecpu"
+
+config TARGET_MX25PDK
+ bool "Support mx25pdk"
+
+config TARGET_TX25
+ bool "Support tx25"
+
+config TARGET_ZMX25
+ bool "Support zmx25"
+
+config TARGET_APF27
+ bool "Support apf27"
+
+config TARGET_IMX27LITE
+ bool "Support imx27lite"
+
+config TARGET_MAGNESIUM
+ bool "Support magnesium"
+
+config TARGET_APX4DEVKIT
+ bool "Support apx4devkit"
+
+config TARGET_XFI3
+ bool "Support xfi3"
+
+config TARGET_M28EVK
+ bool "Support m28evk"
+
+config TARGET_MX23EVK
+ bool "Support mx23evk"
+
+config TARGET_MX28EVK
+ bool "Support mx28evk"
+
+config TARGET_MX23_OLINUXINO
+ bool "Support mx23_olinuxino"
+
+config TARGET_BG0900
+ bool "Support bg0900"
+
+config TARGET_SANSA_FUZE_PLUS
+ bool "Support sansa_fuze_plus"
+
+config TARGET_SC_SPS_1
+ bool "Support sc_sps_1"
+
+config TARGET_NHK8815
+ bool "Support nhk8815"
+
+config TARGET_OMAP5912OSK
+ bool "Support omap5912osk"
+
+config TARGET_EDMINIV2
+ bool "Support edminiv2"
+
+config TARGET_DKB
+ bool "Support dkb"
+
+config TARGET_SPEAR300
+ bool "Support spear300"
+
+config TARGET_SPEAR310
+ bool "Support spear310"
+
+config TARGET_SPEAR320
+ bool "Support spear320"
+
+config TARGET_SPEAR600
+ bool "Support spear600"
+
+config TARGET_X600
+ bool "Support x600"
+
+config TARGET_VERSATILEAB
+ bool "Support versatileab"
+
+config TARGET_VERSATILEPB
+ bool "Support versatilepb"
+
+config TARGET_VERSATILEQEMU
+ bool "Support versatileqemu"
+
+config TARGET_INTEGRATORCP_CM1136
+ bool "Support integratorcp_cm1136"
+
+config TARGET_IMX31_PHYCORE
+ bool "Support imx31_phycore"
+
+config TARGET_QONG
+ bool "Support qong"
+
+config TARGET_MX31ADS
+ bool "Support mx31ads"
+
+config TARGET_MX31PDK
+ bool "Support mx31pdk"
+
+config TARGET_TT01
+ bool "Support tt01"
+
+config TARGET_IMX31_LITEKIT
+ bool "Support imx31_litekit"
+
+config TARGET_WOODBURN
+ bool "Support woodburn"
+
+config TARGET_WOODBURN_SD
+ bool "Support woodburn_sd"
+
+config TARGET_FLEA3
+ bool "Support flea3"
+
+config TARGET_MX35PDK
+ bool "Support mx35pdk"
+
+config TARGET_RPI_B
+ bool "Support rpi_b"
+
+config TARGET_TNETV107X_EVM
+ bool "Support tnetv107x_evm"
+
+config TARGET_INTEGRATORAP_CM946ES
+ bool "Support integratorap_cm946es"
+
+config TARGET_INTEGRATORCP_CM946ES
+ bool "Support integratorcp_cm946es"
+
+config TARGET_VEXPRESS_CA15_TC2
+ bool "Support vexpress_ca15_tc2"
+
+config TARGET_VEXPRESS_CA5X2
+ bool "Support vexpress_ca5x2"
+
+config TARGET_VEXPRESS_CA9X4
+ bool "Support vexpress_ca9x4"
+
+config TARGET_KWB
+ bool "Support kwb"
+
+config TARGET_TSERIES
+ bool "Support tseries"
+
+config TARGET_CM_T335
+ bool "Support cm_t335"
+
+config TARGET_PEPPER
+ bool "Support pepper"
+
+config TARGET_AM335X_IGEP0033
+ bool "Support am335x_igep0033"
+
+config TARGET_PCM051
+ bool "Support pcm051"
+
+config TARGET_DRACO
+ bool "Support draco"
+
+config TARGET_DXR2
+ bool "Support dxr2"
+
+config TARGET_PXM2
+ bool "Support pxm2"
+
+config TARGET_RUT
+ bool "Support rut"
+
+config TARGET_PENGWYN
+ bool "Support pengwyn"
+
+config TARGET_AM335X_EVM
+ bool "Support am335x_evm"
+
+config TARGET_AM43XX_EVM
+ bool "Support am43xx_evm"
+
+config TARGET_TI814X_EVM
+ bool "Support ti814x_evm"
+
+config TARGET_TI816X_EVM
+ bool "Support ti816x_evm"
+
+config TARGET_SAMA5D3_XPLAINED
+ bool "Support sama5d3_xplained"
+
+config TARGET_SAMA5D3XEK
+ bool "Support sama5d3xek"
+
+config TARGET_BCM28155_AP
+ bool "Support bcm28155_ap"
+
+config TARGET_ARNDALE
+ bool "Support arndale"
+
+config TARGET_ORIGEN
+ bool "Support origen"
+
+config TARGET_SMDK5250
+ bool "Support smdk5250"
+
+config TARGET_SNOW
+ bool "Support snow"
+
+config TARGET_PEACH_PIT
+ bool "Support peach-pit"
+
+config TARGET_SMDK5420
+ bool "Support smdk5420"
+
+config TARGET_SMDKV310
+ bool "Support smdkv310"
+
+config TARGET_TRATS
+ bool "Support trats"
+
+config TARGET_TRATS2
+ bool "Support trats2"
+
+config TARGET_S5PC210_UNIVERSAL
+ bool "Support s5pc210_universal"
+
+config TARGET_HIGHBANK
+ bool "Support highbank"
+
+config TARGET_K2E_EVM
+ bool "Support k2e_evm"
+
+config TARGET_K2HK_EVM
+ bool "Support k2hk_evm"
+
+config TARGET_M53EVK
+ bool "Support m53evk"
+
+config TARGET_IMA3_MX53
+ bool "Support ima3-mx53"
+
+config TARGET_MX51EVK
+ bool "Support mx51evk"
+
+config TARGET_MX53ARD
+ bool "Support mx53ard"
+
+config TARGET_MX53EVK
+ bool "Support mx53evk"
+
+config TARGET_MX53LOCO
+ bool "Support mx53loco"
+
+config TARGET_MX53SMD
+ bool "Support mx53smd"
+
+config TARGET_MX51_EFIKAMX
+ bool "Support mx51_efikamx"
+
+config TARGET_VISION2
+ bool "Support vision2"
+
+config TARGET_UDOO
+ bool "Support udoo"
+
+config TARGET_WANDBOARD
+ bool "Support wandboard"
+
+config TARGET_TITANIUM
+ bool "Support titanium"
+
+config TARGET_NITROGEN6X
+ bool "Support nitrogen6x"
+
+config TARGET_CGTQMX6EVAL
+ bool "Support cgtqmx6eval"
+
+config TARGET_EMBESTMX6BOARDS
+ bool "Support embestmx6boards"
+
+config TARGET_MX6QARM2
+ bool "Support mx6qarm2"
+
+config TARGET_MX6QSABREAUTO
+ bool "Support mx6qsabreauto"
+
+config TARGET_MX6SABRESD
+ bool "Support mx6sabresd"
+
+config TARGET_MX6SLEVK
+ bool "Support mx6slevk"
+
+config TARGET_GW_VENTANA
+ bool "Support gw_ventana"
+
+config TARGET_HUMMINGBOARD
+ bool "Support hummingboard"
+
+config TARGET_OMAP3_OVERO
+ bool "Support omap3_overo"
+
+config TARGET_OMAP3_PANDORA
+ bool "Support omap3_pandora"
+
+config TARGET_ECO5PK
+ bool "Support eco5pk"
+
+config TARGET_DIG297
+ bool "Support dig297"
+
+config TARGET_CM_T35
+ bool "Support cm_t35"
+
+config TARGET_TRICORDER
+ bool "Support tricorder"
+
+config TARGET_MCX
+ bool "Support mcx"
+
+config TARGET_OMAP3_IGEP00X0
+ bool "Support omap3_igep00x0"
+
+config TARGET_AM3517_EVM
+ bool "Support am3517_evm"
+
+config TARGET_OMAP3_LOGIC
+ bool "Support omap3_logic"
+
+config TARGET_OMAP3_ZOOM1
+ bool "Support omap3_zoom1"
+
+config TARGET_OMAP3_MVBLX
+ bool "Support omap3_mvblx"
+
+config TARGET_NOKIA_RX51
+ bool "Support nokia_rx51"
+
+config TARGET_TAO3530
+ bool "Support tao3530"
+
+config TARGET_TWISTER
+ bool "Support twister"
+
+config TARGET_MT_VENTOUX
+ bool "Support mt_ventoux"
+
+config TARGET_AM3517_CRANE
+ bool "Support am3517_crane"
+
+config TARGET_OMAP3_BEAGLE
+ bool "Support omap3_beagle"
+
+config TARGET_OMAP3_EVM
+ bool "Support omap3_evm"
+
+config TARGET_OMAP3_EVM_QUICK_MMC
+ bool "Support omap3_evm_quick_mmc"
+
+config TARGET_OMAP3_EVM_QUICK_NAND
+ bool "Support omap3_evm_quick_nand"
+
+config TARGET_OMAP3_SDP3430
+ bool "Support omap3_sdp3430"
+
+config TARGET_DEVKIT8000
+ bool "Support devkit8000"
+
+config TARGET_DUOVERO
+ bool "Support duovero"
+
+config TARGET_OMAP4_PANDA
+ bool "Support omap4_panda"
+
+config TARGET_OMAP4_SDP4430
+ bool "Support omap4_sdp4430"
+
+config TARGET_CM_T54
+ bool "Support cm_t54"
+
+config TARGET_DRA7XX_EVM
+ bool "Support dra7xx_evm"
+
+config TARGET_OMAP5_UEVM
+ bool "Support omap5_uevm"
+
+config TARGET_ARMADILLO_800EVA
+ bool "Support armadillo-800eva"
+
+config TARGET_KZM9G
+ bool "Support kzm9g"
+
+config TARGET_ALT
+ bool "Support alt"
+
+config TARGET_KOELSCH
+ bool "Support koelsch"
+
+config TARGET_LAGER
+ bool "Support lager"
+
+config TARGET_S5P_GONI
+ bool "Support s5p_goni"
+
+config TARGET_SMDKC100
+ bool "Support smdkc100"
+
+config TARGET_SOCFPGA_CYCLONE5
+ bool "Support socfpga_cyclone5"
+
+config TARGET_SUN4I
+ bool "Support sun4i"
+
+config TARGET_SUN5I
+ bool "Support sun5i"
+
+config TARGET_SUN7I
+ bool "Support sun7i"
+
+config TARGET_SNOWBALL
+ bool "Support snowball"
+
+config TARGET_U8500_HREF
+ bool "Support u8500_href"
+
+config TARGET_VF610TWR
+ bool "Support vf610twr"
+
+config TARGET_ZYNQ_MICROZED
+ bool "Support zynq_microzed"
+
+config TARGET_ZYNQ_ZC70X
+ bool "Support zynq_zc70x"
+
+config TARGET_ZYNQ_ZC770
+ bool "Support zynq_zc770"
+
+config TARGET_ZYNQ_ZED
+ bool "Support zynq_zed"
+
+config TARGET_MEDCOM_WIDE
+ bool "Support medcom-wide"
+
+config TARGET_PLUTUX
+ bool "Support plutux"
+
+config TARGET_TEC
+ bool "Support tec"
+
+config TARGET_PAZ00
+ bool "Support paz00"
+
+config TARGET_TRIMSLICE
+ bool "Support trimslice"
+
+config TARGET_HARMONY
+ bool "Support harmony"
+
+config TARGET_SEABOARD
+ bool "Support seaboard"
+
+config TARGET_VENTANA
+ bool "Support ventana"
+
+config TARGET_WHISTLER
+ bool "Support whistler"
+
+config TARGET_COLIBRI_T20_IRIS
+ bool "Support colibri_t20_iris"
+
+config TARGET_TEC_NG
+ bool "Support tec-ng"
+
+config TARGET_BEAVER
+ bool "Support beaver"
+
+config TARGET_CARDHU
+ bool "Support cardhu"
+
+config TARGET_DALMORE
+ bool "Support dalmore"
+
+config TARGET_JETSON_TK1
+ bool "Support jetson-tk1"
+
+config TARGET_VENICE2
+ bool "Support venice2"
+
+config TARGET_VEXPRESS_AEMV8A
+ bool "Support vexpress_aemv8a"
+
+config TARGET_VEXPRESS_AEMV8A_SEMI
+ bool "Support vexpress_aemv8a_semi"
+
+config TARGET_LS2085A_EMU
+ bool "Support ls2085a_emu"
+
+config TARGET_LS2085A_SIMU
+ bool "Support ls2085a_simu"
+
+config TARGET_BALLOON3
+ bool "Support balloon3"
+
+config TARGET_H2200
+ bool "Support h2200"
+
+config TARGET_PALMLD
+ bool "Support palmld"
+
+config TARGET_PALMTC
+ bool "Support palmtc"
+
+config TARGET_PALMTREO680
+ bool "Support palmtreo680"
+
+config TARGET_PXA255_IDP
+ bool "Support pxa255_idp"
+
+config TARGET_TRIZEPSIV
+ bool "Support trizepsiv"
+
+config TARGET_VPAC270
+ bool "Support vpac270"
+
+config TARGET_XAENIAX
+ bool "Support xaeniax"
+
+config TARGET_ZIPITZ2
+ bool "Support zipitz2"
+
+config TARGET_LP8X4X
+ bool "Support lp8x4x"
+
+config TARGET_COLIBRI_PXA270
+ bool "Support colibri_pxa270"
+
+config TARGET_JORNADA
+ bool "Support jornada"
+
+endchoice
+
+source "board/8dtech/eco5pk/Kconfig"
+source "board/Barix/ipam390/Kconfig"
+source "board/BuR/kwb/Kconfig"
+source "board/BuR/tseries/Kconfig"
+source "board/BuS/eb_cpux9k2/Kconfig"
+source "board/BuS/vl_ma2sc/Kconfig"
+source "board/CarMediaLab/flea3/Kconfig"
+source "board/LaCie/edminiv2/Kconfig"
+source "board/LaCie/net2big_v2/Kconfig"
+source "board/LaCie/netspace_v2/Kconfig"
+source "board/LaCie/wireless_space/Kconfig"
+source "board/Marvell/aspenite/Kconfig"
+source "board/Marvell/dkb/Kconfig"
+source "board/Marvell/dreamplug/Kconfig"
+source "board/Marvell/gplugd/Kconfig"
+source "board/Marvell/guruplug/Kconfig"
+source "board/Marvell/mv88f6281gtw_ge/Kconfig"
+source "board/Marvell/openrd/Kconfig"
+source "board/Marvell/rd6281a/Kconfig"
+source "board/Marvell/sheevaplug/Kconfig"
+source "board/Seagate/dockstar/Kconfig"
+source "board/Seagate/goflexhome/Kconfig"
+source "board/afeb9260/Kconfig"
+source "board/ait/cam_enc_4xx/Kconfig"
+source "board/altera/socfpga/Kconfig"
+source "board/armadeus/apf27/Kconfig"
+source "board/armltd/integrator/Kconfig"
+source "board/armltd/versatile/Kconfig"
+source "board/armltd/vexpress/Kconfig"
+source "board/armltd/vexpress64/Kconfig"
+source "board/atmark-techno/armadillo-800eva/Kconfig"
+source "board/atmel/at91rm9200ek/Kconfig"
+source "board/atmel/at91sam9260ek/Kconfig"
+source "board/atmel/at91sam9261ek/Kconfig"
+source "board/atmel/at91sam9263ek/Kconfig"
+source "board/atmel/at91sam9m10g45ek/Kconfig"
+source "board/atmel/at91sam9n12ek/Kconfig"
+source "board/atmel/at91sam9rlek/Kconfig"
+source "board/atmel/at91sam9x5ek/Kconfig"
+source "board/atmel/sama5d3_xplained/Kconfig"
+source "board/atmel/sama5d3xek/Kconfig"
+source "board/avionic-design/medcom-wide/Kconfig"
+source "board/avionic-design/plutux/Kconfig"
+source "board/avionic-design/tec-ng/Kconfig"
+source "board/avionic-design/tec/Kconfig"
+source "board/balloon3/Kconfig"
+source "board/barco/titanium/Kconfig"
+source "board/bluegiga/apx4devkit/Kconfig"
+source "board/bluewater/snapper9260/Kconfig"
+source "board/boundary/nitrogen6x/Kconfig"
+source "board/broadcom/bcm28155_ap/Kconfig"
+source "board/buffalo/lsxl/Kconfig"
+source "board/calao/sbc35_a9g20/Kconfig"
+source "board/calao/tny_a9260/Kconfig"
+source "board/calao/usb_a9263/Kconfig"
+source "board/cirrus/edb93xx/Kconfig"
+source "board/cloudengines/pogo_e02/Kconfig"
+source "board/cm4008/Kconfig"
+source "board/cm41xx/Kconfig"
+source "board/comelit/dig297/Kconfig"
+source "board/compal/paz00/Kconfig"
+source "board/compulab/cm_t335/Kconfig"
+source "board/compulab/cm_t35/Kconfig"
+source "board/compulab/cm_t54/Kconfig"
+source "board/compulab/trimslice/Kconfig"
+source "board/congatec/cgtqmx6eval/Kconfig"
+source "board/corscience/tricorder/Kconfig"
+source "board/creative/xfi3/Kconfig"
+source "board/d-link/dns325/Kconfig"
+source "board/davedenx/qong/Kconfig"
+source "board/davinci/da8xxevm/Kconfig"
+source "board/davinci/dm355evm/Kconfig"
+source "board/davinci/dm355leopard/Kconfig"
+source "board/davinci/dm365evm/Kconfig"
+source "board/davinci/dm6467evm/Kconfig"
+source "board/davinci/dvevm/Kconfig"
+source "board/davinci/ea20/Kconfig"
+source "board/davinci/schmoogie/Kconfig"
+source "board/davinci/sffsdr/Kconfig"
+source "board/davinci/sonata/Kconfig"
+source "board/denx/m28evk/Kconfig"
+source "board/denx/m53evk/Kconfig"
+source "board/egnite/ethernut5/Kconfig"
+source "board/embest/mx6boards/Kconfig"
+source "board/emk/top9000/Kconfig"
+source "board/enbw/enbw_cmc/Kconfig"
+source "board/esd/meesc/Kconfig"
+source "board/esd/otc570/Kconfig"
+source "board/esg/ima3-mx53/Kconfig"
+source "board/eukrea/cpu9260/Kconfig"
+source "board/eukrea/cpuat91/Kconfig"
+source "board/faraday/a320evb/Kconfig"
+source "board/freescale/ls2085a/Kconfig"
+source "board/freescale/mx23evk/Kconfig"
+source "board/freescale/mx25pdk/Kconfig"
+source "board/freescale/mx28evk/Kconfig"
+source "board/freescale/mx31ads/Kconfig"
+source "board/freescale/mx31pdk/Kconfig"
+source "board/freescale/mx35pdk/Kconfig"
+source "board/freescale/mx51evk/Kconfig"
+source "board/freescale/mx53ard/Kconfig"
+source "board/freescale/mx53evk/Kconfig"
+source "board/freescale/mx53loco/Kconfig"
+source "board/freescale/mx53smd/Kconfig"
+source "board/freescale/mx6qarm2/Kconfig"
+source "board/freescale/mx6qsabreauto/Kconfig"
+source "board/freescale/mx6sabresd/Kconfig"
+source "board/freescale/mx6slevk/Kconfig"
+source "board/freescale/vf610twr/Kconfig"
+source "board/gateworks/gw_ventana/Kconfig"
+source "board/genesi/mx51_efikamx/Kconfig"
+source "board/gumstix/duovero/Kconfig"
+source "board/gumstix/pepper/Kconfig"
+source "board/h2200/Kconfig"
+source "board/hale/tt01/Kconfig"
+source "board/highbank/Kconfig"
+source "board/htkw/mcx/Kconfig"
+source "board/icpdas/lp8x4x/Kconfig"
+source "board/imx31_phycore/Kconfig"
+source "board/iomega/iconnect/Kconfig"
+source "board/isee/igep0033/Kconfig"
+source "board/isee/igep00x0/Kconfig"
+source "board/jornada/Kconfig"
+source "board/karo/tk71/Kconfig"
+source "board/karo/tx25/Kconfig"
+source "board/keymile/km_arm/Kconfig"
+source "board/kmc/kzm9g/Kconfig"
+source "board/logicpd/am3517evm/Kconfig"
+source "board/logicpd/imx27lite/Kconfig"
+source "board/logicpd/imx31_litekit/Kconfig"
+source "board/logicpd/omap3som/Kconfig"
+source "board/logicpd/zoom1/Kconfig"
+source "board/matrix_vision/mvblx/Kconfig"
+source "board/mpl/vcma9/Kconfig"
+source "board/nokia/rx51/Kconfig"
+source "board/nvidia/beaver/Kconfig"
+source "board/nvidia/cardhu/Kconfig"
+source "board/nvidia/dalmore/Kconfig"
+source "board/nvidia/harmony/Kconfig"
+source "board/nvidia/jetson-tk1/Kconfig"
+source "board/nvidia/seaboard/Kconfig"
+source "board/nvidia/venice2/Kconfig"
+source "board/nvidia/ventana/Kconfig"
+source "board/nvidia/whistler/Kconfig"
+source "board/olimex/mx23_olinuxino/Kconfig"
+source "board/omicron/calimain/Kconfig"
+source "board/overo/Kconfig"
+source "board/palmld/Kconfig"
+source "board/palmtc/Kconfig"
+source "board/palmtreo680/Kconfig"
+source "board/pandora/Kconfig"
+source "board/phytec/pcm051/Kconfig"
+source "board/ppcag/bg0900/Kconfig"
+source "board/pxa255_idp/Kconfig"
+source "board/raidsonic/ib62x0/Kconfig"
+source "board/raspberrypi/rpi_b/Kconfig"
+source "board/renesas/alt/Kconfig"
+source "board/renesas/koelsch/Kconfig"
+source "board/renesas/lager/Kconfig"
+source "board/ronetix/pm9261/Kconfig"
+source "board/ronetix/pm9263/Kconfig"
+source "board/ronetix/pm9g45/Kconfig"
+source "board/samsung/arndale/Kconfig"
+source "board/samsung/goni/Kconfig"
+source "board/samsung/origen/Kconfig"
+source "board/samsung/smdk2410/Kconfig"
+source "board/samsung/smdk5250/Kconfig"
+source "board/samsung/smdk5420/Kconfig"
+source "board/samsung/smdkc100/Kconfig"
+source "board/samsung/smdkv310/Kconfig"
+source "board/samsung/trats/Kconfig"
+source "board/samsung/trats2/Kconfig"
+source "board/samsung/universal_c210/Kconfig"
+source "board/sandisk/sansa_fuze_plus/Kconfig"
+source "board/scb9328/Kconfig"
+source "board/schulercontrol/sc_sps_1/Kconfig"
+source "board/siemens/corvus/Kconfig"
+source "board/siemens/draco/Kconfig"
+source "board/siemens/pxm2/Kconfig"
+source "board/siemens/rut/Kconfig"
+source "board/siemens/taurus/Kconfig"
+source "board/silica/pengwyn/Kconfig"
+source "board/solidrun/hummingboard/Kconfig"
+source "board/spear/spear300/Kconfig"
+source "board/spear/spear310/Kconfig"
+source "board/spear/spear320/Kconfig"
+source "board/spear/spear600/Kconfig"
+source "board/spear/x600/Kconfig"
+source "board/st-ericsson/snowball/Kconfig"
+source "board/st-ericsson/u8500/Kconfig"
+source "board/st/nhk8815/Kconfig"
+source "board/sunxi/Kconfig"
+source "board/syteco/jadecpu/Kconfig"
+source "board/syteco/zmx25/Kconfig"
+source "board/taskit/stamp9g20/Kconfig"
+source "board/technexion/tao3530/Kconfig"
+source "board/technexion/twister/Kconfig"
+source "board/teejet/mt_ventoux/Kconfig"
+source "board/ti/am335x/Kconfig"
+source "board/ti/am3517crane/Kconfig"
+source "board/ti/am43xx/Kconfig"
+source "board/ti/beagle/Kconfig"
+source "board/ti/dra7xx/Kconfig"
+source "board/ti/evm/Kconfig"
+source "board/ti/ks2_evm/Kconfig"
+source "board/ti/omap5912osk/Kconfig"
+source "board/ti/omap5_uevm/Kconfig"
+source "board/ti/panda/Kconfig"
+source "board/ti/sdp3430/Kconfig"
+source "board/ti/sdp4430/Kconfig"
+source "board/ti/ti814x/Kconfig"
+source "board/ti/ti816x/Kconfig"
+source "board/ti/tnetv107xevm/Kconfig"
+source "board/timll/devkit3250/Kconfig"
+source "board/timll/devkit8000/Kconfig"
+source "board/toradex/colibri_pxa270/Kconfig"
+source "board/toradex/colibri_t20_iris/Kconfig"
+source "board/trizepsiv/Kconfig"
+source "board/ttcontrol/vision2/Kconfig"
+source "board/udoo/Kconfig"
+source "board/vpac270/Kconfig"
+source "board/wandboard/Kconfig"
+source "board/woodburn/Kconfig"
+source "board/xaeniax/Kconfig"
+source "board/xilinx/zynq/Kconfig"
+source "board/zipitz2/Kconfig"
+
+endmenu
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
new file mode 100644
index 0000000000..46337aea55
--- /dev/null
+++ b/arch/avr32/Kconfig
@@ -0,0 +1,51 @@
+menu "AVR32 architecture"
+ depends on AVR32
+
+config SYS_ARCH
+ string
+ default "avr32"
+
+choice
+ prompt "Target select"
+
+config TARGET_ATNGW100
+ bool "Support atngw100"
+
+config TARGET_ATNGW100MKII
+ bool "Support atngw100mkii"
+
+config TARGET_ATSTK1002
+ bool "Support atstk1002"
+
+config TARGET_ATSTK1003
+ bool "Support atstk1003"
+
+config TARGET_ATSTK1004
+ bool "Support atstk1004"
+
+config TARGET_ATSTK1006
+ bool "Support atstk1006"
+
+config TARGET_FAVR_32_EZKIT
+ bool "Support favr-32-ezkit"
+
+config TARGET_GRASSHOPPER
+ bool "Support grasshopper"
+
+config TARGET_MIMC200
+ bool "Support mimc200"
+
+config TARGET_HAMMERHEAD
+ bool "Support hammerhead"
+
+endchoice
+
+source "board/atmel/atngw100/Kconfig"
+source "board/atmel/atngw100mkii/Kconfig"
+source "board/atmel/atstk1000/Kconfig"
+source "board/earthlcd/favr-32-ezkit/Kconfig"
+source "board/in-circuit/grasshopper/Kconfig"
+source "board/mimc/mimc200/Kconfig"
+source "board/miromico/hammerhead/Kconfig"
+
+endmenu
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig
new file mode 100644
index 0000000000..bb8a133059
--- /dev/null
+++ b/arch/blackfin/Kconfig
@@ -0,0 +1,150 @@
+menu "Blackfin architecture"
+ depends on BLACKFIN
+
+config SYS_ARCH
+ string
+ default "blackfin"
+
+choice
+ prompt "Target select"
+
+config TARGET_BCT_BRETTL2
+ bool "Support bct-brettl2"
+
+config TARGET_BF506F_EZKIT
+ bool "Support bf506f-ezkit"
+
+config TARGET_BF518F_EZBRD
+ bool "Support bf518f-ezbrd"
+
+config TARGET_BF525_UCR2
+ bool "Support bf525-ucr2"
+
+config TARGET_BF526_EZBRD
+ bool "Support bf526-ezbrd"
+
+config TARGET_BF527_AD7160_EVAL
+ bool "Support bf527-ad7160-eval"
+
+config TARGET_BF527_EZKIT
+ bool "Support bf527-ezkit"
+
+config TARGET_BF527_SDP
+ bool "Support bf527-sdp"
+
+config TARGET_BF533_EZKIT
+ bool "Support bf533-ezkit"
+
+config TARGET_BF533_STAMP
+ bool "Support bf533-stamp"
+
+config TARGET_BF537_MINOTAUR
+ bool "Support bf537-minotaur"
+
+config TARGET_BF537_PNAV
+ bool "Support bf537-pnav"
+
+config TARGET_BF537_SRV1
+ bool "Support bf537-srv1"
+
+config TARGET_BF537_STAMP
+ bool "Support bf537-stamp"
+
+config TARGET_BF538F_EZKIT
+ bool "Support bf538f-ezkit"
+
+config TARGET_BF548_EZKIT
+ bool "Support bf548-ezkit"
+
+config TARGET_BF561_ACVILON
+ bool "Support bf561-acvilon"
+
+config TARGET_BF561_EZKIT
+ bool "Support bf561-ezkit"
+
+config TARGET_BF609_EZKIT
+ bool "Support bf609-ezkit"
+
+config TARGET_BLACKSTAMP
+ bool "Support blackstamp"
+
+config TARGET_BLACKVME
+ bool "Support blackvme"
+
+config TARGET_BR4
+ bool "Support br4"
+
+config TARGET_CM_BF527
+ bool "Support cm-bf527"
+
+config TARGET_CM_BF533
+ bool "Support cm-bf533"
+
+config TARGET_CM_BF537E
+ bool "Support cm-bf537e"
+
+config TARGET_CM_BF537U
+ bool "Support cm-bf537u"
+
+config TARGET_CM_BF548
+ bool "Support cm-bf548"
+
+config TARGET_CM_BF561
+ bool "Support cm-bf561"
+
+config TARGET_DNP5370
+ bool "Support dnp5370"
+
+config TARGET_IBF_DSP561
+ bool "Support ibf-dsp561"
+
+config TARGET_IP04
+ bool "Support ip04"
+
+config TARGET_PR1
+ bool "Support pr1"
+
+config TARGET_TCM_BF518
+ bool "Support tcm-bf518"
+
+config TARGET_TCM_BF537
+ bool "Support tcm-bf537"
+
+endchoice
+
+source "board/bct-brettl2/Kconfig"
+source "board/bf506f-ezkit/Kconfig"
+source "board/bf518f-ezbrd/Kconfig"
+source "board/bf525-ucr2/Kconfig"
+source "board/bf526-ezbrd/Kconfig"
+source "board/bf527-ad7160-eval/Kconfig"
+source "board/bf527-ezkit/Kconfig"
+source "board/bf527-sdp/Kconfig"
+source "board/bf533-ezkit/Kconfig"
+source "board/bf533-stamp/Kconfig"
+source "board/bf537-minotaur/Kconfig"
+source "board/bf537-pnav/Kconfig"
+source "board/bf537-srv1/Kconfig"
+source "board/bf537-stamp/Kconfig"
+source "board/bf538f-ezkit/Kconfig"
+source "board/bf548-ezkit/Kconfig"
+source "board/bf561-acvilon/Kconfig"
+source "board/bf561-ezkit/Kconfig"
+source "board/bf609-ezkit/Kconfig"
+source "board/blackstamp/Kconfig"
+source "board/blackvme/Kconfig"
+source "board/br4/Kconfig"
+source "board/cm-bf527/Kconfig"
+source "board/cm-bf533/Kconfig"
+source "board/cm-bf537e/Kconfig"
+source "board/cm-bf537u/Kconfig"
+source "board/cm-bf548/Kconfig"
+source "board/cm-bf561/Kconfig"
+source "board/dnp5370/Kconfig"
+source "board/ibf-dsp561/Kconfig"
+source "board/ip04/Kconfig"
+source "board/pr1/Kconfig"
+source "board/tcm-bf518/Kconfig"
+source "board/tcm-bf537/Kconfig"
+
+endmenu
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
new file mode 100644
index 0000000000..6cda7db699
--- /dev/null
+++ b/arch/m68k/Kconfig
@@ -0,0 +1,98 @@
+menu "M68000 architecture"
+ depends on M68K
+
+config SYS_ARCH
+ string
+ default "m68k"
+
+choice
+ prompt "Target select"
+
+config TARGET_M52277EVB
+ bool "Support M52277EVB"
+
+config TARGET_M5235EVB
+ bool "Support M5235EVB"
+
+config TARGET_COBRA5272
+ bool "Support cobra5272"
+
+config TARGET_EB_CPU5282
+ bool "Support eb_cpu5282"
+
+config TARGET_TASREG
+ bool "Support TASREG"
+
+config TARGET_M5208EVBE
+ bool "Support M5208EVBE"
+
+config TARGET_M5249EVB
+ bool "Support M5249EVB"
+
+config TARGET_M5253DEMO
+ bool "Support M5253DEMO"
+
+config TARGET_M5253EVBE
+ bool "Support M5253EVBE"
+
+config TARGET_M5272C3
+ bool "Support M5272C3"
+
+config TARGET_M5275EVB
+ bool "Support M5275EVB"
+
+config TARGET_M5282EVB
+ bool "Support M5282EVB"
+
+config TARGET_ASTRO_MCF5373L
+ bool "Support astro_mcf5373l"
+
+config TARGET_M53017EVB
+ bool "Support M53017EVB"
+
+config TARGET_M5329EVB
+ bool "Support M5329EVB"
+
+config TARGET_M5373EVB
+ bool "Support M5373EVB"
+
+config TARGET_M54418TWR
+ bool "Support M54418TWR"
+
+config TARGET_M54451EVB
+ bool "Support M54451EVB"
+
+config TARGET_M54455EVB
+ bool "Support M54455EVB"
+
+config TARGET_M5475EVB
+ bool "Support M5475EVB"
+
+config TARGET_M5485EVB
+ bool "Support M5485EVB"
+
+endchoice
+
+source "board/BuS/eb_cpu5282/Kconfig"
+source "board/astro/mcf5373l/Kconfig"
+source "board/cobra5272/Kconfig"
+source "board/esd/tasreg/Kconfig"
+source "board/freescale/m5208evbe/Kconfig"
+source "board/freescale/m52277evb/Kconfig"
+source "board/freescale/m5235evb/Kconfig"
+source "board/freescale/m5249evb/Kconfig"
+source "board/freescale/m5253demo/Kconfig"
+source "board/freescale/m5253evbe/Kconfig"
+source "board/freescale/m5272c3/Kconfig"
+source "board/freescale/m5275evb/Kconfig"
+source "board/freescale/m5282evb/Kconfig"
+source "board/freescale/m53017evb/Kconfig"
+source "board/freescale/m5329evb/Kconfig"
+source "board/freescale/m5373evb/Kconfig"
+source "board/freescale/m54418twr/Kconfig"
+source "board/freescale/m54451evb/Kconfig"
+source "board/freescale/m54455evb/Kconfig"
+source "board/freescale/m547xevb/Kconfig"
+source "board/freescale/m548xevb/Kconfig"
+
+endmenu
diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig
new file mode 100644
index 0000000000..ddaa45fb66
--- /dev/null
+++ b/arch/microblaze/Kconfig
@@ -0,0 +1,18 @@
+menu "MicroBlaze architecture"
+ depends on MICROBLAZE
+
+config SYS_ARCH
+ string
+ default "microblaze"
+
+choice
+ prompt "Target select"
+
+config TARGET_MICROBLAZE_GENERIC
+ bool "Support microblaze-generic"
+
+endchoice
+
+source "board/xilinx/microblaze-generic/Kconfig"
+
+endmenu
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
new file mode 100644
index 0000000000..5bf0df4ff1
--- /dev/null
+++ b/arch/mips/Kconfig
@@ -0,0 +1,37 @@
+menu "MIPS architecture"
+ depends on MIPS
+
+config SYS_ARCH
+ string
+ default "mips"
+
+choice
+ prompt "Target select"
+
+config TARGET_QEMU_MIPS
+ bool "Support qemu-mips"
+
+config TARGET_MALTA
+ bool "Support malta"
+
+config TARGET_VCT
+ bool "Support vct"
+
+config TARGET_DBAU1X00
+ bool "Support dbau1x00"
+
+config TARGET_PB1X00
+ bool "Support pb1x00"
+
+config TARGET_QEMU_MIPS64
+ bool "Support qemu-mips64"
+
+endchoice
+
+source "board/dbau1x00/Kconfig"
+source "board/imgtec/malta/Kconfig"
+source "board/micronas/vct/Kconfig"
+source "board/pb1x00/Kconfig"
+source "board/qemu-mips/Kconfig"
+
+endmenu
diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig
new file mode 100644
index 0000000000..743a8fe736
--- /dev/null
+++ b/arch/nds32/Kconfig
@@ -0,0 +1,26 @@
+menu "NDS32 architecture"
+ depends on NDS32
+
+config SYS_ARCH
+ string
+ default "nds32"
+
+choice
+ prompt "Target select"
+
+config TARGET_ADP_AG101
+ bool "Support adp-ag101"
+
+config TARGET_ADP_AG101P
+ bool "Support adp-ag101p"
+
+config TARGET_ADP_AG102
+ bool "Support adp-ag102"
+
+endchoice
+
+source "board/AndesTech/adp-ag101/Kconfig"
+source "board/AndesTech/adp-ag101p/Kconfig"
+source "board/AndesTech/adp-ag102/Kconfig"
+
+endmenu
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig
new file mode 100644
index 0000000000..b70364680b
--- /dev/null
+++ b/arch/nios2/Kconfig
@@ -0,0 +1,26 @@
+menu "Nios II architecture"
+ depends on NIOS2
+
+config SYS_ARCH
+ string
+ default "nios2"
+
+choice
+ prompt "Target select"
+
+config TARGET_NIOS2_GENERIC
+ bool "Support nios2-generic"
+
+config TARGET_PCI5441
+ bool "Support PCI5441"
+
+config TARGET_PK1C20
+ bool "Support PK1C20"
+
+endchoice
+
+source "board/altera/nios2-generic/Kconfig"
+source "board/psyent/pci5441/Kconfig"
+source "board/psyent/pk1c20/Kconfig"
+
+endmenu
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
new file mode 100644
index 0000000000..cc54a2eec1
--- /dev/null
+++ b/arch/openrisc/Kconfig
@@ -0,0 +1,18 @@
+menu "OpenRISC architecture"
+ depends on OPENRISC
+
+config SYS_ARCH
+ string
+ default "openrisc"
+
+choice
+ prompt "Target select"
+
+config TARGET_OPENRISC_GENERIC
+ bool "Support openrisc-generic"
+
+endchoice
+
+source "board/openrisc/openrisc-generic/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
new file mode 100644
index 0000000000..3325af3e5c
--- /dev/null
+++ b/arch/powerpc/Kconfig
@@ -0,0 +1,58 @@
+menu "PowerPC architecture"
+ depends on PPC
+
+config SYS_ARCH
+ string
+ default "powerpc"
+
+choice
+ prompt "CPU select"
+
+config 74xx_7xx
+ bool "74xx"
+
+config MPC512X
+ bool "MPC512X"
+
+config 5xx
+ bool "MPC5xx"
+
+config MPC5xxx
+ bool "MPC5xxx"
+
+config MPC824X
+ bool "MPC824X"
+
+config MPC8260
+ bool "MPC8260"
+
+config MPC83xx
+ bool "MPC83xx"
+
+config MPC85xx
+ bool "MPC85xx"
+
+config MPC86xx
+ bool "MPC86xx"
+
+config 8xx
+ bool "MPC8xx"
+
+config 4xx
+ bool "PPC4xx"
+
+endchoice
+
+source "arch/powerpc/cpu/74xx_7xx/Kconfig"
+source "arch/powerpc/cpu/mpc512x/Kconfig"
+source "arch/powerpc/cpu/mpc5xx/Kconfig"
+source "arch/powerpc/cpu/mpc5xxx/Kconfig"
+source "arch/powerpc/cpu/mpc824x/Kconfig"
+source "arch/powerpc/cpu/mpc8260/Kconfig"
+source "arch/powerpc/cpu/mpc83xx/Kconfig"
+source "arch/powerpc/cpu/mpc85xx/Kconfig"
+source "arch/powerpc/cpu/mpc86xx/Kconfig"
+source "arch/powerpc/cpu/mpc8xx/Kconfig"
+source "arch/powerpc/cpu/ppc4xx/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/74xx_7xx/Kconfig b/arch/powerpc/cpu/74xx_7xx/Kconfig
new file mode 100644
index 0000000000..6ce464da76
--- /dev/null
+++ b/arch/powerpc/cpu/74xx_7xx/Kconfig
@@ -0,0 +1,49 @@
+menu "74xx_7xx CPU"
+ depends on 74xx_7xx
+
+config SYS_CPU
+ string
+ default "74xx_7xx"
+
+choice
+ prompt "Target select"
+
+config TARGET_P3G4
+ bool "Support P3G4"
+
+config TARGET_ZUMA
+ bool "Support ZUMA"
+
+config TARGET_PPMC7XX
+ bool "Support ppmc7xx"
+
+config TARGET_ELPPC
+ bool "Support ELPPC"
+
+config TARGET_CPCI750
+ bool "Support CPCI750"
+
+config TARGET_MPC7448HPC2
+ bool "Support mpc7448hpc2"
+
+config TARGET_DB64360
+ bool "Support DB64360"
+
+config TARGET_DB64460
+ bool "Support DB64460"
+
+config TARGET_P3MX
+ bool "Support p3mx"
+
+endchoice
+
+source "board/Marvell/db64360/Kconfig"
+source "board/Marvell/db64460/Kconfig"
+source "board/eltec/elppc/Kconfig"
+source "board/esd/cpci750/Kconfig"
+source "board/evb64260/Kconfig"
+source "board/freescale/mpc7448hpc2/Kconfig"
+source "board/ppmc7xx/Kconfig"
+source "board/prodrive/p3mx/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/mpc512x/Kconfig b/arch/powerpc/cpu/mpc512x/Kconfig
new file mode 100644
index 0000000000..bfc4eae980
--- /dev/null
+++ b/arch/powerpc/cpu/mpc512x/Kconfig
@@ -0,0 +1,34 @@
+menu "mpc512x CPU"
+ depends on MPC512X
+
+config SYS_CPU
+ string
+ default "mpc512x"
+
+choice
+ prompt "Target select"
+
+config TARGET_PDM360NG
+ bool "Support pdm360ng"
+
+config TARGET_ARIA
+ bool "Support aria"
+
+config TARGET_MECP5123
+ bool "Support mecp5123"
+
+config TARGET_MPC5121ADS
+ bool "Support mpc5121ads"
+
+config TARGET_AC14XX
+ bool "Support ac14xx"
+
+endchoice
+
+source "board/davedenx/aria/Kconfig"
+source "board/esd/mecp5123/Kconfig"
+source "board/freescale/mpc5121ads/Kconfig"
+source "board/ifm/ac14xx/Kconfig"
+source "board/pdm360ng/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/mpc5xx/Kconfig b/arch/powerpc/cpu/mpc5xx/Kconfig
new file mode 100644
index 0000000000..79579d7683
--- /dev/null
+++ b/arch/powerpc/cpu/mpc5xx/Kconfig
@@ -0,0 +1,22 @@
+menu "mpc5xx CPU"
+ depends on 5xx
+
+config SYS_CPU
+ string
+ default "mpc5xx"
+
+choice
+ prompt "Target select"
+
+config TARGET_CMI_MPC5XX
+ bool "Support cmi_mpc5xx"
+
+config TARGET_PATI
+ bool "Support PATI"
+
+endchoice
+
+source "board/cmi/Kconfig"
+source "board/mpl/pati/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/mpc5xxx/Kconfig b/arch/powerpc/cpu/mpc5xxx/Kconfig
new file mode 100644
index 0000000000..b2f0bad544
--- /dev/null
+++ b/arch/powerpc/cpu/mpc5xxx/Kconfig
@@ -0,0 +1,154 @@
+menu "mpc5xxx CPU"
+ depends on MPC5xxx
+
+config SYS_CPU
+ string
+ default "mpc5xxx"
+
+choice
+ prompt "Target select"
+
+config TARGET_A3M071
+ bool "Support a3m071"
+
+config TARGET_A4M072
+ bool "Support a4m072"
+
+config TARGET_BC3450
+ bool "Support BC3450"
+
+config TARGET_CANMB
+ bool "Support canmb"
+
+config TARGET_CM5200
+ bool "Support cm5200"
+
+config TARGET_GALAXY5200
+ bool "Support galaxy5200"
+
+config TARGET_ICECUBE
+ bool "Support IceCube"
+
+config TARGET_INKA4X0
+ bool "Support inka4x0"
+
+config TARGET_IPEK01
+ bool "Support ipek01"
+
+config TARGET_JUPITER
+ bool "Support jupiter"
+
+config TARGET_MCC200
+ bool "Support mcc200"
+
+config TARGET_MOTIONPRO
+ bool "Support motionpro"
+
+config TARGET_MUNICES
+ bool "Support munices"
+
+config TARGET_PM520
+ bool "Support PM520"
+
+config TARGET_TOTAL5200
+ bool "Support Total5200"
+
+config TARGET_V38B
+ bool "Support v38b"
+
+config TARGET_TOP5200
+ bool "Support TOP5200"
+
+config TARGET_CPCI5200
+ bool "Support cpci5200"
+
+config TARGET_MECP5200
+ bool "Support mecp5200"
+
+config TARGET_PF5200
+ bool "Support pf5200"
+
+config TARGET_O2D
+ bool "Support O2D"
+
+config TARGET_O2D300
+ bool "Support O2D300"
+
+config TARGET_O2DNT2
+ bool "Support O2DNT2"
+
+config TARGET_O2I
+ bool "Support O2I"
+
+config TARGET_O2MNT
+ bool "Support O2MNT"
+
+config TARGET_O3DNT
+ bool "Support O3DNT"
+
+config TARGET_DIGSY_MTC
+ bool "Support digsy_mtc"
+
+config TARGET_HMI1001
+ bool "Support hmi1001"
+
+config TARGET_MUCMC52
+ bool "Support mucmc52"
+
+config TARGET_UC101
+ bool "Support uc101"
+
+config TARGET_MVBC_P
+ bool "Support MVBC_P"
+
+config TARGET_MVSMR
+ bool "Support MVSMR"
+
+config TARGET_PCM030
+ bool "Support pcm030"
+
+config TARGET_AEV
+ bool "Support aev"
+
+config TARGET_CHARON
+ bool "Support charon"
+
+config TARGET_TB5200
+ bool "Support TB5200"
+
+config TARGET_TQM5200
+ bool "Support TQM5200"
+
+endchoice
+
+source "board/a3m071/Kconfig"
+source "board/a4m072/Kconfig"
+source "board/bc3450/Kconfig"
+source "board/canmb/Kconfig"
+source "board/cm5200/Kconfig"
+source "board/emk/top5200/Kconfig"
+source "board/esd/cpci5200/Kconfig"
+source "board/esd/mecp5200/Kconfig"
+source "board/esd/pf5200/Kconfig"
+source "board/galaxy5200/Kconfig"
+source "board/icecube/Kconfig"
+source "board/ifm/o2dnt2/Kconfig"
+source "board/inka4x0/Kconfig"
+source "board/intercontrol/digsy_mtc/Kconfig"
+source "board/ipek01/Kconfig"
+source "board/jupiter/Kconfig"
+source "board/manroland/hmi1001/Kconfig"
+source "board/manroland/mucmc52/Kconfig"
+source "board/manroland/uc101/Kconfig"
+source "board/matrix_vision/mvbc_p/Kconfig"
+source "board/matrix_vision/mvsmr/Kconfig"
+source "board/mcc200/Kconfig"
+source "board/motionpro/Kconfig"
+source "board/munices/Kconfig"
+source "board/phytec/pcm030/Kconfig"
+source "board/pm520/Kconfig"
+source "board/total5200/Kconfig"
+source "board/tqc/tqm5200/Kconfig"
+source "board/v38b/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/mpc824x/Kconfig b/arch/powerpc/cpu/mpc824x/Kconfig
new file mode 100644
index 0000000000..309833f8c8
--- /dev/null
+++ b/arch/powerpc/cpu/mpc824x/Kconfig
@@ -0,0 +1,49 @@
+menu "mpc824x CPU"
+ depends on MPC824X
+
+config SYS_CPU
+ string
+ default "mpc824x"
+
+choice
+ prompt "Target select"
+
+config TARGET_A3000
+ bool "Support A3000"
+
+config TARGET_CPC45
+ bool "Support CPC45"
+
+config TARGET_CU824
+ bool "Support CU824"
+
+config TARGET_EXALION
+ bool "Support eXalion"
+
+config TARGET_MUSENKI
+ bool "Support MUSENKI"
+
+config TARGET_MVBLUE
+ bool "Support MVBLUE"
+
+config TARGET_SANDPOINT8240
+ bool "Support Sandpoint8240"
+
+config TARGET_SANDPOINT8245
+ bool "Support Sandpoint8245"
+
+config TARGET_UTX8245
+ bool "Support utx8245"
+
+endchoice
+
+source "board/a3000/Kconfig"
+source "board/cpc45/Kconfig"
+source "board/cu824/Kconfig"
+source "board/eXalion/Kconfig"
+source "board/musenki/Kconfig"
+source "board/mvblue/Kconfig"
+source "board/sandpoint/Kconfig"
+source "board/utx8245/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/mpc8260/Kconfig b/arch/powerpc/cpu/mpc8260/Kconfig
new file mode 100644
index 0000000000..1a8707de3b
--- /dev/null
+++ b/arch/powerpc/cpu/mpc8260/Kconfig
@@ -0,0 +1,94 @@
+menu "mpc8260 CPU"
+ depends on MPC8260
+
+config SYS_CPU
+ string
+ default "mpc8260"
+
+choice
+ prompt "Target select"
+
+config TARGET_ATC
+ bool "Support atc"
+
+config TARGET_COGENT_MPC8260
+ bool "Support cogent_mpc8260"
+
+config TARGET_CPU86
+ bool "Support CPU86"
+
+config TARGET_CPU87
+ bool "Support CPU87"
+
+config TARGET_EP8260
+ bool "Support ep8260"
+
+config TARGET_EP82XXM
+ bool "Support ep82xxm"
+
+config TARGET_GW8260
+ bool "Support gw8260"
+
+config TARGET_HYMOD
+ bool "Support hymod"
+
+config TARGET_IPHASE4539
+ bool "Support IPHASE4539"
+
+config TARGET_MUAS3001
+ bool "Support muas3001"
+
+config TARGET_PM826
+ bool "Support PM826"
+
+config TARGET_PM828
+ bool "Support PM828"
+
+config TARGET_PPMC8260
+ bool "Support ppmc8260"
+
+config TARGET_SACSNG
+ bool "Support sacsng"
+
+config TARGET_MPC8266ADS
+ bool "Support MPC8266ADS"
+
+config TARGET_VOVPN_GW
+ bool "Support VoVPN-GW"
+
+config TARGET_IDS8247
+ bool "Support IDS8247"
+
+config TARGET_KM82XX
+ bool "Support km82xx"
+
+config TARGET_TQM8260
+ bool "Support TQM8260"
+
+config TARGET_TQM8272
+ bool "Support TQM8272"
+
+endchoice
+
+source "board/atc/Kconfig"
+source "board/cogent/Kconfig"
+source "board/cpu86/Kconfig"
+source "board/cpu87/Kconfig"
+source "board/ep8260/Kconfig"
+source "board/ep82xxm/Kconfig"
+source "board/freescale/mpc8266ads/Kconfig"
+source "board/funkwerk/vovpn-gw/Kconfig"
+source "board/gw8260/Kconfig"
+source "board/hymod/Kconfig"
+source "board/ids/ids8247/Kconfig"
+source "board/iphase4539/Kconfig"
+source "board/keymile/km82xx/Kconfig"
+source "board/muas3001/Kconfig"
+source "board/pm826/Kconfig"
+source "board/pm828/Kconfig"
+source "board/ppmc8260/Kconfig"
+source "board/sacsng/Kconfig"
+source "board/tqc/tqm8260/Kconfig"
+source "board/tqc/tqm8272/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/mpc83xx/Kconfig b/arch/powerpc/cpu/mpc83xx/Kconfig
new file mode 100644
index 0000000000..5fd33934b3
--- /dev/null
+++ b/arch/powerpc/cpu/mpc83xx/Kconfig
@@ -0,0 +1,100 @@
+menu "mpc83xx CPU"
+ depends on MPC83xx
+
+config SYS_CPU
+ string
+ default "mpc83xx"
+
+choice
+ prompt "Target select"
+
+config TARGET_MPC8308_P1M
+ bool "Support mpc8308_p1m"
+
+config TARGET_SBC8349
+ bool "Support sbc8349"
+
+config TARGET_VE8313
+ bool "Support ve8313"
+
+config TARGET_VME8349
+ bool "Support vme8349"
+
+config TARGET_MPC8308RDB
+ bool "Support MPC8308RDB"
+
+config TARGET_MPC8313ERDB
+ bool "Support MPC8313ERDB"
+
+config TARGET_MPC8315ERDB
+ bool "Support MPC8315ERDB"
+
+config TARGET_MPC8323ERDB
+ bool "Support MPC8323ERDB"
+
+config TARGET_MPC832XEMDS
+ bool "Support MPC832XEMDS"
+
+config TARGET_MPC8349EMDS
+ bool "Support MPC8349EMDS"
+
+config TARGET_MPC8349ITX
+ bool "Support MPC8349ITX"
+
+config TARGET_MPC8360EMDS
+ bool "Support MPC8360EMDS"
+
+config TARGET_MPC8360ERDK
+ bool "Support MPC8360ERDK"
+
+config TARGET_MPC837XEMDS
+ bool "Support MPC837XEMDS"
+
+config TARGET_MPC837XERDB
+ bool "Support MPC837XERDB"
+
+config TARGET_IDS8313
+ bool "Support ids8313"
+
+config TARGET_KM8360
+ bool "Support km8360"
+
+config TARGET_SUVD3
+ bool "Support suvd3"
+
+config TARGET_TUXX1
+ bool "Support tuxx1"
+
+config TARGET_MERGERBOX
+ bool "Support MERGERBOX"
+
+config TARGET_MVBLM7
+ bool "Support MVBLM7"
+
+config TARGET_TQM834X
+ bool "Support TQM834x"
+
+endchoice
+
+source "board/esd/vme8349/Kconfig"
+source "board/freescale/mpc8308rdb/Kconfig"
+source "board/freescale/mpc8313erdb/Kconfig"
+source "board/freescale/mpc8315erdb/Kconfig"
+source "board/freescale/mpc8323erdb/Kconfig"
+source "board/freescale/mpc832xemds/Kconfig"
+source "board/freescale/mpc8349emds/Kconfig"
+source "board/freescale/mpc8349itx/Kconfig"
+source "board/freescale/mpc8360emds/Kconfig"
+source "board/freescale/mpc8360erdk/Kconfig"
+source "board/freescale/mpc837xemds/Kconfig"
+source "board/freescale/mpc837xerdb/Kconfig"
+source "board/ids/ids8313/Kconfig"
+source "board/keymile/km83xx/Kconfig"
+source "board/matrix_vision/mergerbox/Kconfig"
+source "board/matrix_vision/mvblm7/Kconfig"
+source "board/mpc8308_p1m/Kconfig"
+source "board/sbc8349/Kconfig"
+source "board/tqc/tqm834x/Kconfig"
+source "board/ve8313/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/mpc85xx/Kconfig b/arch/powerpc/cpu/mpc85xx/Kconfig
new file mode 100644
index 0000000000..0f703804da
--- /dev/null
+++ b/arch/powerpc/cpu/mpc85xx/Kconfig
@@ -0,0 +1,190 @@
+menu "mpc85xx CPU"
+ depends on MPC85xx
+
+config SYS_CPU
+ string
+ default "mpc85xx"
+
+choice
+ prompt "Target select"
+
+config TARGET_SBC8548
+ bool "Support sbc8548"
+
+config TARGET_SOCRATES
+ bool "Support socrates"
+
+config TARGET_HWW1U1A
+ bool "Support HWW1U1A"
+
+config TARGET_B4860QDS
+ bool "Support B4860QDS"
+
+config TARGET_BSC9131RDB
+ bool "Support BSC9131RDB"
+
+config TARGET_BSC9132QDS
+ bool "Support BSC9132QDS"
+
+config TARGET_C29XPCIE
+ bool "Support C29XPCIE"
+
+config TARGET_P3041DS
+ bool "Support P3041DS"
+
+config TARGET_P4080DS
+ bool "Support P4080DS"
+
+config TARGET_P5020DS
+ bool "Support P5020DS"
+
+config TARGET_P5040DS
+ bool "Support P5040DS"
+
+config TARGET_MPC8536DS
+ bool "Support MPC8536DS"
+
+config TARGET_MPC8540ADS
+ bool "Support MPC8540ADS"
+
+config TARGET_MPC8541CDS
+ bool "Support MPC8541CDS"
+
+config TARGET_MPC8544DS
+ bool "Support MPC8544DS"
+
+config TARGET_MPC8548CDS
+ bool "Support MPC8548CDS"
+
+config TARGET_MPC8555CDS
+ bool "Support MPC8555CDS"
+
+config TARGET_MPC8560ADS
+ bool "Support MPC8560ADS"
+
+config TARGET_MPC8568MDS
+ bool "Support MPC8568MDS"
+
+config TARGET_MPC8569MDS
+ bool "Support MPC8569MDS"
+
+config TARGET_MPC8572DS
+ bool "Support MPC8572DS"
+
+config TARGET_P1010RDB
+ bool "Support P1010RDB"
+
+config TARGET_P1022DS
+ bool "Support P1022DS"
+
+config TARGET_P1023RDB
+ bool "Support P1023RDB"
+
+config TARGET_P1_P2_RDB
+ bool "Support P1_P2_RDB"
+
+config TARGET_P1_P2_RDB_PC
+ bool "Support p1_p2_rdb_pc"
+
+config TARGET_P1_TWR
+ bool "Support p1_twr"
+
+config TARGET_P2020COME
+ bool "Support P2020COME"
+
+config TARGET_P2020DS
+ bool "Support P2020DS"
+
+config TARGET_P2041RDB
+ bool "Support P2041RDB"
+
+config TARGET_QEMU_PPCE500
+ bool "Support qemu-ppce500"
+
+config TARGET_T1040QDS
+ bool "Support T1040QDS"
+
+config TARGET_T104XRDB
+ bool "Support T104xRDB"
+
+config TARGET_T208XQDS
+ bool "Support T208xQDS"
+
+config TARGET_T208XRDB
+ bool "Support T208xRDB"
+
+config TARGET_T4240EMU
+ bool "Support T4240EMU"
+
+config TARGET_T4240QDS
+ bool "Support T4240QDS"
+
+config TARGET_T4240RDB
+ bool "Support T4240RDB"
+
+config TARGET_CONTROLCENTERD
+ bool "Support controlcenterd"
+
+config TARGET_KMP204X
+ bool "Support kmp204x"
+
+config TARGET_STXGP3
+ bool "Support stxgp3"
+
+config TARGET_STXSSA
+ bool "Support stxssa"
+
+config TARGET_XPEDITE520X
+ bool "Support xpedite520x"
+
+config TARGET_XPEDITE537X
+ bool "Support xpedite537x"
+
+config TARGET_XPEDITE550X
+ bool "Support xpedite550x"
+
+endchoice
+
+source "board/exmeritus/hww1u1a/Kconfig"
+source "board/freescale/b4860qds/Kconfig"
+source "board/freescale/bsc9131rdb/Kconfig"
+source "board/freescale/bsc9132qds/Kconfig"
+source "board/freescale/c29xpcie/Kconfig"
+source "board/freescale/corenet_ds/Kconfig"
+source "board/freescale/mpc8536ds/Kconfig"
+source "board/freescale/mpc8540ads/Kconfig"
+source "board/freescale/mpc8541cds/Kconfig"
+source "board/freescale/mpc8544ds/Kconfig"
+source "board/freescale/mpc8548cds/Kconfig"
+source "board/freescale/mpc8555cds/Kconfig"
+source "board/freescale/mpc8560ads/Kconfig"
+source "board/freescale/mpc8568mds/Kconfig"
+source "board/freescale/mpc8569mds/Kconfig"
+source "board/freescale/mpc8572ds/Kconfig"
+source "board/freescale/p1010rdb/Kconfig"
+source "board/freescale/p1022ds/Kconfig"
+source "board/freescale/p1023rdb/Kconfig"
+source "board/freescale/p1_p2_rdb/Kconfig"
+source "board/freescale/p1_p2_rdb_pc/Kconfig"
+source "board/freescale/p1_twr/Kconfig"
+source "board/freescale/p2020come/Kconfig"
+source "board/freescale/p2020ds/Kconfig"
+source "board/freescale/p2041rdb/Kconfig"
+source "board/freescale/qemu-ppce500/Kconfig"
+source "board/freescale/t1040qds/Kconfig"
+source "board/freescale/t104xrdb/Kconfig"
+source "board/freescale/t208xqds/Kconfig"
+source "board/freescale/t208xrdb/Kconfig"
+source "board/freescale/t4qds/Kconfig"
+source "board/freescale/t4rdb/Kconfig"
+source "board/gdsys/p1022/Kconfig"
+source "board/keymile/kmp204x/Kconfig"
+source "board/sbc8548/Kconfig"
+source "board/socrates/Kconfig"
+source "board/stx/stxgp3/Kconfig"
+source "board/stx/stxssa/Kconfig"
+source "board/xes/xpedite520x/Kconfig"
+source "board/xes/xpedite537x/Kconfig"
+source "board/xes/xpedite550x/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/mpc86xx/Kconfig b/arch/powerpc/cpu/mpc86xx/Kconfig
new file mode 100644
index 0000000000..f0ff4419d1
--- /dev/null
+++ b/arch/powerpc/cpu/mpc86xx/Kconfig
@@ -0,0 +1,30 @@
+menu "mpc86xx CPU"
+ depends on MPC86xx
+
+config SYS_CPU
+ string
+ default "mpc86xx"
+
+choice
+ prompt "Target select"
+
+config TARGET_SBC8641D
+ bool "Support sbc8641d"
+
+config TARGET_MPC8610HPCD
+ bool "Support MPC8610HPCD"
+
+config TARGET_MPC8641HPCN
+ bool "Support MPC8641HPCN"
+
+config TARGET_XPEDITE517X
+ bool "Support xpedite517x"
+
+endchoice
+
+source "board/freescale/mpc8610hpcd/Kconfig"
+source "board/freescale/mpc8641hpcn/Kconfig"
+source "board/sbc8641d/Kconfig"
+source "board/xes/xpedite517x/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/mpc8xx/Kconfig b/arch/powerpc/cpu/mpc8xx/Kconfig
new file mode 100644
index 0000000000..35608a68b0
--- /dev/null
+++ b/arch/powerpc/cpu/mpc8xx/Kconfig
@@ -0,0 +1,160 @@
+menu "mpc8xx CPU"
+ depends on 8xx
+
+config SYS_CPU
+ string
+ default "mpc8xx"
+
+choice
+ prompt "Target select"
+
+config TARGET_COGENT_MPC8XX
+ bool "Support cogent_mpc8xx"
+
+config TARGET_ESTEEM192E
+ bool "Support ESTEEM192E"
+
+config TARGET_FLAGADM
+ bool "Support FLAGADM"
+
+config TARGET_GEN860T
+ bool "Support GEN860T"
+
+config TARGET_HERMES
+ bool "Support hermes"
+
+config TARGET_ICU862
+ bool "Support ICU862"
+
+config TARGET_IP860
+ bool "Support IP860"
+
+config TARGET_IVML24
+ bool "Support IVML24"
+
+config TARGET_IVMS8
+ bool "Support IVMS8"
+
+config TARGET_LWMON
+ bool "Support lwmon"
+
+config TARGET_NETVIA
+ bool "Support NETVIA"
+
+config TARGET_R360MPI
+ bool "Support R360MPI"
+
+config TARGET_RRVISION
+ bool "Support RRvision"
+
+config TARGET_SXNI855T
+ bool "Support SXNI855T"
+
+config TARGET_SPD823TS
+ bool "Support SPD823TS"
+
+config TARGET_SVM_SC8XX
+ bool "Support svm_sc8xx"
+
+config TARGET_MHPC
+ bool "Support MHPC"
+
+config TARGET_TOP860
+ bool "Support TOP860"
+
+config TARGET_KUP4K
+ bool "Support KUP4K"
+
+config TARGET_KUP4X
+ bool "Support KUP4X"
+
+config TARGET_ELPT860
+ bool "Support ELPT860"
+
+config TARGET_UC100
+ bool "Support uc100"
+
+config TARGET_STXXTC
+ bool "Support stxxtc"
+
+config TARGET_FPS850L
+ bool "Support FPS850L"
+
+config TARGET_FPS860L
+ bool "Support FPS860L"
+
+config TARGET_NSCU
+ bool "Support NSCU"
+
+config TARGET_SM850
+ bool "Support SM850"
+
+config TARGET_TK885D
+ bool "Support TK885D"
+
+config TARGET_TQM823L
+ bool "Support TQM823L"
+
+config TARGET_TQM823M
+ bool "Support TQM823M"
+
+config TARGET_TQM850L
+ bool "Support TQM850L"
+
+config TARGET_TQM850M
+ bool "Support TQM850M"
+
+config TARGET_TQM855L
+ bool "Support TQM855L"
+
+config TARGET_TQM855M
+ bool "Support TQM855M"
+
+config TARGET_TQM860L
+ bool "Support TQM860L"
+
+config TARGET_TQM860M
+ bool "Support TQM860M"
+
+config TARGET_TQM862L
+ bool "Support TQM862L"
+
+config TARGET_TQM862M
+ bool "Support TQM862M"
+
+config TARGET_TQM866M
+ bool "Support TQM866M"
+
+config TARGET_TQM885D
+ bool "Support TQM885D"
+
+config TARGET_VIRTLAB2
+ bool "Support virtlab2"
+
+endchoice
+
+source "board/LEOX/elpt860/Kconfig"
+source "board/RRvision/Kconfig"
+source "board/cogent/Kconfig"
+source "board/eltec/mhpc/Kconfig"
+source "board/emk/top860/Kconfig"
+source "board/esteem192e/Kconfig"
+source "board/flagadm/Kconfig"
+source "board/gen860t/Kconfig"
+source "board/hermes/Kconfig"
+source "board/icu862/Kconfig"
+source "board/ip860/Kconfig"
+source "board/ivm/Kconfig"
+source "board/kup/kup4k/Kconfig"
+source "board/kup/kup4x/Kconfig"
+source "board/lwmon/Kconfig"
+source "board/manroland/uc100/Kconfig"
+source "board/netvia/Kconfig"
+source "board/r360mpi/Kconfig"
+source "board/sixnet/Kconfig"
+source "board/spd8xx/Kconfig"
+source "board/stx/stxxtc/Kconfig"
+source "board/svm_sc8xx/Kconfig"
+source "board/tqc/tqm8xx/Kconfig"
+
+endmenu
diff --git a/arch/powerpc/cpu/ppc4xx/Kconfig b/arch/powerpc/cpu/ppc4xx/Kconfig
new file mode 100644
index 0000000000..2d15dd1210
--- /dev/null
+++ b/arch/powerpc/cpu/ppc4xx/Kconfig
@@ -0,0 +1,322 @@
+menu "ppc4xx CPU"
+ depends on 4xx
+
+config SYS_CPU
+ string
+ default "ppc4xx"
+
+choice
+ prompt "Target select"
+
+config TARGET_CSB272
+ bool "Support csb272"
+
+config TARGET_CSB472
+ bool "Support csb472"
+
+config TARGET_G2000
+ bool "Support G2000"
+
+config TARGET_JSE
+ bool "Support JSE"
+
+config TARGET_KORAT
+ bool "Support korat"
+
+config TARGET_LWMON5
+ bool "Support lwmon5"
+
+config TARGET_PCS440EP
+ bool "Support pcs440ep"
+
+config TARGET_SBC405
+ bool "Support sbc405"
+
+config TARGET_SC3
+ bool "Support sc3"
+
+config TARGET_T3CORP
+ bool "Support t3corp"
+
+config TARGET_W7OLMC
+ bool "Support W7OLMC"
+
+config TARGET_W7OLMG
+ bool "Support W7OLMG"
+
+config TARGET_ZEUS
+ bool "Support zeus"
+
+config TARGET_ACADIA
+ bool "Support acadia"
+
+config TARGET_BAMBOO
+ bool "Support bamboo"
+
+config TARGET_BLUESTONE
+ bool "Support bluestone"
+
+config TARGET_BUBINGA
+ bool "Support bubinga"
+
+config TARGET_CANYONLANDS
+ bool "Support canyonlands"
+
+config TARGET_EBONY
+ bool "Support ebony"
+
+config TARGET_KATMAI
+ bool "Support katmai"
+
+config TARGET_KILAUEA
+ bool "Support kilauea"
+
+config TARGET_LUAN
+ bool "Support luan"
+
+config TARGET_MAKALU
+ bool "Support makalu"
+
+config TARGET_OCOTEA
+ bool "Support ocotea"
+
+config TARGET_REDWOOD
+ bool "Support redwood"
+
+config TARGET_SEQUOIA
+ bool "Support sequoia"
+
+config TARGET_TAIHU
+ bool "Support taihu"
+
+config TARGET_TAISHAN
+ bool "Support taishan"
+
+config TARGET_WALNUT
+ bool "Support walnut"
+
+config TARGET_YOSEMITE
+ bool "Support yosemite"
+
+config TARGET_YUCCA
+ bool "Support yucca"
+
+config TARGET_FX12MM
+ bool "Support fx12mm"
+
+config TARGET_V5FX30TEVAL
+ bool "Support v5fx30teval"
+
+config TARGET_CRAYL1
+ bool "Support CRAYL1"
+
+config TARGET_CATCENTER
+ bool "Support CATcenter"
+
+config TARGET_PPCHAMELEONEVB
+ bool "Support PPChameleonEVB"
+
+config TARGET_APC405
+ bool "Support APC405"
+
+config TARGET_AR405
+ bool "Support AR405"
+
+config TARGET_ASH405
+ bool "Support ASH405"
+
+config TARGET_CMS700
+ bool "Support CMS700"
+
+config TARGET_CPCI2DP
+ bool "Support CPCI2DP"
+
+config TARGET_CPCI405
+ bool "Support CPCI405"
+
+config TARGET_CPCI4052
+ bool "Support CPCI4052"
+
+config TARGET_CPCI405AB
+ bool "Support CPCI405AB"
+
+config TARGET_CPCI405DT
+ bool "Support CPCI405DT"
+
+config TARGET_CPCIISER4
+ bool "Support CPCIISER4"
+
+config TARGET_DP405
+ bool "Support DP405"
+
+config TARGET_DU405
+ bool "Support DU405"
+
+config TARGET_DU440
+ bool "Support DU440"
+
+config TARGET_HH405
+ bool "Support HH405"
+
+config TARGET_HUB405
+ bool "Support HUB405"
+
+config TARGET_OCRTC
+ bool "Support OCRTC"
+
+config TARGET_PCI405
+ bool "Support PCI405"
+
+config TARGET_PLU405
+ bool "Support PLU405"
+
+config TARGET_PMC405
+ bool "Support PMC405"
+
+config TARGET_PMC405DE
+ bool "Support PMC405DE"
+
+config TARGET_PMC440
+ bool "Support PMC440"
+
+config TARGET_VOH405
+ bool "Support VOH405"
+
+config TARGET_VOM405
+ bool "Support VOM405"
+
+config TARGET_WUH405
+ bool "Support WUH405"
+
+config TARGET_DLVISION_10G
+ bool "Support dlvision-10g"
+
+config TARGET_IO
+ bool "Support io"
+
+config TARGET_IOCON
+ bool "Support iocon"
+
+config TARGET_NEO
+ bool "Support neo"
+
+config TARGET_IO64
+ bool "Support io64"
+
+config TARGET_DLVISION
+ bool "Support dlvision"
+
+config TARGET_GDPPC440ETX
+ bool "Support gdppc440etx"
+
+config TARGET_INTIP
+ bool "Support intip"
+
+config TARGET_ICON
+ bool "Support icon"
+
+config TARGET_MIP405
+ bool "Support MIP405"
+
+config TARGET_PIP405
+ bool "Support PIP405"
+
+config TARGET_ALPR
+ bool "Support alpr"
+
+config TARGET_P3P440
+ bool "Support p3p440"
+
+config TARGET_KAREF
+ bool "Support KAREF"
+
+config TARGET_METROBOX
+ bool "Support METROBOX"
+
+config TARGET_XPEDITE1000
+ bool "Support xpedite1000"
+
+config TARGET_ML507
+ bool "Support ml507"
+
+config TARGET_XILINX_PPC405_GENERIC
+ bool "Support xilinx-ppc405-generic"
+
+config TARGET_XILINX_PPC440_GENERIC
+ bool "Support xilinx-ppc440-generic"
+
+endchoice
+
+source "board/amcc/acadia/Kconfig"
+source "board/amcc/bamboo/Kconfig"
+source "board/amcc/bluestone/Kconfig"
+source "board/amcc/bubinga/Kconfig"
+source "board/amcc/canyonlands/Kconfig"
+source "board/amcc/ebony/Kconfig"
+source "board/amcc/katmai/Kconfig"
+source "board/amcc/kilauea/Kconfig"
+source "board/amcc/luan/Kconfig"
+source "board/amcc/makalu/Kconfig"
+source "board/amcc/ocotea/Kconfig"
+source "board/amcc/redwood/Kconfig"
+source "board/amcc/sequoia/Kconfig"
+source "board/amcc/taihu/Kconfig"
+source "board/amcc/taishan/Kconfig"
+source "board/amcc/walnut/Kconfig"
+source "board/amcc/yosemite/Kconfig"
+source "board/amcc/yucca/Kconfig"
+source "board/avnet/fx12mm/Kconfig"
+source "board/avnet/v5fx30teval/Kconfig"
+source "board/cray/L1/Kconfig"
+source "board/csb272/Kconfig"
+source "board/csb472/Kconfig"
+source "board/dave/PPChameleonEVB/Kconfig"
+source "board/esd/apc405/Kconfig"
+source "board/esd/ar405/Kconfig"
+source "board/esd/ash405/Kconfig"
+source "board/esd/cms700/Kconfig"
+source "board/esd/cpci2dp/Kconfig"
+source "board/esd/cpci405/Kconfig"
+source "board/esd/cpciiser4/Kconfig"
+source "board/esd/dp405/Kconfig"
+source "board/esd/du405/Kconfig"
+source "board/esd/du440/Kconfig"
+source "board/esd/hh405/Kconfig"
+source "board/esd/hub405/Kconfig"
+source "board/esd/ocrtc/Kconfig"
+source "board/esd/pci405/Kconfig"
+source "board/esd/plu405/Kconfig"
+source "board/esd/pmc405/Kconfig"
+source "board/esd/pmc405de/Kconfig"
+source "board/esd/pmc440/Kconfig"
+source "board/esd/voh405/Kconfig"
+source "board/esd/vom405/Kconfig"
+source "board/esd/wuh405/Kconfig"
+source "board/g2000/Kconfig"
+source "board/gdsys/405ep/Kconfig"
+source "board/gdsys/405ex/Kconfig"
+source "board/gdsys/dlvision/Kconfig"
+source "board/gdsys/gdppc440etx/Kconfig"
+source "board/gdsys/intip/Kconfig"
+source "board/jse/Kconfig"
+source "board/korat/Kconfig"
+source "board/lwmon5/Kconfig"
+source "board/mosaixtech/icon/Kconfig"
+source "board/mpl/mip405/Kconfig"
+source "board/mpl/pip405/Kconfig"
+source "board/pcs440ep/Kconfig"
+source "board/prodrive/alpr/Kconfig"
+source "board/prodrive/p3p440/Kconfig"
+source "board/sandburst/karef/Kconfig"
+source "board/sandburst/metrobox/Kconfig"
+source "board/sbc405/Kconfig"
+source "board/sc3/Kconfig"
+source "board/t3corp/Kconfig"
+source "board/w7o/Kconfig"
+source "board/xes/xpedite1000/Kconfig"
+source "board/xilinx/ml507/Kconfig"
+source "board/xilinx/ppc405-generic/Kconfig"
+source "board/xilinx/ppc440-generic/Kconfig"
+source "board/zeus/Kconfig"
+
+endmenu
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
new file mode 100644
index 0000000000..c393550694
--- /dev/null
+++ b/arch/sandbox/Kconfig
@@ -0,0 +1,16 @@
+menu "Sandbox architecture"
+ depends on SANDBOX
+
+config SYS_ARCH
+ string
+ default "sandbox"
+
+config SYS_BOARD
+ string
+ default "sandbox"
+
+config SYS_CONFIG_NAME
+ string
+ default "sandbox"
+
+endmenu
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
new file mode 100644
index 0000000000..e6ded16b20
--- /dev/null
+++ b/arch/sh/Kconfig
@@ -0,0 +1,98 @@
+menu "SuperH architecture"
+ depends on SH
+
+config SYS_ARCH
+ string
+ default "sh"
+
+choice
+ prompt "Target select"
+
+config TARGET_RSK7203
+ bool "Support rsk7203"
+
+config TARGET_RSK7264
+ bool "Support rsk7264"
+
+config TARGET_RSK7269
+ bool "Support rsk7269"
+
+config TARGET_MPR2
+ bool "Support mpr2"
+
+config TARGET_MS7720SE
+ bool "Support ms7720se"
+
+config TARGET_SHMIN
+ bool "Support shmin"
+
+config TARGET_ESPT
+ bool "Support espt"
+
+config TARGET_MS7722SE
+ bool "Support ms7722se"
+
+config TARGET_MS7750SE
+ bool "Support ms7750se"
+
+config TARGET_AP_SH4A_4A
+ bool "Support ap_sh4a_4a"
+
+config TARGET_AP325RXA
+ bool "Support ap325rxa"
+
+config TARGET_ECOVEC
+ bool "Support ecovec"
+
+config TARGET_MIGOR
+ bool "Support MigoR"
+
+config TARGET_R0P7734
+ bool "Support r0p7734"
+
+config TARGET_R2DPLUS
+ bool "Support r2dplus"
+
+config TARGET_R7780MP
+ bool "Support r7780mp"
+
+config TARGET_SH7752EVB
+ bool "Support sh7752evb"
+
+config TARGET_SH7753EVB
+ bool "Support sh7753evb"
+
+config TARGET_SH7757LCR
+ bool "Support sh7757lcr"
+
+config TARGET_SH7763RDP
+ bool "Support sh7763rdp"
+
+config TARGET_SH7785LCR
+ bool "Support sh7785lcr"
+
+endchoice
+
+source "board/alphaproject/ap_sh4a_4a/Kconfig"
+source "board/espt/Kconfig"
+source "board/mpr2/Kconfig"
+source "board/ms7720se/Kconfig"
+source "board/ms7722se/Kconfig"
+source "board/ms7750se/Kconfig"
+source "board/renesas/MigoR/Kconfig"
+source "board/renesas/ap325rxa/Kconfig"
+source "board/renesas/ecovec/Kconfig"
+source "board/renesas/r0p7734/Kconfig"
+source "board/renesas/r2dplus/Kconfig"
+source "board/renesas/r7780mp/Kconfig"
+source "board/renesas/rsk7203/Kconfig"
+source "board/renesas/rsk7264/Kconfig"
+source "board/renesas/rsk7269/Kconfig"
+source "board/renesas/sh7752evb/Kconfig"
+source "board/renesas/sh7753evb/Kconfig"
+source "board/renesas/sh7757lcr/Kconfig"
+source "board/renesas/sh7763rdp/Kconfig"
+source "board/renesas/sh7785lcr/Kconfig"
+source "board/shmin/Kconfig"
+
+endmenu
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
new file mode 100644
index 0000000000..fc9291037c
--- /dev/null
+++ b/arch/sparc/Kconfig
@@ -0,0 +1,34 @@
+menu "SPARC architecture"
+ depends on SPARC
+
+config SYS_ARCH
+ string
+ default "sparc"
+
+choice
+ prompt "Target select"
+
+config TARGET_GRSIM_LEON2
+ bool "Support grsim_leon2"
+
+config TARGET_GR_CPCI_AX2000
+ bool "Support gr_cpci_ax2000"
+
+config TARGET_GR_EP2S60
+ bool "Support gr_ep2s60"
+
+config TARGET_GR_XC3S_1500
+ bool "Support gr_xc3s_1500"
+
+config TARGET_GRSIM
+ bool "Support grsim"
+
+endchoice
+
+source "board/gaisler/gr_cpci_ax2000/Kconfig"
+source "board/gaisler/gr_ep2s60/Kconfig"
+source "board/gaisler/gr_xc3s_1500/Kconfig"
+source "board/gaisler/grsim/Kconfig"
+source "board/gaisler/grsim_leon2/Kconfig"
+
+endmenu
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
new file mode 100644
index 0000000000..8fc619a3c0
--- /dev/null
+++ b/arch/x86/Kconfig
@@ -0,0 +1,18 @@
+menu "x86 architecture"
+ depends on X86
+
+config SYS_ARCH
+ string
+ default "x86"
+
+choice
+ prompt "Target select"
+
+config TARGET_COREBOOT
+ bool "Support coreboot"
+
+endchoice
+
+source "board/chromebook-x86/coreboot/Kconfig"
+
+endmenu