diff options
author | Markus Brunner <super.firetwister@googlemail.com> | 2008-03-05 21:38:12 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-03-07 09:15:26 +0100 |
commit | 772003e43957ee0c895abed7cd82cbe72820cbb8 (patch) | |
tree | df417cfd14da98e45a26ebb0dc58ece233093af7 /board | |
parent | fc84a8495ac750f6b4adae81f8c4f100f65b6340 (diff) | |
download | u-boot-imx-772003e43957ee0c895abed7cd82cbe72820cbb8.zip u-boot-imx-772003e43957ee0c895abed7cd82cbe72820cbb8.tar.gz u-boot-imx-772003e43957ee0c895abed7cd82cbe72820cbb8.tar.bz2 |
fix taihu soft spi_read
The taihu board used gpio_read_out_bit which reads the output register and not
the pin state.
Signed-off-by: Markus Brunner <super.firetwister@gmail.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/amcc/taihu/taihu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/amcc/taihu/taihu.c b/board/amcc/taihu/taihu.c index ea83671..eedde59 100644 --- a/board/amcc/taihu/taihu.c +++ b/board/amcc/taihu/taihu.c @@ -162,7 +162,7 @@ void spi_sda(int bit) unsigned char spi_read(void) { - return (unsigned char)gpio_read_out_bit(SPI_DIN_GPIO15); + return (unsigned char)gpio_read_in_bit(SPI_DIN_GPIO15); } void taihu_spi_chipsel(int cs) |