diff options
author | Tim Harvey <tharvey@gateworks.com> | 2015-05-08 18:28:35 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-05-15 19:21:25 +0200 |
commit | e56c5791afae91c0950875d4df2ad1fcc14702a6 (patch) | |
tree | 132cbf1652ba9921e2c16c232fda78e555559e7b /board/gateworks/gw_ventana/Makefile | |
parent | 77c550189369eeb82f2a67681b343dea68809e62 (diff) | |
download | u-boot-e56c5791afae91c0950875d4df2ad1fcc14702a6.tar.gz |
imx: ventana: split out common functions between SPL and uboot
Move shared functions used by both SPL and U-Boot to common.c:
- setup_iomux_uart() and uart pad config
- gpio pad config
In the process also moved the following to common.c in preparation for
calling it from the SPL:
- split i2c setup into a shared function
- move pmic init to setup_pmic() function to call directly from
power_init_board()
- split gpio setup into early (iomux and default pin config)
and late (output configuration based on env)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'board/gateworks/gw_ventana/Makefile')
-rw-r--r-- | board/gateworks/gw_ventana/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gateworks/gw_ventana/Makefile b/board/gateworks/gw_ventana/Makefile index 33a1788f20..8fa691aefc 100644 --- a/board/gateworks/gw_ventana/Makefile +++ b/board/gateworks/gw_ventana/Makefile @@ -6,6 +6,6 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-y := gw_ventana.o gsc.o eeprom.o +obj-y := gw_ventana.o gsc.o eeprom.o common.o obj-$(CONFIG_SPL_BUILD) += gw_ventana_spl.o |