mb/google/{glados,dragonegg}: Configure GPIOs in mainboard chip->init()
commitca1187faa2a8a0deb7040c05e358442880c027be
authorFurquan Shaikh <furquan@google.com>
Wed, 23 Oct 2019 18:15:57 +0000 (23 11:15 -0700)
committerPatrick Georgi <pgeorgi@google.com>
Fri, 25 Oct 2019 06:55:37 +0000 (25 06:55 +0000)
tree60c4907ae8b1553a0500cfd54754b4e13507b3a2
parent514ddef4e51c3f9ec1747764e438b570e6725864
mb/google/{glados,dragonegg}: Configure GPIOs in mainboard chip->init()

mainboard_silicon_init_params() is supposed to be used for only
overriding any FSP params as per mainboard configuration. GPIOs should
be configured by mainboard as part of its chip init(). This ensures
proper ordering w.r.t. any common operations that the SoC code might
want to perform e.g. snapshot ITSS polarities.

This change moves the configuration of GPIOs from
mainboard_silicon_init_params() to mainboard chip->init().

Change-Id: I5d10c01c5b9d5f8ed02274d51dcf9c2a17269685
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36270
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/mainboard/google/dragonegg/Makefile.inc
src/mainboard/google/dragonegg/mainboard.c
src/mainboard/google/dragonegg/ramstage.c [deleted file]
src/mainboard/google/glados/Makefile.inc
src/mainboard/google/glados/mainboard.c
src/mainboard/google/glados/ramstage.c [deleted file]