summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-06-17 16:48:07 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-06-17 16:48:07 +0000
commit667393676bf0ea08b6aadfc0119bd87f7cf2cc25 (patch)
tree1b6a52752bc1f755283d896d5d42992ce386e6d4
parent8d9c123812492a80a43112c8dd217fcfb3cee2c5 (diff)
downloadcoreboot-667393676bf0ea08b6aadfc0119bd87f7cf2cc25.tar.xz
new config file testing the update stuff.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@881 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/arch/i386/boot/Config.lb7
-rw-r--r--src/arch/i386/boot/tables.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/i386/boot/Config.lb b/src/arch/i386/boot/Config.lb
new file mode 100644
index 0000000000..041cecb360
--- /dev/null
+++ b/src/arch/i386/boot/Config.lb
@@ -0,0 +1,7 @@
+object boot.o
+object linuxbios_table.o
+object tables.o
+if HAVE_PIRQ_TABLE
+object pirq_routing.o
+end
+
diff --git a/src/arch/i386/boot/tables.c b/src/arch/i386/boot/tables.c
index 07579fefe2..45e2283001 100644
--- a/src/arch/i386/boot/tables.c
+++ b/src/arch/i386/boot/tables.c
@@ -52,9 +52,11 @@ struct lb_memory *write_tables(struct mem_range *mem, unsigned long *processor_m
/* copy the smp block to address 0 */
post_code(0x96);
+#if CONFIG_SMP
/* The smp table must be in 0-1K, 639K-640K, or 960K-1M */
remove_logical_cpus(processor_map);
low_table_end = write_smp_table(low_table_end, processor_map);
+#endif
/* Don't write anything in the traditional x86 BIOS data segment */
if (low_table_end < 0x500) {