fsp_baytrail: Add macros for legacy GPIO output set up

Hardware / Coreboot - Werner Zeh [siemens.com] - 10 November 2015 23:42 UTC

Up to now the GPIO set up macros for input sets up GPIOs to be mapped to memory space while macros for outputs sets up GPIOs to be mapped to legacy io space. This patch adds two additional macros for legacy output definition and changes the old macros to memory space mapping.

In addition, the intel/minnowmax mainboard is modified to use the legacy macros for outputs to ensure this mainboard stays unchanged in terms of functionality.

TEST=Booted siemens/mc_tcu3 and ensured GPIO set up in linux.

Change-Id: I99e98d31e1a59e63c58d536f2c493d6dcbfd1e75

737c54d fsp_baytrail: Add macros for legacy GPIO output set up
src/mainboard/intel/minnowmax/gpio.c | 6 +++---
src/soc/intel/fsp_baytrail/baytrail/gpio.h | 21 +++++++++++++++++++--
2 files changed, 22 insertions(+), 5 deletions(-)

Upstream: review.coreboot.org


  • Share