summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-17 13:48:39 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:09 -0800
commit4eedabfe9327ec5d8dc34a9f337a54022491baeb (patch)
tree5865bbcaf873873df9bc8d57458fc6df4fac14b2 /board/freescale
parentda439db35a556dc866bc25ce9eb47d7e4c6931f3 (diff)
downloadu-boot-imx-4eedabfe9327ec5d8dc34a9f337a54022491baeb.zip
u-boot-imx-4eedabfe9327ec5d8dc34a9f337a54022491baeb.tar.gz
u-boot-imx-4eedabfe9327ec5d8dc34a9f337a54022491baeb.tar.bz2
powerpc: P1024RDB: Separate from P1_P2_RDB_PC in Kconfig
Use TARGET_P1024RDB instead of sharing with TARGET_P1_P2_RDB_PC to simplify Kconfig and macros. Remove macro CONFIG_P1024RDB. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale')
-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 8160f44..91ba21e 100644
--- a/board/freescale/p1_p2_rdb_pc/Kconfig
+++ b/board/freescale/p1_p2_rdb_pc/Kconfig
@@ -3,7 +3,8 @@ if TARGET_P1_P2_RDB_PC || \
TARGET_P1020RDB_PC || \
TARGET_P1020RDB_PD || \
TARGET_P1020UTM || \
- TARGET_P1021RDB
+ TARGET_P1021RDB || \
+ TARGET_P1024RDB
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 59cd89a..446935e 100644
--- a/board/freescale/p1_p2_rdb_pc/ddr.c
+++ b/board/freescale/p1_p2_rdb_pc/ddr.c
@@ -146,7 +146,7 @@ dimm_params_t ddr_raw_timing = {
.refresh_rate_ps = 7800000,
.tfaw_ps = 37500,
};
-#elif defined(CONFIG_P1024RDB) || \
+#elif defined(CONFIG_TARGET_P1024RDB) || \
defined(CONFIG_P1025RDB)
/*
* Samsung K4B2G0846C-HCH9