summaryrefslogtreecommitdiff
path: root/board/freescale/t104xrdb/t104xrdb.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-11-29 19:42:48 -0500
committerTom Rini <trini@konsulko.com>2016-11-29 19:42:48 -0500
commit6b29a395b62965eef6b5065d3a526a8588a92038 (patch)
treed9404d155aa96dd58ff9d02cdb2a30e7136405da /board/freescale/t104xrdb/t104xrdb.c
parentdbd5df89d65172f94dec78af809f1e50dbd61fe6 (diff)
parente8a390f0189c5868f2fa305004821bcfcd71d32c (diff)
downloadu-boot-imx-6b29a395b62965eef6b5065d3a526a8588a92038.zip
u-boot-imx-6b29a395b62965eef6b5065d3a526a8588a92038.tar.gz
u-boot-imx-6b29a395b62965eef6b5065d3a526a8588a92038.tar.bz2
Merge git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'board/freescale/t104xrdb/t104xrdb.c')
-rw-r--r--board/freescale/t104xrdb/t104xrdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/t104xrdb/t104xrdb.c b/board/freescale/t104xrdb/t104xrdb.c
index 6bad6a454..d4c3d4d 100644
--- a/board/freescale/t104xrdb/t104xrdb.c
+++ b/board/freescale/t104xrdb/t104xrdb.c
@@ -29,7 +29,7 @@ int checkboard(void)
struct cpu_type *cpu = gd->arch.cpu;
u8 sw;
-#ifdef CONFIG_T104XD4RDB
+#if defined(CONFIG_TARGET_T1040D4RDB) || defined(CONFIG_TARGET_T1042D4RDB)
printf("Board: %sD4RDB\n", cpu->name);
#else
printf("Board: %sRDB\n", cpu->name);
@@ -105,7 +105,7 @@ int misc_init_r(void)
CPLD_WRITE(misc_ctl_status, CPLD_READ(misc_ctl_status) |
MISC_CTL_SG_SEL | MISC_CTL_AURORA_SEL);
-#if defined(CONFIG_T1040D4RDB)
+#if defined(CONFIG_TARGET_T1040D4RDB)
if (hwconfig("qe-tdm")) {
CPLD_WRITE(sfp_ctl_status, CPLD_READ(sfp_ctl_status) |
MISC_MUX_QE_TDM);