[coreboot] Patch set updated for coreboot: 8c292de Technexion TIM5690: drop add_mainboard_resources()

Alexandru Gagniuc (mr.nuke.me@gmail.com) gerrit at coreboot.org
Sat Aug 4 19:34:47 CEST 2012


Alexandru Gagniuc (mr.nuke.me at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1396

-gerrit

commit 8c292de76fbe2e6495b526627cd1ce7bdf962baf
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 |    9 ++++++---
 2 files changed, 6 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..b87058c 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 = {




More information about the coreboot mailing list