veyron: move setup_chromeos_gpios() prototype to board.h

I always had that TODO comment in there but I had already forgotten what
I even meant by it. It's really just a simple cleanup... this function
is (currently) veyron-specific and doesn't belong in common code.

BRANCH=veyron
BUG=None
TEST=Booted Jerry.

Change-Id: Iccd6130c90e67b8ee905e188857c99deda966f14
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: d188398704575ad2fedc2a715e609521da2332b0
Original-Change-Id: I6ce701a15a6542a615d3d81f70aa71662567d4fa
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/241190
Reviewed-on: http://review.coreboot.org/9733
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Julius Werner 2015-01-15 17:00:21 -08:00 committed by Patrick Georgi
parent 249f9ccacb
commit d37bc75632
8 changed files with 7 additions and 10 deletions

View File

@ -25,6 +25,6 @@
#define GPIO_RESET GPIO(0, B, 5)
/* TODO: move setup_chromeos_gpios() here once bootblock code is in mainboard */
void setup_chromeos_gpios(void);
#endif /* __MAINBOARD_GOOGLE_VEYRON_BRAIN_BOARD_H */

View File

@ -26,6 +26,6 @@
#define GPIO_BACKLIGHT GPIO(7, A, 3)
#define GPIO_RESET GPIO(0, B, 5)
/* TODO: move setup_chromeos_gpios() here once bootblock code is in mainboard */
void setup_chromeos_gpios(void);
#endif /* __MAINBOARD_GOOGLE_VEYRON_BRAIN_BOARD_H */

View File

@ -26,6 +26,6 @@
#define GPIO_BACKLIGHT GPIO(7, A, 0)
#define GPIO_RESET GPIO(0, B, 5)
/* TODO: move setup_chromeos_gpios() here once bootblock code is in mainboard */
void setup_chromeos_gpios(void);
#endif /* __MAINBOARD_GOOGLE_VEYRON_JERRY_BOARD_H */

View File

@ -26,6 +26,6 @@
#define GPIO_BACKLIGHT GPIO(7, A, 0)
#define GPIO_RESET GPIO(0, B, 5)
/* TODO: move setup_chromeos_gpios() here once bootblock code is in mainboard */
void setup_chromeos_gpios(void);
#endif /* __MAINBOARD_GOOGLE_VEYRON_MIGHTY_BOARD_H */

View File

@ -26,6 +26,6 @@
#define GPIO_BACKLIGHT GPIO(7, A, 0)
#define GPIO_RESET (board_id() > 0 ? GPIO(0, B, 5) : GPIO(0, B, 2))
/* TODO: move setup_chromeos_gpios() here once bootblock code is in mainboard */
void setup_chromeos_gpios(void);
#endif /* __MAINBOARD_GOOGLE_VEYRON_PINKY_BOARD_H */

View File

@ -25,6 +25,6 @@
#define GPIO_RESET GPIO(0, B, 5)
/* TODO: move setup_chromeos_gpios() here once bootblock code is in mainboard */
void setup_chromeos_gpios(void);
#endif /* __MAINBOARD_GOOGLE_VEYRON_RIALTO_BOARD_H */

View File

@ -26,6 +26,6 @@
#define GPIO_BACKLIGHT GPIO(7, A, 0)
#define GPIO_RESET GPIO(0, B, 5)
/* TODO: move setup_chromeos_gpios() here once bootblock code is in mainboard */
void setup_chromeos_gpios(void);
#endif /* __MAINBOARD_GOOGLE_VEYRON_SPEEDY_BOARD_H */

View File

@ -26,9 +26,6 @@
#include "vboot_common.h"
#include "vboot2/misc.h"
/*for mainboard use only*/
void setup_chromeos_gpios(void);
/* functions implemented in vbnv.c: */
int get_recovery_mode_from_vbnv(void);
int vboot_wants_oprom(void);