summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2017-08-10 20:49:05 -0400
committerArthur Heymans <arthur@aheymans.xyz>2017-08-15 21:00:36 +0000
commit95f296e47cefe5da950c59b3f4234fffc5fc8a2f (patch)
tree9eaae26c19d25c937a4d8ae8096fd5dbe840c283
parent0fda9f54c774b73efbd89ae20ed10136fa55dc96 (diff)
downloadcoreboot-95f296e47cefe5da950c59b3f4234fffc5fc8a2f.tar.xz
440BX boards: Use combined RAM init routine
Change all 440BX boards to use the combined RAM init routine added in commit 078e3240 (northbridge/intel/i440bx: Merge RAM init routines) [1]. [1] https://review.coreboot.org/20676 Change-Id: I699db882189f99018d4a6fdcb00f9438b2a7a1bc Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/20868 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
-rw-r--r--src/mainboard/a-trend/atc-6220/romstage.c5
-rw-r--r--src/mainboard/a-trend/atc-6240/romstage.c5
-rw-r--r--src/mainboard/asus/p2b-ds/romstage.c5
-rw-r--r--src/mainboard/asus/p2b-ls/romstage.c5
-rw-r--r--src/mainboard/asus/p2b/romstage.c5
-rw-r--r--src/mainboard/asus/p3b-f/romstage.c5
-rw-r--r--src/mainboard/azza/pt-6ibd/romstage.c5
-rw-r--r--src/mainboard/compaq/deskpro_en_sff_p600/romstage.c5
-rw-r--r--src/mainboard/gigabyte/ga-6bxc/romstage.c5
-rw-r--r--src/mainboard/gigabyte/ga-6bxe/romstage.c5
-rw-r--r--src/mainboard/msi/ms6119/romstage.c5
-rw-r--r--src/mainboard/msi/ms6147/romstage.c5
-rw-r--r--src/mainboard/msi/ms6156/romstage.c5
-rw-r--r--src/mainboard/nokia/ip530/romstage.c5
-rw-r--r--src/mainboard/soyo/sy-6ba-plus-iii/romstage.c5
-rw-r--r--src/mainboard/tyan/s1846/romstage.c5
16 files changed, 16 insertions, 64 deletions
diff --git a/src/mainboard/a-trend/atc-6220/romstage.c b/src/mainboard/a-trend/atc-6220/romstage.c
index 6cf86c110c..70e4323281 100644
--- a/src/mainboard/a-trend/atc-6220/romstage.c
+++ b/src/mainboard/a-trend/atc-6220/romstage.c
@@ -39,8 +39,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/a-trend/atc-6240/romstage.c b/src/mainboard/a-trend/atc-6240/romstage.c
index cbb0207a06..8dd968660f 100644
--- a/src/mainboard/a-trend/atc-6240/romstage.c
+++ b/src/mainboard/a-trend/atc-6240/romstage.c
@@ -39,8 +39,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/asus/p2b-ds/romstage.c b/src/mainboard/asus/p2b-ds/romstage.c
index 809f1f6709..1d34bd9cd0 100644
--- a/src/mainboard/asus/p2b-ds/romstage.c
+++ b/src/mainboard/asus/p2b-ds/romstage.c
@@ -39,8 +39,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/asus/p2b-ls/romstage.c b/src/mainboard/asus/p2b-ls/romstage.c
index 5ed878fbee..ecfc8b8224 100644
--- a/src/mainboard/asus/p2b-ls/romstage.c
+++ b/src/mainboard/asus/p2b-ls/romstage.c
@@ -40,8 +40,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/asus/p2b/romstage.c b/src/mainboard/asus/p2b/romstage.c
index 6cf86c110c..70e4323281 100644
--- a/src/mainboard/asus/p2b/romstage.c
+++ b/src/mainboard/asus/p2b/romstage.c
@@ -39,8 +39,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/asus/p3b-f/romstage.c b/src/mainboard/asus/p3b-f/romstage.c
index bb16c78f6f..0bb5bca314 100644
--- a/src/mainboard/asus/p3b-f/romstage.c
+++ b/src/mainboard/asus/p3b-f/romstage.c
@@ -76,10 +76,7 @@ void mainboard_romstage_entry(unsigned long bist)
enable_spd();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
disable_spd();
}
diff --git a/src/mainboard/azza/pt-6ibd/romstage.c b/src/mainboard/azza/pt-6ibd/romstage.c
index 61a2767986..eb031e0c7c 100644
--- a/src/mainboard/azza/pt-6ibd/romstage.c
+++ b/src/mainboard/azza/pt-6ibd/romstage.c
@@ -41,8 +41,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/compaq/deskpro_en_sff_p600/romstage.c b/src/mainboard/compaq/deskpro_en_sff_p600/romstage.c
index c93dc20c24..712ea96120 100644
--- a/src/mainboard/compaq/deskpro_en_sff_p600/romstage.c
+++ b/src/mainboard/compaq/deskpro_en_sff_p600/romstage.c
@@ -41,8 +41,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/gigabyte/ga-6bxc/romstage.c b/src/mainboard/gigabyte/ga-6bxc/romstage.c
index 425a615e99..7f85e0eeea 100644
--- a/src/mainboard/gigabyte/ga-6bxc/romstage.c
+++ b/src/mainboard/gigabyte/ga-6bxc/romstage.c
@@ -39,8 +39,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/gigabyte/ga-6bxe/romstage.c b/src/mainboard/gigabyte/ga-6bxe/romstage.c
index 85b36b979a..d4bdbe8dbb 100644
--- a/src/mainboard/gigabyte/ga-6bxe/romstage.c
+++ b/src/mainboard/gigabyte/ga-6bxe/romstage.c
@@ -40,8 +40,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/msi/ms6119/romstage.c b/src/mainboard/msi/ms6119/romstage.c
index 809f1f6709..1d34bd9cd0 100644
--- a/src/mainboard/msi/ms6119/romstage.c
+++ b/src/mainboard/msi/ms6119/romstage.c
@@ -39,8 +39,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/msi/ms6147/romstage.c b/src/mainboard/msi/ms6147/romstage.c
index 8cda4b84f3..6ac5ae169e 100644
--- a/src/mainboard/msi/ms6147/romstage.c
+++ b/src/mainboard/msi/ms6147/romstage.c
@@ -40,8 +40,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/msi/ms6156/romstage.c b/src/mainboard/msi/ms6156/romstage.c
index 37200e5363..6a3b7f4c65 100644
--- a/src/mainboard/msi/ms6156/romstage.c
+++ b/src/mainboard/msi/ms6156/romstage.c
@@ -39,8 +39,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/nokia/ip530/romstage.c b/src/mainboard/nokia/ip530/romstage.c
index e647aaefed..fa0585dbfe 100644
--- a/src/mainboard/nokia/ip530/romstage.c
+++ b/src/mainboard/nokia/ip530/romstage.c
@@ -38,8 +38,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c b/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c
index be79c7503b..0bb1ab2552 100644
--- a/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c
+++ b/src/mainboard/soyo/sy-6ba-plus-iii/romstage.c
@@ -38,8 +38,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}
diff --git a/src/mainboard/tyan/s1846/romstage.c b/src/mainboard/tyan/s1846/romstage.c
index 4819b8a6a4..28aac5dc20 100644
--- a/src/mainboard/tyan/s1846/romstage.c
+++ b/src/mainboard/tyan/s1846/romstage.c
@@ -38,8 +38,5 @@ void mainboard_romstage_entry(unsigned long bist)
report_bist_failure(bist);
enable_smbus();
- dump_spd_registers();
- sdram_set_registers();
- sdram_set_spd_registers();
- sdram_enable();
+ sdram_initialize();
}