summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/nyan_big/sdram_configs.c
diff options
context:
space:
mode:
authorTom Warren <twarren@nvidia.com>2014-06-10 13:46:48 -0700
committerMarc Jones <marc.jones@se-eng.com>2015-01-04 00:14:15 +0100
commit96ef1883a7a8b95f297f99fa7409f27c0f344d88 (patch)
treea23f6c50570c2ebc7ad241e0fa93080c0682f76f /src/mainboard/google/nyan_big/sdram_configs.c
parent1e3679ddd0fd03fdc00b50a45fc652a539b9c9a7 (diff)
downloadcoreboot-96ef1883a7a8b95f297f99fa7409f27c0f344d88.tar.gz
coreboot-96ef1883a7a8b95f297f99fa7409f27c0f344d88.tar.bz2
coreboot-96ef1883a7a8b95f297f99fa7409f27c0f344d88.zip
nyan_big: Update Hynix BCTs and add Kingston 2GB BCT.
Hynix 2GB/4GB configs have been fine-tuned. Kingston 2GB config is new, uses RAMCODE 0x6. BUG=none TEST=emerge-nyan_big coreboot-nyan_big OK. Flashed to my Big 2GB system (PVT1/SKU1) and it booted OK. BRANCH=nyan_big Original-Change-Id: I8a23a5568ef84d5befc13623f78bce664130f314 Original-Signed-off-by: Tom Warren <twarren@nvidia.com> Original-Reviewed-on: https://chromium-review.googlesource.com/203305 Original-Reviewed-by: David Hendricks <dhendrix@chromium.org> Original-Reviewed-by: Hung-Te Lin <hungte@chromium.org> (cherry picked from commit e47d18d8cff50f46d0a14715b6750f7aa6d0da82) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: I363db37d6a63d9f5c578e68a0149259657e1ebfd Reviewed-on: http://review.coreboot.org/8045 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/nyan_big/sdram_configs.c')
-rw-r--r--src/mainboard/google/nyan_big/sdram_configs.c36
1 files changed, 16 insertions, 20 deletions
diff --git a/src/mainboard/google/nyan_big/sdram_configs.c b/src/mainboard/google/nyan_big/sdram_configs.c
index 2aaace4b0c2b..748b6dc3ba1c 100644
--- a/src/mainboard/google/nyan_big/sdram_configs.c
+++ b/src/mainboard/google/nyan_big/sdram_configs.c
@@ -21,27 +21,23 @@
#include <soc/nvidia/tegra124/sdram.h>
#include "sdram_configs.h"
-/*
- * Note for board bring up, we've temporarily filled SDRAM table with
- * hynix-2GB-204 configuration (except the hynix-4GB-204 entry for 0100).
- */
static struct sdram_params sdram_configs[] = {
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 0000 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 0001 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 0010 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 0011 */
-#include "bct/sdram-hynix-4GB-204.inc" /* ram_code = 0100 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 0101 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 0110 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 0111 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 1000 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 1001 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 1010 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 1011 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 1100 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 1101 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 1110 */
-#include "bct/sdram-hynix-2GB-204.inc" /* ram_code = 1111 */
+#include "bct/sdram-unused.inc" /* ram_code = 0000 */
+#include "bct/sdram-hynix-2GB-792.inc" /* ram_code = 0001 */
+#include "bct/sdram-unused.inc" /* ram_code = 0010 */
+#include "bct/sdram-unused.inc" /* ram_code = 0011 */
+#include "bct/sdram-hynix-4GB-792.inc" /* ram_code = 0100 */
+#include "bct/sdram-unused.inc" /* ram_code = 0101 */
+#include "bct/sdram-kingston-2GB-792.inc" /* ram_code = 0110 */
+#include "bct/sdram-unused.inc" /* ram_code = 0111 */
+#include "bct/sdram-unused.inc" /* ram_code = 1000 */
+#include "bct/sdram-unused.inc" /* ram_code = 1001 */
+#include "bct/sdram-unused.inc" /* ram_code = 1010 */
+#include "bct/sdram-unused.inc" /* ram_code = 1011 */
+#include "bct/sdram-unused.inc" /* ram_code = 1100 */
+#include "bct/sdram-unused.inc" /* ram_code = 1101 */
+#include "bct/sdram-unused.inc" /* ram_code = 1110 */
+#include "bct/sdram-unused.inc" /* ram_code = 1111 */
};
const struct sdram_params *get_sdram_config()