diff options
author | Qianyu Gong <qianyu.gong@nxp.com> | 2016-04-26 12:51:43 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-05-18 08:51:45 -0700 |
commit | 9718650f8c37fe53727bde26ffc0ecba814008b5 (patch) | |
tree | f65ac9b2944b54862e2ee65c81b75552faad5c6b /board/freescale | |
parent | ec93abe6f722e6e0103f96ee01bcd376e246f111 (diff) | |
download | u-boot-imx-9718650f8c37fe53727bde26ffc0ecba814008b5.zip u-boot-imx-9718650f8c37fe53727bde26ffc0ecba814008b5.tar.gz u-boot-imx-9718650f8c37fe53727bde26ffc0ecba814008b5.tar.bz2 |
armv8: ls1043ardb: fix types of variables
Using u16 for cfg_rcw_src and u8 for sd1refclk_sel is enough.
Signed-off-by: Gong Qianyu <Qianyu.Gong@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/ls1043ardb/ls1043ardb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/ls1043ardb/ls1043ardb.c b/board/freescale/ls1043ardb/ls1043ardb.c index 2ed5ce1..b169139 100644 --- a/board/freescale/ls1043ardb/ls1043ardb.c +++ b/board/freescale/ls1043ardb/ls1043ardb.c @@ -30,12 +30,12 @@ DECLARE_GLOBAL_DATA_PTR; int checkboard(void) { - static const char *freq[3] = {"100.00MHZ", "156.25MHZ"}; + static const char *freq[2] = {"100.00MHZ", "156.25MHZ"}; #ifndef CONFIG_SD_BOOT u8 cfg_rcw_src1, cfg_rcw_src2; - u32 cfg_rcw_src; + u16 cfg_rcw_src; #endif - u32 sd1refclk_sel; + u8 sd1refclk_sel; printf("Board: LS1043ARDB, boot from "); |