diff options
author | Wolfgang Denk <wd@denx.de> | 2007-08-02 00:48:45 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-08-02 00:48:45 +0200 |
commit | cdd917a43da6fa7fc8f54a3cc9f420ce5ecf3197 (patch) | |
tree | d171af231adccfc25a395c6b656733f2f549774d /board/mpc8641hpcn/mpc8641hpcn.c | |
parent | 5dc210dec5bace98a50b6ba905347890091a9bb0 (diff) | |
download | u-boot-imx-cdd917a43da6fa7fc8f54a3cc9f420ce5ecf3197.zip u-boot-imx-cdd917a43da6fa7fc8f54a3cc9f420ce5ecf3197.tar.gz u-boot-imx-cdd917a43da6fa7fc8f54a3cc9f420ce5ecf3197.tar.bz2 |
Fix build errors and warnings / code cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/mpc8641hpcn/mpc8641hpcn.c')
-rw-r--r-- | board/mpc8641hpcn/mpc8641hpcn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/mpc8641hpcn/mpc8641hpcn.c b/board/mpc8641hpcn/mpc8641hpcn.c index 7d7e2af..5e02cc5 100644 --- a/board/mpc8641hpcn/mpc8641hpcn.c +++ b/board/mpc8641hpcn/mpc8641hpcn.c @@ -63,9 +63,10 @@ int checkboard(void) uint devdisr = gur->devdisr; uint io_sel = (gur->pordevsr & MPC86xx_PORDEVSR_IO_SEL) >> 16; +#ifdef DEBUG uint host1_agent = (gur->porbmsr & MPC86xx_PORBMSR_HA) >> 17; uint pex1_agent = (host1_agent == 0) || (host1_agent == 1); - +#endif if ((io_sel == 2 || io_sel == 3 || io_sel == 5 || io_sel == 6 || io_sel == 7 || io_sel == 0xF) && !(devdisr & MPC86xx_DEVDISR_PCIEX1)) { |