From b04cc6b90204d55096a56d4f3cd707148a634c97 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Fri, 17 Mar 2017 14:14:14 -0700 Subject: chromeos / broadwell / jecht: Make save_chromeos_gpios() jecht-specific This callback was only required for a single mainboard, and it can easily be moved to mainboard-specific code. This patch removes it from the global namespace and isolates it to the Jecht board. (This makes it easier to separate vboot and chromeos code in a later patch.) Change-Id: I9cf67a75a052d1c86eda0393b6a9fbbe255fedf8 Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/18981 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/mainboard/google/jecht/romstage.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainboard/google/jecht/romstage.c') diff --git a/src/mainboard/google/jecht/romstage.c b/src/mainboard/google/jecht/romstage.c index a71d3fe53c..6203a1e457 100644 --- a/src/mainboard/google/jecht/romstage.c +++ b/src/mainboard/google/jecht/romstage.c @@ -46,6 +46,9 @@ void mainboard_romstage_entry(struct romstage_params *rp) /* Call into the real romstage main with this board's attributes. */ romstage_common(rp); + + if (IS_ENABLED(CONFIG_CHROMEOS)) + save_chromeos_gpios(); } void mainboard_pre_console_init(void) -- cgit v1.2.3