
This collection of patches comprises a set of various updates I've been on for Ventana.
In summary: - enable driver model - enable gpio command - enable dm-serial - enable thermal support - fixup for GW522x PCI enumeration - split out common code shared between SPL an U-Boot - pull down various init code to the SPL for use in Falcon mode - enable Falcon mode (based on env var)
The enabling of Falcon mode is dependent on a patch I submitted earlier allowing nand env in spl [1].
Currently Falcon mode is configured for NAND boot. I plan on re-working a pending patchset I have that allows dynamic env support (use mmc or nand env depending on boot device) but I still need to re-work that using driver-model so it will come later.
I will send a followup patch with README updates explaining our use of Falcon mode if everything here looks good.
Tim
[1] https://patchwork.ozlabs.org/patch/470191/
Tim Harvey (19): imx: ventana: set dtype env var to boot media imx: ventana: display SPL boot device imx: ventana: config: enable gpio command imx: ventana: config: enable driver model imx: ventana: register gpio's with gpio_request imx: ventana: enable DM_SERIAL imx: ventana: config: enable Thermal support imx: ventana: config: use MMC SPL RAW support imx: ventana: (cosmetic) clean up size defines for improved readability imx: ventana: fix pcie reset for GW522x imx: ventana: default msata/pci mux to pci before PCI enumeration imx: ventana: split out common functions between SPL and uboot imx: ventana: move GSC boot watchdog disable function to gsc.c imx: ventana: detect pmic using i2c probe instead of board model imx: ventana: use common uart and i2c setup functions in SPL imx: ventana: add gpio setup to SPL imx: ventana: add pmic_setup to SPL imx: ventana: add GSC boot watchdog disable to SPL imx: ventana: config: enable Falcon mode
board/gateworks/gw_ventana/Makefile | 2 +- board/gateworks/gw_ventana/common.c | 827 +++++++++++++++++++++++++ board/gateworks/gw_ventana/common.h | 98 +++ board/gateworks/gw_ventana/gsc.c | 27 + board/gateworks/gw_ventana/gsc.h | 1 + board/gateworks/gw_ventana/gw_ventana.c | 911 ++-------------------------- board/gateworks/gw_ventana/gw_ventana_spl.c | 103 ++-- include/configs/gw_ventana.h | 67 +- 8 files changed, 1102 insertions(+), 934 deletions(-) create mode 100644 board/gateworks/gw_ventana/common.c create mode 100644 board/gateworks/gw_ventana/common.h