From 96195eeb71545b070e37413bfad1520ceca3da54 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Mon, 20 Oct 2014 13:25:21 -0700 Subject: tegra132: Change all SoC headers to system This patch aligns tegra132 to the new SoC header include scheme. Also alphabetized headers in affected files since we touch them anyway. BUG=None TEST=Tested with whole series. Compiled Rush_Ryu. Change-Id: I5cdf4008a65db84f15c937ef53aab5e4d3ef24c4 Signed-off-by: Patrick Georgi Original-Commit-Id: d5c5c63d7b6399d3eb8a211b15d47829fe93a591 Original-Change-Id: Ifafd4d42d4fb04a1c37e8a5f23877c2b550cf44c Original-Signed-off-by: Julius Werner Original-Reviewed-on: https://chromium-review.googlesource.com/224505 Original-Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/9369 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/rush/boardid.c | 5 ++--- src/mainboard/google/rush/bootblock.c | 6 +++--- src/mainboard/google/rush/chromeos.c | 2 +- src/mainboard/google/rush/mainboard.c | 11 +++++------ src/mainboard/google/rush/memlayout.ld | 2 +- src/mainboard/google/rush/pmic.c | 2 +- src/mainboard/google/rush/reset.c | 2 +- src/mainboard/google/rush/romstage.c | 7 +++---- src/mainboard/google/rush_ryu/boardid.c | 4 ++-- src/mainboard/google/rush_ryu/bootblock.c | 4 ++-- src/mainboard/google/rush_ryu/chromeos.c | 1 + src/mainboard/google/rush_ryu/gpio.h | 2 +- src/mainboard/google/rush_ryu/mainboard.c | 7 +++---- src/mainboard/google/rush_ryu/memlayout.ld | 2 +- src/mainboard/google/rush_ryu/pmic.c | 1 + src/mainboard/google/rush_ryu/reset.c | 1 + src/mainboard/google/rush_ryu/romstage.c | 3 ++- 17 files changed, 31 insertions(+), 31 deletions(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/rush/boardid.c b/src/mainboard/google/rush/boardid.c index 67e55ba3fb..7ed2b53ed6 100644 --- a/src/mainboard/google/rush/boardid.c +++ b/src/mainboard/google/rush/boardid.c @@ -17,10 +17,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include -#include - #include +#include +#include uint8_t board_id(void) { diff --git a/src/mainboard/google/rush/bootblock.c b/src/mainboard/google/rush/bootblock.c index e84a25ef8b..eb61cddf8c 100644 --- a/src/mainboard/google/rush/bootblock.c +++ b/src/mainboard/google/rush/bootblock.c @@ -21,13 +21,13 @@ #include #include #include +#include #include #include -#include #include #include -#include -#include /* FIXME: move back to soc code? */ +#include +#include /* FIXME: move back to soc code? */ #include "pmic.h" diff --git a/src/mainboard/google/rush/chromeos.c b/src/mainboard/google/rush/chromeos.c index 03908c0434..5232344223 100644 --- a/src/mainboard/google/rush/chromeos.c +++ b/src/mainboard/google/rush/chromeos.c @@ -21,9 +21,9 @@ #include #include #include +#include #include #include -#include void fill_lb_gpios(struct lb_gpios *gpios) { diff --git a/src/mainboard/google/rush/mainboard.c b/src/mainboard/google/rush/mainboard.c index 846a7ac55f..8ea3f4eb3d 100644 --- a/src/mainboard/google/rush/mainboard.c +++ b/src/mainboard/google/rush/mainboard.c @@ -18,17 +18,16 @@ */ #include -#include #include - +#include #include -#include -#include -#include #include -#include +#include +#include #include #include +#include +#include static const struct pad_config sdmmc3_pad[] = { /* MMC3(SDCARD) */ diff --git a/src/mainboard/google/rush/memlayout.ld b/src/mainboard/google/rush/memlayout.ld index b9def51e74..ead7f47838 100644 --- a/src/mainboard/google/rush/memlayout.ld +++ b/src/mainboard/google/rush/memlayout.ld @@ -1 +1 @@ -#include +#include diff --git a/src/mainboard/google/rush/pmic.c b/src/mainboard/google/rush/pmic.c index 85de2003e7..b016164ccd 100644 --- a/src/mainboard/google/rush/pmic.c +++ b/src/mainboard/google/rush/pmic.c @@ -18,13 +18,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include #include #include #include #include -#include #include "pmic.h" #include "reset.h" diff --git a/src/mainboard/google/rush/reset.c b/src/mainboard/google/rush/reset.c index f3057cac90..dbaed0d95b 100644 --- a/src/mainboard/google/rush/reset.c +++ b/src/mainboard/google/rush/reset.c @@ -18,8 +18,8 @@ */ #include +#include #include -#include void hard_reset(void) { diff --git a/src/mainboard/google/rush/romstage.c b/src/mainboard/google/rush/romstage.c index e82f5ad034..88b7d382c1 100644 --- a/src/mainboard/google/rush/romstage.c +++ b/src/mainboard/google/rush/romstage.c @@ -17,13 +17,12 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include - #include #include -#include -#include #include +#include +#include +#include static const struct pad_config padcfgs[] = { /* SOC_WARM_RESET_L */ diff --git a/src/mainboard/google/rush_ryu/boardid.c b/src/mainboard/google/rush_ryu/boardid.c index 1aa7c16831..9d99b90ddc 100644 --- a/src/mainboard/google/rush_ryu/boardid.c +++ b/src/mainboard/google/rush_ryu/boardid.c @@ -17,11 +17,11 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include -#include +#include #include -#include #include "gpio.h" /* diff --git a/src/mainboard/google/rush_ryu/bootblock.c b/src/mainboard/google/rush_ryu/bootblock.c index 9a1c68bb96..898bb3fdfe 100644 --- a/src/mainboard/google/rush_ryu/bootblock.c +++ b/src/mainboard/google/rush_ryu/bootblock.c @@ -22,11 +22,11 @@ #include #include #include +#include #include #include -#include #include -#include +#include #include "pmic.h" diff --git a/src/mainboard/google/rush_ryu/chromeos.c b/src/mainboard/google/rush_ryu/chromeos.c index 9c9056eb96..521fe59372 100644 --- a/src/mainboard/google/rush_ryu/chromeos.c +++ b/src/mainboard/google/rush_ryu/chromeos.c @@ -23,6 +23,7 @@ #include #include #include + #include "gpio.h" void fill_lb_gpios(struct lb_gpios *gpios) diff --git a/src/mainboard/google/rush_ryu/gpio.h b/src/mainboard/google/rush_ryu/gpio.h index f790e8f2be..9c67420ff0 100644 --- a/src/mainboard/google/rush_ryu/gpio.h +++ b/src/mainboard/google/rush_ryu/gpio.h @@ -20,7 +20,7 @@ #ifndef __MAINBOARD_GOOGLE_RUSH_RYU_GPIO_H__ #define __MAINBOARD_GOOGLE_RUSH_RYU_GPIO_H__ -#include +#include /* Board ID definitions. */ enum { diff --git a/src/mainboard/google/rush_ryu/mainboard.c b/src/mainboard/google/rush_ryu/mainboard.c index e19ad02612..1af7e221cd 100644 --- a/src/mainboard/google/rush_ryu/mainboard.c +++ b/src/mainboard/google/rush_ryu/mainboard.c @@ -18,16 +18,15 @@ */ #include -#include #include +#include #include - #include +#include #include #include -#include -#include #include +#include static const struct pad_config mmcpads[] = { /* MMC4 (eMMC) */ diff --git a/src/mainboard/google/rush_ryu/memlayout.ld b/src/mainboard/google/rush_ryu/memlayout.ld index b9def51e74..ead7f47838 100644 --- a/src/mainboard/google/rush_ryu/memlayout.ld +++ b/src/mainboard/google/rush_ryu/memlayout.ld @@ -1 +1 @@ -#include +#include diff --git a/src/mainboard/google/rush_ryu/pmic.c b/src/mainboard/google/rush_ryu/pmic.c index 85cc6e2f5b..a816e8ac14 100644 --- a/src/mainboard/google/rush_ryu/pmic.c +++ b/src/mainboard/google/rush_ryu/pmic.c @@ -23,6 +23,7 @@ #include #include #include + #include "pmic.h" #include "reset.h" diff --git a/src/mainboard/google/rush_ryu/reset.c b/src/mainboard/google/rush_ryu/reset.c index 4548837d7e..7ccb2de28b 100644 --- a/src/mainboard/google/rush_ryu/reset.c +++ b/src/mainboard/google/rush_ryu/reset.c @@ -19,6 +19,7 @@ #include #include + #include "gpio.h" void hard_reset(void) diff --git a/src/mainboard/google/rush_ryu/romstage.c b/src/mainboard/google/rush_ryu/romstage.c index 5d195a6fcb..41c9149be4 100644 --- a/src/mainboard/google/rush_ryu/romstage.c +++ b/src/mainboard/google/rush_ryu/romstage.c @@ -21,9 +21,10 @@ #include #include #include -#include #include +#include #include + #include "gpio.h" #include "pmic.h" -- cgit v1.2.3