aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/technexion/tim5690/mainboard.c
diff options
context:
space:
mode:
authorLibra Li <libra.li@technexion.com>2009-11-09 11:53:41 +0000
committerStefan Reinauer <stepan@openbios.org>2009-11-09 11:53:41 +0000
commit031029d4d4f80c1754ba57d21cda69e4f381850a (patch)
treef97449a8da033f7e619f0220d298cd4e1f1da10d /src/mainboard/technexion/tim5690/mainboard.c
parentd27c08c2898d1d74765a7799628d1c18369fd671 (diff)
These are post codes for TIM-5690 LED debug message.
Signed-off-by: Libra Li <libra.li@technexion.com> Added object reference to Config.lb, too and Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4928 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/technexion/tim5690/mainboard.c')
-rw-r--r--src/mainboard/technexion/tim5690/mainboard.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mainboard/technexion/tim5690/mainboard.c b/src/mainboard/technexion/tim5690/mainboard.c
index 9cd2931843..85b7428f43 100644
--- a/src/mainboard/technexion/tim5690/mainboard.c
+++ b/src/mainboard/technexion/tim5690/mainboard.c
@@ -27,6 +27,7 @@
#include <device/pci_def.h>
#include <../southbridge/amd/sb600/sb600.h>
#include "chip.h"
+#include "tn_post_code.h"
#define ADT7461_ADDRESS 0x4C
#define ARA_ADDRESS 0x0C /* Alert Response Address */
@@ -44,12 +45,18 @@ extern void lb_add_memory_range(struct lb_memory *mem, uint32_t type,
#define ADT7461_write_byte(address, val) \
do_smbus_write_byte(SMBUS_IO_BASE, ADT7461_ADDRESS, address, val)
+/* previous
+ */
+void tim5690_enable(device_t dev);
+int add_mainboard_resources(struct lb_memory *mem);
+
+
uint64_t uma_memory_base, uma_memory_size;
/* set thermal config
*/
-static void set_thermal_config()
+static void set_thermal_config(void)
{
u8 byte;
u16 word;
@@ -176,6 +183,7 @@ int add_mainboard_resources(struct lb_memory *mem)
lb_add_memory_range(mem, LB_MEM_RESERVED,
uma_memory_base, uma_memory_size);
#endif
+ technexion_post_code(LED_MESSAGE_FINISH);
}
struct chip_operations mainboard_ops = {