aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-17 14:19:18 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:09 -0800
commit8435aa777e35dedba79756194aa7bad8c549ea46 (patch)
tree2ddc4ae9de7079784b084207a7f9a23fa13f274a /board
parentb0c98b4b9f2eb8180eb1c4cc4164294267d8ec27 (diff)
downloadu-boot-8435aa777e35dedba79756194aa7bad8c549ea46.zip
u-boot-8435aa777e35dedba79756194aa7bad8c549ea46.tar.gz
u-boot-8435aa777e35dedba79756194aa7bad8c549ea46.tar.bz2
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')
-rw-r--r--board/freescale/p1_p2_rdb_pc/Kconfig3
-rw-r--r--board/freescale/p1_p2_rdb_pc/ddr.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/board/freescale/p1_p2_rdb_pc/Kconfig b/board/freescale/p1_p2_rdb_pc/Kconfig
index f02549e..fb506d4 100644
--- a/board/freescale/p1_p2_rdb_pc/Kconfig
+++ b/board/freescale/p1_p2_rdb_pc/Kconfig
@@ -5,7 +5,8 @@ if TARGET_P1_P2_RDB_PC || \
TARGET_P1020UTM || \
TARGET_P1021RDB || \
TARGET_P1024RDB || \
- TARGET_P1025RDB
+ TARGET_P1025RDB || \
+ TARGET_P2020RDB
config SYS_BOARD
default "p1_p2_rdb_pc"
diff --git a/board/freescale/p1_p2_rdb_pc/ddr.c b/board/freescale/p1_p2_rdb_pc/ddr.c
index 44ab123..fc38326 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,