diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-07-07 11:30:48 +0300 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-07-10 23:14:28 +0200 |
commit | 8b95c134207de9573f8e5eb758e5cee51741604a (patch) | |
tree | 8d49f7f9ce75bf9f0ae9ba26883588753e764f00 /src/cpu/amd/agesa | |
parent | 3ad5a9b97f2d66764880e0cf01b1833d39ddd5ce (diff) |
AMD: Kconfig cleanup
Change-Id: Ie347b32575c26133d52c275622d29d1cd4c6c0c7
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3623
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
Diffstat (limited to 'src/cpu/amd/agesa')
-rwxr-xr-x | src/cpu/amd/agesa/family12/Kconfig | 12 | ||||
-rw-r--r-- | src/cpu/amd/agesa/family14/Kconfig | 14 | ||||
-rw-r--r-- | src/cpu/amd/agesa/family15/Kconfig | 5 | ||||
-rw-r--r-- | src/cpu/amd/agesa/family15tn/Kconfig | 19 |
4 files changed, 13 insertions, 37 deletions
diff --git a/src/cpu/amd/agesa/family12/Kconfig b/src/cpu/amd/agesa/family12/Kconfig index 1adf5eca31..757db9a20c 100755 --- a/src/cpu/amd/agesa/family12/Kconfig +++ b/src/cpu/amd/agesa/family12/Kconfig @@ -22,49 +22,43 @@ config CPU_AMD_AGESA_FAMILY12 select PCI_IO_CFG_EXT select X86_AMD_FIXED_MTRRS +if CPU_AMD_AGESA_FAMILY12 + config CPU_ADDR_BITS int default 48 - depends on CPU_AMD_AGESA_FAMILY12 config CPU_SOCKET_TYPE hex default 0x10 - depends on CPU_AMD_AGESA_FAMILY12 # DDR2 and REG config DIMM_SUPPORT hex default 0x0104 - depends on CPU_AMD_AGESA_FAMILY12 config EXT_RT_TBL_SUPPORT bool default n - depends on CPU_AMD_AGESA_FAMILY12 config EXT_CONF_SUPPORT bool default n - depends on CPU_AMD_AGESA_FAMILY12 config CBB hex default 0x0 - depends on CPU_AMD_AGESA_FAMILY12 config CDB hex default 0x18 - depends on CPU_AMD_AGESA_FAMILY12 config XIP_ROM_SIZE hex default 0x80000 - depends on CPU_AMD_AGESA_FAMILY12 config HAVE_INIT_TIMER bool default y - depends on CPU_AMD_AGESA_FAMILY12 +endif diff --git a/src/cpu/amd/agesa/family14/Kconfig b/src/cpu/amd/agesa/family14/Kconfig index dea839ea51..7acd520a2b 100644 --- a/src/cpu/amd/agesa/family14/Kconfig +++ b/src/cpu/amd/agesa/family14/Kconfig @@ -22,54 +22,48 @@ config CPU_AMD_AGESA_FAMILY14 select PCI_IO_CFG_EXT select X86_AMD_FIXED_MTRRS +if CPU_AMD_AGESA_FAMILY14 + config CPU_ADDR_BITS int default 36 - depends on CPU_AMD_AGESA_FAMILY14 config CPU_SOCKET_TYPE hex default 0x10 - depends on CPU_AMD_AGESA_FAMILY14 # DDR2 and REG config DIMM_SUPPORT hex default 0x0104 - depends on CPU_AMD_AGESA_FAMILY14 config EXT_RT_TBL_SUPPORT bool default n - depends on CPU_AMD_AGESA_FAMILY14 config EXT_CONF_SUPPORT bool default n - depends on CPU_AMD_AGESA_FAMILY14 config CBB hex default 0x0 - depends on CPU_AMD_AGESA_FAMILY14 config CDB hex default 0x18 - depends on CPU_AMD_AGESA_FAMILY14 config XIP_ROM_SIZE hex default 0x80000 - depends on CPU_AMD_AGESA_FAMILY14 config HAVE_INIT_TIMER bool default y - depends on CPU_AMD_AGESA_FAMILY14 config HIGH_SCRATCH_MEMORY_SIZE hex # Assume the maximum size of stack as (0xA0000 - 0x30000 + 0x1000) default 0x71000 - depends on CPU_AMD_AGESA_FAMILY14 + +endif diff --git a/src/cpu/amd/agesa/family15/Kconfig b/src/cpu/amd/agesa/family15/Kconfig index e20cce8ab3..02991a04e8 100644 --- a/src/cpu/amd/agesa/family15/Kconfig +++ b/src/cpu/amd/agesa/family15/Kconfig @@ -22,12 +22,11 @@ config CPU_AMD_AGESA_FAMILY15 select PCI_IO_CFG_EXT select X86_AMD_FIXED_MTRRS +if CPU_AMD_AGESA_FAMILY15 + config CPU_ADDR_BITS int default 48 - depends on CPU_AMD_AGESA_FAMILY15 - -if CPU_AMD_AGESA_FAMILY15 config CPU_AMD_SOCKET_G34 bool diff --git a/src/cpu/amd/agesa/family15tn/Kconfig b/src/cpu/amd/agesa/family15tn/Kconfig index d2f5a8c1b2..9885570d88 100644 --- a/src/cpu/amd/agesa/family15tn/Kconfig +++ b/src/cpu/amd/agesa/family15tn/Kconfig @@ -22,59 +22,48 @@ config CPU_AMD_AGESA_FAMILY15_TN select PCI_IO_CFG_EXT select X86_AMD_FIXED_MTRRS +if CPU_AMD_AGESA_FAMILY15_TN + config CPU_ADDR_BITS int default 48 - depends on CPU_AMD_AGESA_FAMILY15_TN config CPU_SOCKET_TYPE hex default 0x10 - depends on CPU_AMD_AGESA_FAMILY15_TN # DDR2 and REG config DIMM_SUPPORT hex default 0x0104 - depends on CPU_AMD_AGESA_FAMILY15_TN config EXT_RT_TBL_SUPPORT bool default n - depends on CPU_AMD_AGESA_FAMILY15_TN config EXT_CONF_SUPPORT bool default n - depends on CPU_AMD_AGESA_FAMILY15_TN config CBB hex default 0x0 - depends on CPU_AMD_AGESA_FAMILY15_TN config CDB hex default 0x18 - depends on CPU_AMD_AGESA_FAMILY15_TN - -config XIP_ROM_BASE - hex - default 0xfff80000 - depends on CPU_AMD_AGESA_FAMILY15_TN config XIP_ROM_SIZE hex default 0x100000 - depends on CPU_AMD_AGESA_FAMILY15_TN config HAVE_INIT_TIMER bool default y - depends on CPU_AMD_AGESA_FAMILY15_TN config HIGH_SCRATCH_MEMORY_SIZE hex # Assume the maximum size of stack as (0xA0000 - 0x30000 + 0x1000) default 0xA1000 - depends on CPU_AMD_AGESA_FAMILY15_TN + +endif |