[coreboot] Patch set updated for coreboot: 09c93e1 Technexion TIM5690: drop add_mainboard_resources()

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Fri Aug 3 07:20:07 CEST 2012


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1396

-gerrit

commit 09c93e14176aa5c8a77638ef9102a06924fa5215
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Thu Aug 2 09:44:14 2012 +0300

    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 at gmail.com>
---
 src/mainboard/technexion/tim5690/Kconfig     |    1 -
 src/mainboard/technexion/tim5690/mainboard.c |   10 +++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/mainboard/technexion/tim5690/Kconfig b/src/mainboard/technexion/tim5690/Kconfig
index 404ddfe..172b478 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 41147cd..c1aa389 100644
--- a/src/mainboard/technexion/tim5690/mainboard.c
+++ b/src/mainboard/technexion/tim5690/mainboard.c
@@ -242,10 +242,14 @@ 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;
+	default:
+	}
 }
 
 struct chip_operations mainboard_ops = {




More information about the coreboot mailing list