fsp_baytrail: Add macros for legacy GPIO output set up
commit737c54d4d32dfe02b629ba7f4e86de4119c30d86
authorWerner Zeh <werner.zeh@siemens.com>
Fri, 6 Nov 2015 07:22:22 +0000 (6 08:22 +0100)
committerWerner Zeh <werner.zeh@siemens.com>
Wed, 11 Nov 2015 05:42:01 +0000 (11 06:42 +0100)
tree1c302c35496a98dfdc21479fc22f85418ed9ce20
parent74e03a4fdd597a027e41f826a8f1d9ec5b21c17f
fsp_baytrail: Add macros for legacy GPIO output set up

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
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: http://review.coreboot.org/12340
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
src/mainboard/intel/minnowmax/gpio.c
src/soc/intel/fsp_baytrail/baytrail/gpio.h