diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2014-06-16 17:24:14 +1000 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-06-18 21:17:27 +0200 |
commit | c94d73e0e6703369831fe6d489a20d71ab2bb974 (patch) | |
tree | c02321f3815f217665c57fd159fb43b2a1e47788 /src/mainboard/amd/dinar | |
parent | 401b8accf8fdade02f40f528812ac081c7a0f432 (diff) | |
download | coreboot-c94d73e0e6703369831fe6d489a20d71ab2bb974.tar.xz |
mainboard: Clear up remaining SIO_PORT from Kconfig
Push back any board specific values back into romstage.c #defines and
drop any remaining fragments of CONFIG_SIO_PORT in-tree.
Change-Id: Ieb63fb0c2ab1a82b53bafd86686de7b21ac226c3
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-on: http://review.coreboot.org/6045
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/amd/dinar')
-rw-r--r-- | src/mainboard/amd/dinar/Kconfig | 4 | ||||
-rw-r--r-- | src/mainboard/amd/dinar/romstage.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/mainboard/amd/dinar/Kconfig b/src/mainboard/amd/dinar/Kconfig index 30afa95233..e826459968 100644 --- a/src/mainboard/amd/dinar/Kconfig +++ b/src/mainboard/amd/dinar/Kconfig @@ -72,10 +72,6 @@ config RAMBASE hex default 0x200000 -config SIO_PORT - hex - default 0x2e - config DRIVERS_PS2_KEYBOARD bool default y diff --git a/src/mainboard/amd/dinar/romstage.c b/src/mainboard/amd/dinar/romstage.c index 8ed1398521..0b52ea9249 100644 --- a/src/mainboard/amd/dinar/romstage.c +++ b/src/mainboard/amd/dinar/romstage.c @@ -37,8 +37,7 @@ #include "Platform.h" #include <arch/cpu.h> -#define SERIAL_DEV PNP_DEV(CONFIG_SIO_PORT, SMSCSUPERIO_SP1) - +#define SERIAL_DEV PNP_DEV(0x2e, SMSCSUPERIO_SP1) u32 agesawrapper_amdinitmmio (void); u32 agesawrapper_amdinitreset (void); @@ -58,7 +57,7 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) post_code(0x30); - sch4037_early_init (CONFIG_SIO_PORT); + sch4037_early_init(0x2e); /* Detect SMSC SIO1036 LPC Debug Card status */ if (detect_sio1036_chip(0x4E)) { |