diff options
author | Julius Werner <jwerner@chromium.org> | 2014-10-20 13:18:56 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-07 18:48:30 +0200 |
commit | 80af442cd21eaa924840614b00c082b9b29abff1 (patch) | |
tree | 2fa3894a6a1a6e9d3e426275755b1614cf84abb5 /src/mainboard/google/peach_pit | |
parent | 1ed0c8c0b221962855b6f547cc663c506b9cb5c6 (diff) | |
download | coreboot-80af442cd21eaa924840614b00c082b9b29abff1.tar.xz |
exynos5420: Change all SoC headers to <soc/headername.h> system
This patch aligns exynos5420 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 Peach_Pit.
Change-Id: If97b40101d3541a81bca302a9bd64b84a04ff24a
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 570ca9ed6337d622781f37184b2cd7209de0083f
Original-Change-Id: I338559564e57bdc5202d34c7173ce0d075ad2afc
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/224501
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9324
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/peach_pit')
-rw-r--r-- | src/mainboard/google/peach_pit/chromeos.c | 6 | ||||
-rw-r--r-- | src/mainboard/google/peach_pit/mainboard.c | 34 | ||||
-rw-r--r-- | src/mainboard/google/peach_pit/memlayout.ld | 2 | ||||
-rw-r--r-- | src/mainboard/google/peach_pit/memory.c | 11 | ||||
-rw-r--r-- | src/mainboard/google/peach_pit/romstage.c | 38 | ||||
-rw-r--r-- | src/mainboard/google/peach_pit/wakeup.c | 4 |
6 files changed, 46 insertions, 49 deletions
diff --git a/src/mainboard/google/peach_pit/chromeos.c b/src/mainboard/google/peach_pit/chromeos.c index 7b0807c71a..a036d80c74 100644 --- a/src/mainboard/google/peach_pit/chromeos.c +++ b/src/mainboard/google/peach_pit/chromeos.c @@ -18,14 +18,14 @@ */ #include <boot/coreboot_tables.h> +#include <bootmode.h> #include <console/console.h> #include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/ec_commands.h> +#include <soc/cpu.h> +#include <soc/gpio.h> #include <string.h> #include <vendorcode/google/chromeos/chromeos.h> -#include <bootmode.h> -#include <soc/samsung/exynos5420/cpu.h> -#include <soc/samsung/exynos5420/gpio.h> void fill_lb_gpios(struct lb_gpios *gpios) { diff --git a/src/mainboard/google/peach_pit/mainboard.c b/src/mainboard/google/peach_pit/mainboard.c index b6f49e2942..fb37cde6d4 100644 --- a/src/mainboard/google/peach_pit/mainboard.c +++ b/src/mainboard/google/peach_pit/mainboard.c @@ -17,30 +17,30 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <string.h> +#include <arch/cache.h> +#include <boot/coreboot_tables.h> +#include <cbmem.h> #include <console/console.h> +#include <delay.h> #include <device/device.h> #include <device/i2c.h> -#include <cbmem.h> -#include <delay.h> -#include <edid.h> -#include <vbe.h> -#include <boot/coreboot_tables.h> -#include <arch/cache.h> -#include <soc/samsung/exynos5420/tmu.h> -#include <soc/samsung/exynos5420/clk.h> -#include <soc/samsung/exynos5420/cpu.h> -#include <soc/samsung/exynos5420/gpio.h> -#include <soc/samsung/exynos5420/power.h> -#include <soc/samsung/exynos5420/periph.h> -#include <soc/samsung/exynos5420/i2c.h> -#include <soc/samsung/exynos5420/dp.h> -#include <soc/samsung/exynos5420/fimd.h> -#include <soc/samsung/exynos5420/usb.h> #include <drivers/parade/ps8625/ps8625.h> #include <ec/google/chromeec/ec.h> +#include <edid.h> +#include <soc/tmu.h> +#include <soc/clk.h> +#include <soc/cpu.h> +#include <soc/gpio.h> +#include <soc/power.h> +#include <soc/periph.h> +#include <soc/i2c.h> +#include <soc/dp.h> +#include <soc/fimd.h> +#include <soc/usb.h> #include <stdlib.h> +#include <string.h> #include <symbols.h> +#include <vbe.h> /* convenient shorthand (in MB) */ #define DRAM_START ((uintptr_t)_dram/MiB) diff --git a/src/mainboard/google/peach_pit/memlayout.ld b/src/mainboard/google/peach_pit/memlayout.ld index 565ba89194..ead7f47838 100644 --- a/src/mainboard/google/peach_pit/memlayout.ld +++ b/src/mainboard/google/peach_pit/memlayout.ld @@ -1 +1 @@ -#include <soc/samsung/exynos5420/memlayout.ld> +#include <soc/memlayout.ld> diff --git a/src/mainboard/google/peach_pit/memory.c b/src/mainboard/google/peach_pit/memory.c index 8a9f454886..6db329626c 100644 --- a/src/mainboard/google/peach_pit/memory.c +++ b/src/mainboard/google/peach_pit/memory.c @@ -18,14 +18,13 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <console/console.h> +#include <soc/clk.h> +#include <soc/dmc.h> +#include <soc/gpio.h> +#include <soc/setup.h> #include <stddef.h> #include <stdlib.h> -#include <console/console.h> - -#include <soc/samsung/exynos5420/gpio.h> -#include <soc/samsung/exynos5420/dmc.h> -#include <soc/samsung/exynos5420/setup.h> -#include <soc/samsung/exynos5420/clk.h> const struct mem_timings mem_timings = { .mem_manuf = MEM_MANUF_SAMSUNG, diff --git a/src/mainboard/google/peach_pit/romstage.c b/src/mainboard/google/peach_pit/romstage.c index 04be804b05..443eafd97f 100644 --- a/src/mainboard/google/peach_pit/romstage.c +++ b/src/mainboard/google/peach_pit/romstage.c @@ -17,31 +17,29 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <types.h> -#include <stdlib.h> - +#include <arch/cache.h> +#include <arch/exception.h> +#include <arch/stages.h> #include <armv7.h> #include <cbfs.h> #include <cbmem.h> -#include <timestamp.h> - -#include <arch/cache.h> -#include <arch/exception.h> -#include <soc/samsung/exynos5420/i2c.h> -#include <soc/samsung/exynos5420/clk.h> -#include <soc/samsung/exynos5420/cpu.h> -#include <soc/samsung/exynos5420/dmc.h> -#include <soc/samsung/exynos5420/gpio.h> -#include <soc/samsung/exynos5420/setup.h> -#include <soc/samsung/exynos5420/periph.h> -#include <soc/samsung/exynos5420/power.h> -#include <soc/samsung/exynos5420/trustzone.h> -#include <soc/samsung/exynos5420/wakeup.h> #include <console/console.h> -#include <program_loading.h> - -#include <drivers/maxim/max77802/max77802.h> #include <device/i2c.h> +#include <drivers/maxim/max77802/max77802.h> +#include <program_loading.h> +#include <soc/clk.h> +#include <soc/cpu.h> +#include <soc/dmc.h> +#include <soc/gpio.h> +#include <soc/i2c.h> +#include <soc/periph.h> +#include <soc/power.h> +#include <soc/setup.h> +#include <soc/trustzone.h> +#include <soc/wakeup.h> +#include <stdlib.h> +#include <timestamp.h> +#include <types.h> #define PMIC_I2C_BUS 4 diff --git a/src/mainboard/google/peach_pit/wakeup.c b/src/mainboard/google/peach_pit/wakeup.c index 130282cb64..e0b1a17cc2 100644 --- a/src/mainboard/google/peach_pit/wakeup.c +++ b/src/mainboard/google/peach_pit/wakeup.c @@ -17,8 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <soc/samsung/exynos5420/gpio.h> -#include <soc/samsung/exynos5420/wakeup.h> +#include <soc/gpio.h> +#include <soc/wakeup.h> int wakeup_need_reset(void) { |