diff options
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | 2009-02-20 10:19:15 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-20 22:39:13 +0100 |
commit | 09db8f4de6805f1dde510c167f20e56a5405d29e (patch) | |
tree | 72724162620384251ca508fdb94f23381e61f4a3 /board/esd | |
parent | 75511b47ac2647be48218dbb93af05b21f404f67 (diff) | |
download | u-boot-imx-09db8f4de6805f1dde510c167f20e56a5405d29e.zip u-boot-imx-09db8f4de6805f1dde510c167f20e56a5405d29e.tar.gz u-boot-imx-09db8f4de6805f1dde510c167f20e56a5405d29e.tar.bz2 |
ppc4xx: DU405 maintenance fix
-strip unused features
-fix resetting phy
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/esd')
-rw-r--r-- | board/esd/du405/du405.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/board/esd/du405/du405.c b/board/esd/du405/du405.c index 8a87d55..3bb34fd 100644 --- a/board/esd/du405/du405.c +++ b/board/esd/du405/du405.c @@ -191,10 +191,16 @@ int checkboard (void) *(volatile unsigned char *) FPGA_MODE_REG = 0xff; /* reset high active */ *(volatile unsigned char *) FPGA_MODE_REG = 0x00; /* low again */ + return 0; +} + +void reset_phy(void) +{ +#if defined(CONFIG_LXT971_NO_SLEEP) + /* * Disable sleep mode in LXT971 */ lxt971_no_sleep(); - - return 0; +#endif } |