diff options
author | Yinghai Lu <yinghailu@gmail.com> | 2004-10-25 19:49:50 +0000 |
---|---|---|
committer | Yinghai Lu <yinghailu@gmail.com> | 2004-10-25 19:49:50 +0000 |
commit | 9cf950ca5a7dc0f9373b9b4db508480a35bb35ac (patch) | |
tree | 84211e5bf6a7585b3375c0f2f00180106fcf088c /src/mainboard/tyan/s2735 | |
parent | 3f637906c4c5a81c923cca157fca933dac186531 (diff) |
s2735 minor changes
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1715 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/tyan/s2735')
-rw-r--r-- | src/mainboard/tyan/s2735/Options.lb | 13 | ||||
-rw-r--r-- | src/mainboard/tyan/s2735/auto.c | 14 |
2 files changed, 14 insertions, 13 deletions
diff --git a/src/mainboard/tyan/s2735/Options.lb b/src/mainboard/tyan/s2735/Options.lb index c68fd37489..be05b56b27 100644 --- a/src/mainboard/tyan/s2735/Options.lb +++ b/src/mainboard/tyan/s2735/Options.lb @@ -10,7 +10,6 @@ uses IRQ_SLOT_COUNT uses HAVE_OPTION_TABLE uses CONFIG_MAX_CPUS uses CONFIG_LOGICAL_CPUS -#uses CONFIG_MAX_PHYSICAL_CPUS uses CONFIG_IOAPIC uses CONFIG_SMP uses FALLBACK_SIZE @@ -45,7 +44,8 @@ uses DEFAULT_CONSOLE_LOGLEVEL uses MAXIMUM_CONSOLE_LOGLEVEL uses MAINBOARD_POWER_ON_AFTER_POWER_FAIL uses CONFIG_CONSOLE_SERIAL8250 - +uses CONFIG_UDELAY_TSC +uses CONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2 ### ### Build options @@ -53,8 +53,11 @@ uses CONFIG_CONSOLE_SERIAL8250 ## ## ROM_SIZE is the size of boot ROM that this board will use. -## -default ROM_SIZE=524288 +#512K bytes +#default ROM_SIZE=524288 + +#1M bytes +default ROM_SIZE=1048576 ## ## FALLBACK_SIZE is the amount of the ROM the complete fallback image will use @@ -78,7 +81,6 @@ default HAVE_HARD_RESET=1 #default HARD_RESET_DEVICE=4 #default HARD_RESET_FUNCTION=0 -## ## Delay timer options ## default CONFIG_UDELAY_TSC=1 @@ -115,7 +117,6 @@ default LB_CKS_LOC=123 default CONFIG_SMP=1 default CONFIG_MAX_CPUS=4 default CONFIG_LOGICAL_CPUS=1 -#default CONFIG_MAX_PHYSICAL_CPUS=2 ## ## Build code to setup a generic IOAPIC diff --git a/src/mainboard/tyan/s2735/auto.c b/src/mainboard/tyan/s2735/auto.c index 091e74f321..5874d5ea35 100644 --- a/src/mainboard/tyan/s2735/auto.c +++ b/src/mainboard/tyan/s2735/auto.c @@ -70,7 +70,7 @@ static void main(unsigned long bist) /* Skip this if there was a built in self test failure */ early_mtrr_init(); enable_lapic(); - init_timer(); +// init_timer(); } @@ -79,7 +79,7 @@ static void main(unsigned long bist) console_init(); /* Halt if there was a built in self test failure */ - report_bist_failure(bist); +// report_bist_failure(bist); // setup_default_resource_map(); #if 0 @@ -87,9 +87,9 @@ static void main(unsigned long bist) #endif if(!bios_reset_detected()) { enable_smbus(); -#if 0 -// dump_spd_registers(&memctrl[0]); - dump_smbus_registers(); +#if 1 + dump_spd_registers(&memctrl[0]); +// dump_smbus_registers(); #endif memreset_setup(); @@ -114,7 +114,7 @@ static void main(unsigned long bist) #if 0 dump_pci_devices(); #endif -#if 0 +#if 1 dump_pci_device(PCI_DEV(0, 0, 0)); #endif @@ -130,7 +130,7 @@ static void main(unsigned long bist) #if 0 ram_check(0x00000000, msr.lo+(msr.hi<<32)); #else -#if 0 +#if 1 // Check 16MB of memory @ 0 ram_check(0x00000000, 0x01000000); #else |