diff options
author | York Sun <york.sun@nxp.com> | 2016-11-17 22:19:18 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-11-24 07:42:09 (GMT) |
commit | 8435aa777e35dedba79756194aa7bad8c549ea46 (patch) | |
tree | 2ddc4ae9de7079784b084207a7f9a23fa13f274a /board/freescale | |
parent | b0c98b4b9f2eb8180eb1c4cc4164294267d8ec27 (diff) | |
download | u-boot-8435aa777e35dedba79756194aa7bad8c549ea46.tar.xz |
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')
-rw-r--r-- | board/freescale/p1_p2_rdb_pc/Kconfig | 3 | ||||
-rw-r--r-- | board/freescale/p1_p2_rdb_pc/ddr.c | 2 |
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, |