aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/p1_p2_rdb_pc/ddr.c
diff options
context:
space:
mode:
authorYork Sun2016-11-17 14:19:18 -0800
committerYork Sun2016-11-23 23:42:09 -0800
commit8435aa777e35dedba79756194aa7bad8c549ea46 (patch)
tree2ddc4ae9de7079784b084207a7f9a23fa13f274a /board/freescale/p1_p2_rdb_pc/ddr.c
parentb0c98b4b9f2eb8180eb1c4cc4164294267d8ec27 (diff)
powerpc: P2020RDB-PC: Separate from P1_P2_RDB_PC in Kconfig
Use TARGET_P2020RDB_PC instead of sharing with P1_P2_RDB_PC to simplify Kconfig and config macros. Remove macro CONFIG_P2020RDB. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/p1_p2_rdb_pc/ddr.c')
-rw-r--r--board/freescale/p1_p2_rdb_pc/ddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/p1_p2_rdb_pc/ddr.c b/board/freescale/p1_p2_rdb_pc/ddr.c
index 44ab123f790..fc383261380 100644
--- a/board/freescale/p1_p2_rdb_pc/ddr.c
+++ b/board/freescale/p1_p2_rdb_pc/ddr.c
@@ -47,7 +47,7 @@ dimm_params_t ddr_raw_timing = {
.refresh_rate_ps = 7800000,
.tfaw_ps = 37500,
};
-#elif defined(CONFIG_P2020RDB)
+#elif defined(CONFIG_TARGET_P2020RDB)
/* Micron MT41J128M16_15E */
dimm_params_t ddr_raw_timing = {
.n_ranks = 1,