This function can return an error. Correct the detection of this error so that it works even with large 32-bit addresses. The return value is set up for returning an I/O address but the function is also used to return a memory-mapped address. Adjust the return code to make this work. Also add a bit more debugging. Signed-off-by: Simon Glass <sjg@chromium.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| adi_gpio2.c | ||
| altera_pio.c | ||
| at91_gpio.c | ||
| axp_gpio.c | ||
| bcm2835_gpio.c | ||
| da8xx_gpio.c | ||
| db8500_gpio.c | ||
| dwapb_gpio.c | ||
| gpio-uclass.c | ||
| hi6220_gpio.c | ||
| intel_ich6_gpio.c | ||
| kona_gpio.c | ||
| kw_gpio.c | ||
| lpc32xx_gpio.c | ||
| mpc83xx_gpio.c | ||
| mvgpio.c | ||
| mvgpio.h | ||
| mvmfp.c | ||
| mxc_gpio.c | ||
| mxs_gpio.c | ||
| omap_gpio.c | ||
| pca953x.c | ||
| pca9698.c | ||
| s3c2440_gpio.c | ||
| s5p_gpio.c | ||
| sandbox.c | ||
| sh_pfc.c | ||
| spear_gpio.c | ||
| stm32_gpio.c | ||
| sunxi_gpio.c | ||
| sx151x.c | ||
| tca642x.c | ||
| tegra_gpio.c | ||
| vybrid_gpio.c | ||
| xilinx_gpio.c | ||
| zynq_gpio.c | ||