summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2012-08-02 09:44:14 +0300
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2012-08-05 06:38:30 +0200
commitcc3b18843f5db9ccdb2c8cd609897e2560f47a92 (patch)
tree1745bc23468999598008e0acbb77c7b152cd4673
parentf85398c3ab2073fe7c4abdaa74d1adc9945d2fd2 (diff)
downloadcoreboot-cc3b18843f5db9ccdb2c8cd609897e2560f47a92.tar.xz
Technexion TIM5690: drop add_mainboard_resources()
Move the POST display to take place just before jumping the payload, a bit later than before. Change-Id: Ie1d1ff24dc6c1640e25681be7dc5740943c7f112 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1396 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
-rw-r--r--src/mainboard/technexion/tim5690/Kconfig1
-rw-r--r--src/mainboard/technexion/tim5690/mainboard.c9
2 files changed, 6 insertions, 4 deletions
diff --git a/src/mainboard/technexion/tim5690/Kconfig b/src/mainboard/technexion/tim5690/Kconfig
index 404ddfe5b3..172b478d2e 100644
--- a/src/mainboard/technexion/tim5690/Kconfig
+++ b/src/mainboard/technexion/tim5690/Kconfig
@@ -17,7 +17,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select SB_HT_CHAIN_UNITID_OFFSET_ONLY
select HAVE_ACPI_TABLES
select GFXUMA
- select HAVE_MAINBOARD_RESOURCES
select BOARD_ROMSIZE_KB_512
select RAMINIT_SYSINFO
select QRANK_DIMM_SUPPORT
diff --git a/src/mainboard/technexion/tim5690/mainboard.c b/src/mainboard/technexion/tim5690/mainboard.c
index 41147cd034..b87058c226 100644
--- a/src/mainboard/technexion/tim5690/mainboard.c
+++ b/src/mainboard/technexion/tim5690/mainboard.c
@@ -242,10 +242,13 @@ static void tim5690_enable(device_t dev)
set_thermal_config();
}
-int add_mainboard_resources(struct lb_memory *mem)
+void mainboard_post(u8 value)
{
- technexion_post_code(LED_MESSAGE_FINISH);
- return 0;
+ switch (value) {
+ case POST_ENTER_ELF_BOOT:
+ technexion_post_code(LED_MESSAGE_FINISH);
+ break;
+ }
}
struct chip_operations mainboard_ops = {