Author: stuge
Date: Sat Jun 4 17:47:05 2011
New Revision: 6633
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6633
Log:
Port persimmon r6591 to e350m1: ROM cache early
Enable rom cache early to reduce boot time.
Signed-off-by: Marshall Buschman <mbuschman(a)lucidmachines.com>
Acked-by: Peter Stuge <peter(a)stuge.se>
Modified:
trunk/src/mainboard/asrock/e350m1/agesawrapper.c
trunk/src/mainboard/asrock/e350m1/romstage.c
Modified: trunk/src/mainboard/asrock/e350m1/agesawrapper.c
==============================================================================
--- trunk/src/mainboard/asrock/e350m1/agesawrapper.c Sat Jun 4 17:46:50 2011 (r6632)
+++ trunk/src/mainboard/asrock/e350m1/agesawrapper.c Sat Jun 4 17:47:05 2011 (r6633)
@@ -157,13 +157,6 @@
PciData = (AMD_APU_SSID<<0x10)|AMD_APU_SVID;
LibAmdPciWrite(AccessWidth32, PciAddress, &PciData, &StdHeader);
-
- /* Set ROM cache onto WP to decrease post time */
- MsrReg = (0x0100000000 - CONFIG_ROM_SIZE) | 5;
- LibAmdMsrWrite (0x20C, &MsrReg, &StdHeader);
- MsrReg = (0x1000000000 - CONFIG_ROM_SIZE) | 0x800;
- LibAmdMsrWrite (0x20D, &MsrReg, &StdHeader);
-
Status = AGESA_SUCCESS;
return (UINT32)Status;
}
Modified: trunk/src/mainboard/asrock/e350m1/romstage.c
==============================================================================
--- trunk/src/mainboard/asrock/e350m1/romstage.c Sat Jun 4 17:46:50 2011 (r6632)
+++ trunk/src/mainboard/asrock/e350m1/romstage.c Sat Jun 4 17:47:05 2011 (r6633)
@@ -47,6 +47,11 @@
u32 val;
u8 reg8;
+ // all cores: allow caching of flash chip code and data
+ // (there are no cache-as-ram reliability concerns with family 14h)
+ __writemsr (0x20c, (0x0100000000ull - CONFIG_ROM_SIZE) | 5);
+ __writemsr (0x20d, (0x1000000000ull - CONFIG_ROM_SIZE) | 0x800);
+
// all cores: set pstate 0 (1600 MHz) early to save a few ms of boot time
__writemsr (0xc0010062, 0);
Author: stuge
Date: Sat Jun 4 17:47:30 2011
New Revision: 6634
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6634
Log:
Port persimmon r6592 to e350m1: Update GPP port configuration
Signed-off-by: Peter Stuge <peter(a)stuge.se>
Acked-by: Marshall Buschman <mbuschman(a)lucidmachines.com>
Modified:
trunk/src/mainboard/asrock/e350m1/devicetree.cb
Modified: trunk/src/mainboard/asrock/e350m1/devicetree.cb
==============================================================================
--- trunk/src/mainboard/asrock/e350m1/devicetree.cb Sat Jun 4 17:47:05 2011 (r6633)
+++ trunk/src/mainboard/asrock/e350m1/devicetree.cb Sat Jun 4 17:47:30 2011 (r6634)
@@ -99,12 +99,12 @@
end #LPC
device pci 14.4 on end # PCI 0x4384
device pci 14.5 on end # USB 2
- device pci 15.0 on end # PCIe PortA
- device pci 15.1 on end # PCIe PortB
- device pci 15.2 on end # PCIe PortC
- device pci 15.3 on end # PCIe PortD
- register "gpp_configuration" = "4" #1:1:1:1
- register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE
+ device pci 15.0 off end # PCIe PortA
+ device pci 15.1 off end # PCIe PortB
+ device pci 15.2 off end # PCIe PortC
+ device pci 15.3 off end # PCIe PortD
+ register "gpp_configuration" = "0" #4:0:0:0 (really need to disable all 4 somehow)
+ register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE
end #southbridge/amd/cimx_wrapper/sb800
# end # device pci 18.0
# These seem unnecessary
Author: stuge
Date: Sat Jun 4 17:45:46 2011
New Revision: 6629
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6629
Log:
Port persimmon r6587 to e350m1: RTC is not PIIX4 compatible
Declare RTC as not PIIX4 compatible to match AMD hardware.
Signed-off-by: Marshall Buschman <mbuschman(a)lucidmachines.com>
Acked-by: Peter Stuge <peter(a)stuge.se>
Modified:
trunk/src/mainboard/asrock/e350m1/dsdt.asl
Modified: trunk/src/mainboard/asrock/e350m1/dsdt.asl
==============================================================================
--- trunk/src/mainboard/asrock/e350m1/dsdt.asl Sat Jun 4 17:45:29 2011 (r6628)
+++ trunk/src/mainboard/asrock/e350m1/dsdt.asl Sat Jun 4 17:45:46 2011 (r6629)
@@ -1379,7 +1379,7 @@
/* Real Time Clock Device */
Device(RTC0) {
- Name(_HID, EISAID("PNP0B01")) /* AT Real Time Clock */
+ Name(_HID, EISAID("PNP0B00")) /* AT Real Time Clock (not PIIX4 compatible) */
Name(_CRS, ResourceTemplate() {
IRQNoFlags(){8}
IO(Decode16,0x0070, 0x0070, 0, 2)
Author: stuge
Date: Sat Jun 4 17:44:14 2011
New Revision: 6624
URL: https://tracker.coreboot.org/trac/coreboot/changeset/6624
Log:
Port persimmon r6578 and r6596 to e350m1: MMCONF base
Remove multiple mmconf settings and just use kconfig setting.
Signed-off-by: Peter Stuge <peter(a)stuge.se>
Acked-by: Peter Stuge <peter(a)stuge.se>
Modified:
trunk/src/mainboard/asrock/e350m1/dsdt.asl
Modified: trunk/src/mainboard/asrock/e350m1/dsdt.asl
==============================================================================
--- trunk/src/mainboard/asrock/e350m1/dsdt.asl Sat Jun 4 17:43:56 2011 (r6623)
+++ trunk/src/mainboard/asrock/e350m1/dsdt.asl Sat Jun 4 17:44:14 2011 (r6624)
@@ -36,7 +36,7 @@
Name(PBAD, 0x0) /* Address of BIOS area (If TOM2 != 0, Addr >> 16) */
Name(PBLN, 0x0) /* Length of BIOS area */
- Name(PCBA, 0xE0000000) /* Base address of PCIe config space */
+ Name(PCBA, CONFIG_MMCONF_BASE_ADDRESS) /* Base address of PCIe config space */
Name(HPBA, 0xFED00000) /* Base address of HPET table */
Name(SSFG, 0x0D) /* S1 support: bit 0, S2 Support: bit 1, etc. S0 & S5 assumed */