diff options
author | Fugang Duan <B38611@freescale.com> | 2012-03-20 14:23:29 +0800 |
---|---|---|
committer | Fugang Duan <B38611@freescale.com> | 2012-03-20 14:38:55 +0800 |
commit | 99db93a95b96ee389efe028e65bb91505d1d1f5e (patch) | |
tree | afb0f1276302af3bd4ea1b207f555c57ff280271 /board/freescale/mx6q_sabresd | |
parent | 34bd725fcc22e8e2435bbb7b3b51c05376ea9619 (diff) | |
download | u-boot-imx-99db93a95b96ee389efe028e65bb91505d1d1f5e.zip u-boot-imx-99db93a95b96ee389efe028e65bb91505d1d1f5e.tar.gz u-boot-imx-99db93a95b96ee389efe028e65bb91505d1d1f5e.tar.bz2 |
ENGR00177244 - imx6 : Use common fsl_sys_rev to check board reversion
- Use fsl_sys_rev to check Sebreauto board reversion.
- Add macro define for expedient print the board and chip name.
mx6_chip_name()
mx6_board_rev_name()
Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'board/freescale/mx6q_sabresd')
-rw-r--r-- | board/freescale/mx6q_sabresd/mx6q_sabresd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mx6q_sabresd/mx6q_sabresd.c b/board/freescale/mx6q_sabresd/mx6q_sabresd.c index 7266043..f7b6251 100644 --- a/board/freescale/mx6q_sabresd/mx6q_sabresd.c +++ b/board/freescale/mx6q_sabresd/mx6q_sabresd.c @@ -1114,8 +1114,8 @@ void enet_board_init(void) int checkboard(void) { printf("Board: %s-SABRESD: %s Board: 0x%x [", - (mx6_chip_is_dq() ? "i.MX6Q" : "i.MX6DL/Solo"), - (mx6_board_is_revb() ? "RevB" : "RevA"), + mx6_chip_name(), + mx6_board_rev_name(), fsl_system_rev); switch (__REG(SRC_BASE_ADDR + 0x8)) { |