summaryrefslogtreecommitdiff
path: root/board/freescale/t104xrdb/cpld.h
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-21 19:25:26 (GMT)
committerYork Sun <york.sun@nxp.com>2016-11-24 07:42:14 (GMT)
commit78e5699523ca305e55813683e4e30257c900458d (patch)
treea6647916a2e72fd496e2afd74cfd34f7d90cd67f /board/freescale/t104xrdb/cpld.h
parent0167369cff10cc0662052127304f82e1cce8f62f (diff)
downloadu-boot-78e5699523ca305e55813683e4e30257c900458d.tar.xz
powerpc: T104xRDB: Remove macro CONFIG_T104xRDB and T104xD4RDB
CONFIG_T104xRDB is defined in T104xRDB.h, so it is always enabled for all T1040RDB, T1040D4RDB, T1042RDB, T1042D4RDB, T1042RDB_PI. CONFIG_T104XD4RDB is defined for all T1040D4RDB, T1042D4RDB. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale/t104xrdb/cpld.h')
-rw-r--r--board/freescale/t104xrdb/cpld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/t104xrdb/cpld.h b/board/freescale/t104xrdb/cpld.h
index 86de26c..7adf5e4 100644
--- a/board/freescale/t104xrdb/cpld.h
+++ b/board/freescale/t104xrdb/cpld.h
@@ -21,7 +21,7 @@ struct cpld_data {
u8 int_status; /* 0x12 - Interrupt status Register */
u8 flash_ctl_status; /* 0x13 - Flash control and status register */
u8 fan_ctl_status; /* 0x14 - Fan control and status register */
-#if defined(CONFIG_T104XD4RDB)
+#if defined(CONFIG_TARGET_T1040D4RDB) || defined(CONFIG_TARGET_T1042D4RDB)
u8 int_mask; /* 0x15 - Interrupt mask Register */
#else
u8 led_ctl_status; /* 0x15 - LED control and status register */