]> git.baikalelectronics.ru Git - uboot.git/commit
board: gateworks: gw_ventana: use comomn GSC driver
authorTim Harvey <tharvey@gateworks.com>
Wed, 13 Apr 2022 16:29:16 +0000 (09:29 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 21 Apr 2022 10:44:24 +0000 (12:44 +0200)
commitf3e617afe0cd92b61610928f475dc6cf57c9ced6
tree528e70bf8e00d1f3dd5d63624a00957d74c172d0
parente0ba9701b8eab702a99a6347859966d4a7543edd
board: gateworks: gw_ventana: use comomn GSC driver

Use the common GSC driver.

This allows us to do some additional cleanup:
 - use the GSC driver functions
 - move waiting for the EEPROM to the SPL int (it will always be ready
   after this)
 - move eeprom functions into eeprom file and elimate GSC_I2C_BUS
 - eliminate some redundant EEPROM reads (the EEPROM must be read in
   SPL before relocation, in SPL after relocation, and in U-Boot init.
   All subsequent uses can use the global structure)
 - remove unnecessary header files and alphabatize includes

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
16 files changed:
arch/arm/mach-imx/mx6/Kconfig
board/gateworks/gw_ventana/Kconfig
board/gateworks/gw_ventana/Makefile
board/gateworks/gw_ventana/common.c
board/gateworks/gw_ventana/common.h
board/gateworks/gw_ventana/eeprom.c
board/gateworks/gw_ventana/eeprom.h [new file with mode: 0644]
board/gateworks/gw_ventana/gsc.h [deleted file]
board/gateworks/gw_ventana/gw_ventana.c
board/gateworks/gw_ventana/gw_ventana_spl.c
board/gateworks/gw_ventana/ventana_eeprom.h [deleted file]
configs/gwventana_emmc_defconfig
configs/gwventana_gw5904_defconfig
configs/gwventana_nand_defconfig
include/configs/gw_ventana.h
scripts/config_whitelist.txt