[coreboot-gerrit] Patch set updated for coreboot: 796f714 mainboards/amdfam10: Copy DIMM information to cbmem after romstage

Timothy Pearson (tpearson@raptorengineeringinc.com) gerrit at coreboot.org
Sat Mar 28 08:49:06 CET 2015


Timothy Pearson (tpearson at raptorengineeringinc.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/9138

-gerrit

commit 796f714fc604c4b2da4b134da3484eb7e5b42b24
Author: Timothy Pearson <tpearson at raptorengineeringinc.com>
Date:   Fri Mar 27 22:49:18 2015 -0500

    mainboards/amdfam10: Copy DIMM information to cbmem after romstage
    
    Change-Id: I07376e276e3e9e3247d2576a09e58780d32a3a76
    Signed-off-by: Timothy Pearson <tpearson at raptorengineeringinc.com>
---
 src/mainboard/advansus/a785e-i/romstage.c            | 3 +++
 src/mainboard/amd/bimini_fam10/romstage.c            | 3 +++
 src/mainboard/amd/mahogany_fam10/romstage.c          | 3 +++
 src/mainboard/amd/serengeti_cheetah_fam10/romstage.c | 3 +++
 src/mainboard/amd/tilapia_fam10/romstage.c           | 3 +++
 src/mainboard/asus/kfsn4-dre/romstage.c              | 3 +++
 src/mainboard/asus/m4a78-em/romstage.c               | 3 +++
 src/mainboard/asus/m4a785-m/romstage.c               | 3 +++
 src/mainboard/asus/m5a88-v/romstage.c                | 3 +++
 src/mainboard/avalue/eax-785e/romstage.c             | 3 +++
 src/mainboard/gigabyte/ma785gm/romstage.c            | 3 +++
 src/mainboard/gigabyte/ma785gmt/romstage.c           | 3 +++
 src/mainboard/gigabyte/ma78gm/romstage.c             | 3 +++
 src/mainboard/hp/dl165_g6_fam10/romstage.c           | 3 +++
 src/mainboard/iei/kino-780am2-fam10/romstage.c       | 3 +++
 src/mainboard/jetway/pa78vm5/romstage.c              | 3 +++
 src/mainboard/msi/ms9652_fam10/romstage.c            | 3 +++
 src/mainboard/supermicro/h8dmr_fam10/romstage.c      | 3 +++
 src/mainboard/supermicro/h8qme_fam10/romstage.c      | 3 +++
 src/mainboard/supermicro/h8scm_fam10/romstage.c      | 3 +++
 src/mainboard/tyan/s2912_fam10/romstage.c            | 3 +++
 21 files changed, 63 insertions(+)

diff --git a/src/mainboard/advansus/a785e-i/romstage.c b/src/mainboard/advansus/a785e-i/romstage.c
index a70c269..a8459f2 100644
--- a/src/mainboard/advansus/a785e-i/romstage.c
+++ b/src/mainboard/advansus/a785e-i/romstage.c
@@ -210,6 +210,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/amd/bimini_fam10/romstage.c b/src/mainboard/amd/bimini_fam10/romstage.c
index f4df3a3..5936bee 100644
--- a/src/mainboard/amd/bimini_fam10/romstage.c
+++ b/src/mainboard/amd/bimini_fam10/romstage.c
@@ -208,6 +208,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/amd/mahogany_fam10/romstage.c b/src/mainboard/amd/mahogany_fam10/romstage.c
index 501c8c3..23c611e 100644
--- a/src/mainboard/amd/mahogany_fam10/romstage.c
+++ b/src/mainboard/amd/mahogany_fam10/romstage.c
@@ -210,6 +210,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c b/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c
index 2932c83..a09bff9 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/romstage.c
@@ -322,6 +322,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/amd/tilapia_fam10/romstage.c b/src/mainboard/amd/tilapia_fam10/romstage.c
index 97bf51a..b0588ef 100644
--- a/src/mainboard/amd/tilapia_fam10/romstage.c
+++ b/src/mainboard/amd/tilapia_fam10/romstage.c
@@ -210,6 +210,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/asus/kfsn4-dre/romstage.c b/src/mainboard/asus/kfsn4-dre/romstage.c
index af6858f..f7db5fe 100644
--- a/src/mainboard/asus/kfsn4-dre/romstage.c
+++ b/src/mainboard/asus/kfsn4-dre/romstage.c
@@ -353,6 +353,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 	printk(BIOS_DEBUG, "disable_spd()\n");
 	ck804_control(ctrl_conf_disable_spd, ARRAY_SIZE(ctrl_conf_disable_spd), CK804_DEVN_BASE);
 
diff --git a/src/mainboard/asus/m4a78-em/romstage.c b/src/mainboard/asus/m4a78-em/romstage.c
index da63c66..7c299a3 100644
--- a/src/mainboard/asus/m4a78-em/romstage.c
+++ b/src/mainboard/asus/m4a78-em/romstage.c
@@ -212,6 +212,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/asus/m4a785-m/romstage.c b/src/mainboard/asus/m4a785-m/romstage.c
index e0c132f..e7b20b9 100644
--- a/src/mainboard/asus/m4a785-m/romstage.c
+++ b/src/mainboard/asus/m4a785-m/romstage.c
@@ -212,6 +212,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/asus/m5a88-v/romstage.c b/src/mainboard/asus/m5a88-v/romstage.c
index cc4d04d..b98b7c7 100644
--- a/src/mainboard/asus/m5a88-v/romstage.c
+++ b/src/mainboard/asus/m5a88-v/romstage.c
@@ -207,6 +207,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/avalue/eax-785e/romstage.c b/src/mainboard/avalue/eax-785e/romstage.c
index 5cc9fb1..b54c41c 100644
--- a/src/mainboard/avalue/eax-785e/romstage.c
+++ b/src/mainboard/avalue/eax-785e/romstage.c
@@ -211,6 +211,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/gigabyte/ma785gm/romstage.c b/src/mainboard/gigabyte/ma785gm/romstage.c
index 991531d..68b8113 100644
--- a/src/mainboard/gigabyte/ma785gm/romstage.c
+++ b/src/mainboard/gigabyte/ma785gm/romstage.c
@@ -207,6 +207,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/gigabyte/ma785gmt/romstage.c b/src/mainboard/gigabyte/ma785gmt/romstage.c
index a022a20..aad412d 100644
--- a/src/mainboard/gigabyte/ma785gmt/romstage.c
+++ b/src/mainboard/gigabyte/ma785gmt/romstage.c
@@ -207,6 +207,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/gigabyte/ma78gm/romstage.c b/src/mainboard/gigabyte/ma78gm/romstage.c
index 7675e25..ae72af9 100644
--- a/src/mainboard/gigabyte/ma78gm/romstage.c
+++ b/src/mainboard/gigabyte/ma78gm/romstage.c
@@ -210,6 +210,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/hp/dl165_g6_fam10/romstage.c b/src/mainboard/hp/dl165_g6_fam10/romstage.c
index bf054d5..b748460 100644
--- a/src/mainboard/hp/dl165_g6_fam10/romstage.c
+++ b/src/mainboard/hp/dl165_g6_fam10/romstage.c
@@ -214,6 +214,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 	bcm5785_early_setup();
 
 	timestamp_add_now(TS_END_ROMSTAGE);
diff --git a/src/mainboard/iei/kino-780am2-fam10/romstage.c b/src/mainboard/iei/kino-780am2-fam10/romstage.c
index 5f99df6..78956bd 100644
--- a/src/mainboard/iei/kino-780am2-fam10/romstage.c
+++ b/src/mainboard/iei/kino-780am2-fam10/romstage.c
@@ -210,6 +210,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/jetway/pa78vm5/romstage.c b/src/mainboard/jetway/pa78vm5/romstage.c
index 1686988..32a759f 100644
--- a/src/mainboard/jetway/pa78vm5/romstage.c
+++ b/src/mainboard/jetway/pa78vm5/romstage.c
@@ -215,6 +215,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/msi/ms9652_fam10/romstage.c b/src/mainboard/msi/ms9652_fam10/romstage.c
index b2bfc8b..ac33b4e 100644
--- a/src/mainboard/msi/ms9652_fam10/romstage.c
+++ b/src/mainboard/msi/ms9652_fam10/romstage.c
@@ -241,6 +241,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 	timestamp_add_now(TS_END_ROMSTAGE);
 
 	post_cache_as_ram();	// BSP switch stack to ram, copy then execute LB.
diff --git a/src/mainboard/supermicro/h8dmr_fam10/romstage.c b/src/mainboard/supermicro/h8dmr_fam10/romstage.c
index 980437b..1b0fdc4 100644
--- a/src/mainboard/supermicro/h8dmr_fam10/romstage.c
+++ b/src/mainboard/supermicro/h8dmr_fam10/romstage.c
@@ -238,6 +238,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 	timestamp_add_now(TS_END_ROMSTAGE);
 
 	post_cache_as_ram(); // BSP switch stack to ram, copy + execute stage 2
diff --git a/src/mainboard/supermicro/h8qme_fam10/romstage.c b/src/mainboard/supermicro/h8qme_fam10/romstage.c
index 20522e1..1b18bab 100644
--- a/src/mainboard/supermicro/h8qme_fam10/romstage.c
+++ b/src/mainboard/supermicro/h8qme_fam10/romstage.c
@@ -301,6 +301,9 @@ post_code(0x40);
  cbmem_initialize_empty();
  post_code(0x41);
 
+ printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+ amdmct_cbmem_store_info(sysinfo);
+
 	timestamp_add_now(TS_END_ROMSTAGE);
 
  post_cache_as_ram();  // BSP switch stack to ram, copy then execute LB.
diff --git a/src/mainboard/supermicro/h8scm_fam10/romstage.c b/src/mainboard/supermicro/h8scm_fam10/romstage.c
index 355cf82..3ce6d3b 100644
--- a/src/mainboard/supermicro/h8scm_fam10/romstage.c
+++ b/src/mainboard/supermicro/h8scm_fam10/romstage.c
@@ -222,6 +222,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 /*
 	dump_pci_device_range(PCI_DEV(0, 0x18, 0), 0, 0x200);
 	dump_pci_device_range(PCI_DEV(0, 0x18, 1), 0, 0x200);
diff --git a/src/mainboard/tyan/s2912_fam10/romstage.c b/src/mainboard/tyan/s2912_fam10/romstage.c
index 933d709..5f5e9eb 100644
--- a/src/mainboard/tyan/s2912_fam10/romstage.c
+++ b/src/mainboard/tyan/s2912_fam10/romstage.c
@@ -237,6 +237,9 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
 	cbmem_initialize_empty();
 	post_code(0x41);
 
+	printk(BIOS_DEBUG, "amdmct_cbmem_store_info()\n");
+	amdmct_cbmem_store_info(sysinfo);
+
 	timestamp_add_now(TS_END_ROMSTAGE);
 
 	post_cache_as_ram();	// BSP switch stack to ram, copy then execute LB.



More information about the coreboot-gerrit mailing list