[coreboot] [commit] r6072 - in trunk/src: mainboard/asus mainboard/asus/a8v-e_deluxe southbridge/via/k8t890

repository service svn at coreboot.org
Sun Nov 14 22:48:15 CET 2010


Author: uwe
Date: Sun Nov 14 22:48:14 2010
New Revision: 6072
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6072

Log:
Add a target for the ASUS A8V-E Deluxe (trivial).

For now this is a plain copy of the ASUS A8V-E SE target, I reported
that most of the code also works (sort of) for the ASUS A8V-E Deluxe
a long while ago, see

  http://www.coreboot.org/pipermail/coreboot/2008-March/031866.html
  http://www.coreboot.org/ASUS_A8V-E_Deluxe

There will be a bunch of changes necessary though (devicetree.cb, mptable.c,
ACPI, etc) which do not apply to the A8V-E SE, so we need an extra target.

Also: Increase ID_SECTION_OFFSET on the VIA K8T890/K8M890 southbridge, as
otherwise there will be build errors if the MAINBOARD_PART_NUMBER string
gets too long (as is the case for "A8V-E Deluxe"). The error is:

  ld: section .id loaded at [00000000ffffffd2,00000000ffffffef] overlaps
  section .romstrap loaded at [00000000ffffff80,00000000ffffffd3]

(both with stock Debian gcc and with xgcc)

Increase ID_SECTION_OFFSET (default 0x10) to 0x80 as other southbridges do.

Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>

Added:
   trunk/src/mainboard/asus/a8v-e_deluxe/
      - copied from r6071, trunk/src/mainboard/asus/a8v-e_se/
Modified:
   trunk/src/mainboard/asus/Kconfig
   trunk/src/mainboard/asus/a8v-e_deluxe/Kconfig
   trunk/src/mainboard/asus/a8v-e_deluxe/mainboard.c
   trunk/src/mainboard/asus/a8v-e_deluxe/mptable.c
   trunk/src/southbridge/via/k8t890/Kconfig

Modified: trunk/src/mainboard/asus/Kconfig
==============================================================================
--- trunk/src/mainboard/asus/Kconfig	Sun Nov 14 21:10:11 2010	(r6071)
+++ trunk/src/mainboard/asus/Kconfig	Sun Nov 14 22:48:14 2010	(r6072)
@@ -25,6 +25,8 @@
 	bool "A8N-E"
 config BOARD_ASUS_A8V_E_SE
 	bool "A8V-E SE"
+config BOARD_ASUS_A8V_E_DELUXE
+	bool "A8V-E Deluxe"
 config BOARD_ASUS_M2V
 	bool "M2V"
 config BOARD_ASUS_M2V_MX_SE
@@ -52,6 +54,7 @@
 
 source "src/mainboard/asus/a8n_e/Kconfig"
 source "src/mainboard/asus/a8v-e_se/Kconfig"
+source "src/mainboard/asus/a8v-e_deluxe/Kconfig"
 source "src/mainboard/asus/m2v/Kconfig"
 source "src/mainboard/asus/m2v-mx_se/Kconfig"
 source "src/mainboard/asus/m4a785-m/Kconfig"

Modified: trunk/src/mainboard/asus/a8v-e_deluxe/Kconfig
==============================================================================
--- trunk/src/mainboard/asus/a8v-e_se/Kconfig	Sun Nov 14 21:10:11 2010	(r6071)
+++ trunk/src/mainboard/asus/a8v-e_deluxe/Kconfig	Sun Nov 14 22:48:14 2010	(r6072)
@@ -1,4 +1,4 @@
-if BOARD_ASUS_A8V_E_SE
+if BOARD_ASUS_A8V_E_DELUXE
 
 config BOARD_SPECIFIC_OPTIONS # dummy
 	def_bool y
@@ -20,7 +20,7 @@
 
 config MAINBOARD_DIR
 	string
-	default asus/a8v-e_se
+	default asus/a8v-e_deluxe
 
 config DCACHE_RAM_BASE
 	hex
@@ -44,7 +44,7 @@
 
 config MAINBOARD_PART_NUMBER
 	string
-	default "A8V-E SE"
+	default "A8V-E Deluxe"
 
 config HW_MEM_HOLE_SIZEK
 	hex
@@ -74,4 +74,4 @@
 	hex
 	default 0x1043
 
-endif # BOARD_ASUS_A8V_E_SE
+endif # BOARD_ASUS_A8V_E_DELUXE

Modified: trunk/src/mainboard/asus/a8v-e_deluxe/mainboard.c
==============================================================================
--- trunk/src/mainboard/asus/a8v-e_se/mainboard.c	Sun Nov 14 21:10:11 2010	(r6071)
+++ trunk/src/mainboard/asus/a8v-e_deluxe/mainboard.c	Sun Nov 14 22:48:14 2010	(r6072)
@@ -24,5 +24,5 @@
 #include "chip.h"
 
 struct chip_operations mainboard_ops = {
-	CHIP_NAME("ASUS A8V-E SE Mainboard")
+	CHIP_NAME("ASUS A8V-E Deluxe Mainboard")
 };

Modified: trunk/src/mainboard/asus/a8v-e_deluxe/mptable.c
==============================================================================
--- trunk/src/mainboard/asus/a8v-e_se/mptable.c	Sun Nov 14 21:10:11 2010	(r6071)
+++ trunk/src/mainboard/asus/a8v-e_deluxe/mptable.c	Sun Nov 14 22:48:14 2010	(r6072)
@@ -31,7 +31,7 @@
 
 	mc = (void *)(((char *)v) + SMP_FLOATING_TABLE_LEN);
 
-	mptable_init(mc, "A8V-E SE    ", LAPIC_ADDR);
+	mptable_init(mc, "A8V-E Deluxe", LAPIC_ADDR);
 
 	smp_write_processors(mc);
 

Modified: trunk/src/southbridge/via/k8t890/Kconfig
==============================================================================
--- trunk/src/southbridge/via/k8t890/Kconfig	Sun Nov 14 21:10:11 2010	(r6071)
+++ trunk/src/southbridge/via/k8t890/Kconfig	Sun Nov 14 22:48:14 2010	(r6072)
@@ -37,3 +37,8 @@
 	default 256 if K8M890_VIDEO_MB_256MB
 	default -1  if K8M890_VIDEO_MB_CMOS
 	depends on SOUTHBRIDGE_VIA_K8M890_VGA_EN
+
+config ID_SECTION_OFFSET
+	hex
+	default 0x80 if SOUTHBRIDGE_VIA_K8M890 || SOUTHBRIDGE_VIA_K8T890
+




More information about the coreboot mailing list