diff options
author | wdenk <wdenk> | 2004-12-16 21:44:03 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-12-16 21:44:03 +0000 |
commit | efe2a4d5cf96dd37bc4782ba1880cee4ed1117c5 (patch) | |
tree | 9b8636853fefbfcd38e804ddccac013bd216d50e /board/esd/cpci405/cpci405.c | |
parent | bea8e84b52ac3c499b5868978a29c20cf92cf88f (diff) | |
download | u-boot-imx-efe2a4d5cf96dd37bc4782ba1880cee4ed1117c5.zip u-boot-imx-efe2a4d5cf96dd37bc4782ba1880cee4ed1117c5.tar.gz u-boot-imx-efe2a4d5cf96dd37bc4782ba1880cee4ed1117c5.tar.bz2 |
Code cleanup.
Diffstat (limited to 'board/esd/cpci405/cpci405.c')
-rw-r--r-- | board/esd/cpci405/cpci405.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/esd/cpci405/cpci405.c b/board/esd/cpci405/cpci405.c index 8737518..f27668d 100644 --- a/board/esd/cpci405/cpci405.c +++ b/board/esd/cpci405/cpci405.c @@ -559,11 +559,11 @@ void ide_set_reset(int on) #ifdef CONFIG_CPCI405AB #define ONE_WIRE_CLEAR (*(volatile unsigned short *)(CFG_FPGA_BASE_ADDR + CFG_FPGA_MODE) \ - |= CFG_FPGA_MODE_1WIRE_DIR) + |= CFG_FPGA_MODE_1WIRE_DIR) #define ONE_WIRE_SET (*(volatile unsigned short *)(CFG_FPGA_BASE_ADDR + CFG_FPGA_MODE) \ - &= ~CFG_FPGA_MODE_1WIRE_DIR) + &= ~CFG_FPGA_MODE_1WIRE_DIR) #define ONE_WIRE_GET (*(volatile unsigned short *)(CFG_FPGA_BASE_ADDR + CFG_FPGA_STATUS) \ - & CFG_FPGA_MODE_1WIRE) + & CFG_FPGA_MODE_1WIRE) /* * Generate a 1-wire reset, return 1 if no presence detect was found, |