summaryrefslogtreecommitdiff
path: root/src/mainboard/technexion
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/technexion')
-rw-r--r--src/mainboard/technexion/Kconfig17
-rw-r--r--src/mainboard/technexion/tim5690/Kconfig25
-rw-r--r--src/mainboard/technexion/tim8690/Kconfig24
3 files changed, 25 insertions, 41 deletions
diff --git a/src/mainboard/technexion/Kconfig b/src/mainboard/technexion/Kconfig
index da13c340eb..c85266fec3 100644
--- a/src/mainboard/technexion/Kconfig
+++ b/src/mainboard/technexion/Kconfig
@@ -1,9 +1,20 @@
+if VENDOR_TECHNEXION
+
choice
prompt "Mainboard model"
- depends on VENDOR_TECHNEXION
-source "src/mainboard/technexion/tim8690/Kconfig"
-source "src/mainboard/technexion/tim5690/Kconfig"
+config BOARD_TECHNEXION_TIM5690
+ bool "TIM-5690"
+config BOARD_TECHNEXION_TIM8690
+ bool "TIM-8690"
endchoice
+source "src/mainboard/technexion/tim5690/Kconfig"
+source "src/mainboard/technexion/tim8690/Kconfig"
+
+config MAINBOARD_VENDOR
+ string
+ default "Technexion"
+
+endif # VENDOR_TECHNEXION
diff --git a/src/mainboard/technexion/tim5690/Kconfig b/src/mainboard/technexion/tim5690/Kconfig
index 03dc666286..56dc7c8e0c 100644
--- a/src/mainboard/technexion/tim5690/Kconfig
+++ b/src/mainboard/technexion/tim5690/Kconfig
@@ -1,5 +1,7 @@
-config BOARD_TECHNEXION_TIM5690
- bool "TIM-5690"
+if BOARD_TECHNEXION_TIM5690
+
+config BOARD_SPECIFIC_OPTIONS # dummy
+ def_bool y
select ARCH_X86
select CPU_AMD_SOCKET_S1G1
select NORTHBRIDGE_AMD_AMDK8
@@ -23,90 +25,73 @@ config BOARD_TECHNEXION_TIM5690
config MAINBOARD_DIR
string
default technexion/tim5690
- depends on BOARD_TECHNEXION_TIM5690
config DCACHE_RAM_BASE
hex
default 0xc8000
- depends on BOARD_TECHNEXION_TIM5690
config DCACHE_RAM_SIZE
hex
default 0x08000
- depends on BOARD_TECHNEXION_TIM5690
config DCACHE_RAM_GLOBAL_VAR_SIZE
hex
default 0x01000
- depends on BOARD_TECHNEXION_TIM5690
config APIC_ID_OFFSET
hex
default 0x0
- depends on BOARD_TECHNEXION_TIM5690
config MAINBOARD_PART_NUMBER
string
default "TIM-5690"
- depends on BOARD_TECHNEXION_TIM5690
config HW_MEM_HOLE_SIZEK
hex
default 0x100000
- depends on BOARD_TECHNEXION_TIM5690
config MAX_CPUS
int
default 2
- depends on BOARD_TECHNEXION_TIM5690
config MAX_PHYSICAL_CPUS
int
default 1
- depends on BOARD_TECHNEXION_TIM5690
config HW_MEM_HOLE_SIZE_AUTO_INC
bool
default n
- depends on BOARD_TECHNEXION_TIM5690
config SB_HT_CHAIN_ON_BUS0
int
default 1
- depends on BOARD_TECHNEXION_TIM5690
config HT_CHAIN_END_UNITID_BASE
hex
default 0x1
- depends on BOARD_TECHNEXION_TIM5690
config HT_CHAIN_UNITID_BASE
hex
default 0x0
- depends on BOARD_TECHNEXION_TIM5690
config IRQ_SLOT_COUNT
int
default 11
- depends on BOARD_TECHNEXION_TIM5690
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1022
- depends on BOARD_TECHNEXION_TIM5690
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x3050
- depends on BOARD_TECHNEXION_TIM5690
config STACK_SIZE
hex
default 0x2000
- depends on BOARD_TECHNEXION_TIM5690
config HEAP_SIZE
hex
default 0x4000
- depends on BOARD_TECHNEXION_TIM5690
+endif # BOARD_TECHNEXION_TIM5690
diff --git a/src/mainboard/technexion/tim8690/Kconfig b/src/mainboard/technexion/tim8690/Kconfig
index 85d3f5b37e..9a52459e31 100644
--- a/src/mainboard/technexion/tim8690/Kconfig
+++ b/src/mainboard/technexion/tim8690/Kconfig
@@ -1,5 +1,7 @@
-config BOARD_TECHNEXION_TIM8690
- bool "TIM-8690"
+if BOARD_TECHNEXION_TIM8690
+
+config BOARD_SPECIFIC_OPTIONS # dummy
+ def_bool y
select ARCH_X86
select CPU_AMD_SOCKET_S1G1
select NORTHBRIDGE_AMD_AMDK8
@@ -22,79 +24,65 @@ config BOARD_TECHNEXION_TIM8690
config MAINBOARD_DIR
string
default technexion/tim8690
- depends on BOARD_TECHNEXION_TIM8690
config DCACHE_RAM_BASE
hex
default 0xc8000
- depends on BOARD_TECHNEXION_TIM8690
config DCACHE_RAM_SIZE
hex
default 0x08000
- depends on BOARD_TECHNEXION_TIM8690
config DCACHE_RAM_GLOBAL_VAR_SIZE
hex
default 0x01000
- depends on BOARD_TECHNEXION_TIM8690
config APIC_ID_OFFSET
hex
default 0x0
- depends on BOARD_TECHNEXION_TIM8690
config MAINBOARD_PART_NUMBER
string
default "TIM-8690"
- depends on BOARD_TECHNEXION_TIM8690
config HW_MEM_HOLE_SIZEK
hex
default 0x100000
- depends on BOARD_TECHNEXION_TIM8690
config MAX_CPUS
int
default 2
- depends on BOARD_TECHNEXION_TIM8690
config MAX_PHYSICAL_CPUS
int
default 1
- depends on BOARD_TECHNEXION_TIM8690
config HW_MEM_HOLE_SIZE_AUTO_INC
bool
default n
- depends on BOARD_TECHNEXION_TIM8690
config SB_HT_CHAIN_ON_BUS0
int
default 1
- depends on BOARD_TECHNEXION_TIM8690
config HT_CHAIN_END_UNITID_BASE
hex
default 0x1
- depends on BOARD_TECHNEXION_TIM8690
config HT_CHAIN_UNITID_BASE
hex
default 0x0
- depends on BOARD_TECHNEXION_TIM8690
config IRQ_SLOT_COUNT
int
default 11
- depends on BOARD_TECHNEXION_TIM8690
config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x1022
- depends on BOARD_TECHNEXION_TIM8690
config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
hex
default 0x3050
- depends on BOARD_TECHNEXION_TIM8690
+
+endif # BOARD_TECHNEXION_TIM8690