u-boot/drivers
Axel Lin c0c374024d gpio: spear_gpio: Fix gpio_set_value() implementation
In current gpio_set_value() implementation, it always sets the gpio control bit
no matter the value argument is 0 or 1. Thus the GPIOs never set to low.
This patch fixes this bug.

The address bus is used as a mask on read/write operations, so that independent
software drivers can set their GPIO bits without affecting any other pins in a
single write operation. Thus we don't need a read-modify-write to update the
register.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Stefan Roese <sr@denx.de>
Reviewed-by: Vipin Kumar <vipin.kumar@st.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
2014-07-04 21:37:29 +02:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block dwc_ahsata: return failure for MX6 if not IMX6Q/IMX6D 2014-06-06 10:14:07 +02:00
bootcount i2c, bootcount: add support for bootcounter on i2c devices 2014-02-20 06:46:56 +01:00
core dm: Cast away the const-ness of the global_data pointer 2014-06-20 11:55:49 -06:00
crypto includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
ddr/fsl driver/ddr/fsl: Fix printing unspecified module info for DDR4 2014-06-05 13:45:07 -07:00
demo dm: Rename struct device_id to udevice_id 2014-06-20 11:55:18 -06:00
dfu dfu: Disable default calculation of CRC32 2014-06-11 02:31:48 +02:00
dma drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
fpga m68k: Fix warnings with gcc 4.6 2014-06-11 16:27:05 -04:00
gpio gpio: spear_gpio: Fix gpio_set_value() implementation 2014-07-04 21:37:29 +02:00
hwmon kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
i2c ARMv8/FSL_LSCH3: Add FSL_LSCH3 SoC 2014-07-03 08:40:51 +02:00
input cros_ec: Support systems with no EC interrupt 2014-03-17 20:05:46 -06:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
mmc includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
mtd Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' 2014-07-01 15:11:18 +02:00
net armv8/fsl-lsch3: Add support to load and start MC Firmware 2014-07-03 08:40:58 +02:00
pci fsl/pci: Add workaround for erratum A-005434 2014-05-16 16:24:26 -05:00
pcmcia powerpc: remove RPXClassic, RPXlite boards support 2014-04-18 10:42:30 -04:00
power Merge remote-tracking branch 'u-boot-samsung/master' 2014-07-01 20:52:51 +02:00
qe qe: disable qe when qe-ucode fails to be uploaded for "deep sleep" 2014-05-13 08:26:56 -07:00
rtc kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
serial serial_mxc: disable new features of autobaud detection 2014-05-28 17:37:47 +02:00
sound sound: Move Samsung-specific code into its own file 2014-03-17 20:05:49 -06:00
spi Merge remote-tracking branch 'u-boot-samsung/master' 2014-07-01 20:52:51 +02:00
tpm sandbox: tpm: Fix nvwrite command 2014-01-08 17:26:17 -07:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb usb: ci_udc: use var name ep/ci_ep consistently 2014-07-02 15:45:38 +02:00
video video: atmel_hlcdfb: enable dcache support 2014-06-14 18:07:02 +02:00
watchdog Merge branch 'iu-boot/master' into 'u-boot-arm/master' 2013-11-09 22:59:47 +01:00
Makefile ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00