diff options
author | York Sun <york.sun@nxp.com> | 2016-11-18 00:53:54 +0300 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-11-24 10:42:08 +0300 |
commit | e9bc8a8fc1d53e8d674f85631578d33a40f2ddd8 (patch) | |
tree | 275c659980fc1b3a82d2ef00d2bca3fbc7362cf4 /board/freescale/p1_p2_rdb_pc | |
parent | f404b66ce118343b77ae58f78cccd6381b329dd1 (diff) | |
download | u-boot-e9bc8a8fc1d53e8d674f85631578d33a40f2ddd8.tar.xz |
powerpc: P1020UTM: Separate from P1_P2_RDB_P2 in Kconfig
Use TARGET_P1020UTM instead of sharing with TARGET_P1_P2_RDB_PC
to simplify Kconfig and config macros.
Remove macro CONFIG_P1020UTM.
Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/p1_p2_rdb_pc')
-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 c46e04e08d..7deb2ae9f6 100644 --- a/board/freescale/p1_p2_rdb_pc/Kconfig +++ b/board/freescale/p1_p2_rdb_pc/Kconfig @@ -1,7 +1,8 @@ if TARGET_P1_P2_RDB_PC || \ TARGET_P1020MBG || \ TARGET_P1020RDB_PC || \ - TARGET_P1020RDB_PD + TARGET_P1020RDB_PD || \ + TARGET_P1020UTM 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 8291c18846..6dc3957f2c 100644 --- a/board/freescale/p1_p2_rdb_pc/ddr.c +++ b/board/freescale/p1_p2_rdb_pc/ddr.c @@ -16,7 +16,7 @@ #ifdef CONFIG_SYS_DDR_RAW_TIMING #if defined(CONFIG_P1020RDB_PROTO) || \ defined(CONFIG_P1021RDB) || \ - defined(CONFIG_P1020UTM) + defined(CONFIG_TARGET_P1020UTM) /* Micron MT41J256M8_187E */ dimm_params_t ddr_raw_timing = { .n_ranks = 1, |