diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2016-01-27 05:01:53 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-02-02 20:36:10 (GMT) |
commit | 9e30ba2d75b2f4a4880080fc1f9795e9bf59408e (patch) | |
tree | 13fada0585646995db72f20011b5a9f43ff5c829 /drivers | |
parent | 5160def267739518950e8e3bb78e0e6c3941cb3e (diff) | |
download | u-boot-9e30ba2d75b2f4a4880080fc1f9795e9bf59408e.tar.xz |
dm: vybrid_gpio: Drop legacy code
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/vybrid_gpio.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/gpio/vybrid_gpio.c b/drivers/gpio/vybrid_gpio.c index 4d25f9a..a30ba5d 100644 --- a/drivers/gpio/vybrid_gpio.c +++ b/drivers/gpio/vybrid_gpio.c @@ -135,24 +135,6 @@ static int vybrid_gpio_bind(struct udevice *dev) return 0; } -#if !CONFIG_IS_ENABLED(OF_CONTROL) -static const struct vybrid_gpio_platdata vybrid_gpio[] = { - {0, GPIO0_BASE_ADDR, "GPIO0 "}, - {1, GPIO1_BASE_ADDR, "GPIO1 "}, - {2, GPIO2_BASE_ADDR, "GPIO2 "}, - {3, GPIO3_BASE_ADDR, "GPIO3 "}, - {4, GPIO4_BASE_ADDR, "GPIO4 "}, -}; - -U_BOOT_DEVICES(vybrid_gpio) = { - { "gpio_vybrid", &vybrid_gpio[0] }, - { "gpio_vybrid", &vybrid_gpio[1] }, - { "gpio_vybrid", &vybrid_gpio[2] }, - { "gpio_vybrid", &vybrid_gpio[3] }, - { "gpio_vybrid", &vybrid_gpio[4] }, -}; -#endif - static const struct udevice_id vybrid_gpio_ids[] = { { .compatible = "fsl,vf610-gpio" }, { } |