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 | |
parent | bea8e84b52ac3c499b5868978a29c20cf92cf88f (diff) |
Code cleanup.
Diffstat (limited to 'board/esd/cpci405')
-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 87375188997..f27668d1427 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, |