diff options
author | Ionela Voinescu <ionela.voinescu@imgtec.com> | 2015-06-07 23:22:34 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-06-10 22:21:55 +0200 |
commit | 1d4c305887642759ae89d47804165e534829959c (patch) | |
tree | 918960bce01a911988af834c5950358d0efa8627 | |
parent | 11f33e48721d864fc575e4c1c76e69fdb50b9901 (diff) | |
download | coreboot-1d4c305887642759ae89d47804165e534829959c.tar.xz |
pistachio: sort included header files
Place included header files in alphabetical order.
Change-Id: Ice23178d1f07e2cb0178efbc7ce487d54bf3f708
Signed-off-by: Ionela Voinescu <ionela.voinescu@imgtec.com>
Reviewed-on: http://review.coreboot.org/10459
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | src/soc/imgtec/pistachio/bootblock.c | 2 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/clocks.c | 4 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/ddr2_init.c | 4 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/include/soc/spi.h | 2 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/monotonic_timer.c | 4 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/romstage.c | 2 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/spi.c | 8 |
7 files changed, 13 insertions, 13 deletions
diff --git a/src/soc/imgtec/pistachio/bootblock.c b/src/soc/imgtec/pistachio/bootblock.c index 36bfad32e6..f16c1bf868 100644 --- a/src/soc/imgtec/pistachio/bootblock.c +++ b/src/soc/imgtec/pistachio/bootblock.c @@ -18,10 +18,10 @@ * Foundation, Inc. */ -#include <stdint.h> #include <arch/cpu.h> #include <arch/mmu.h> #include <assert.h> +#include <stdint.h> #include <symbols.h> static void bootblock_cpu_init(void) diff --git a/src/soc/imgtec/pistachio/clocks.c b/src/soc/imgtec/pistachio/clocks.c index 96d8de8207..a2e5b2be42 100644 --- a/src/soc/imgtec/pistachio/clocks.c +++ b/src/soc/imgtec/pistachio/clocks.c @@ -19,10 +19,10 @@ */ #include <arch/io.h> +#include <assert.h> +#include <delay.h> #include <soc/clocks.h> #include <timer.h> -#include <delay.h> -#include <assert.h> /* Definitions for PLL enable */ #define PISTACHIO_CLOCK_SWITCH 0xB8144200 diff --git a/src/soc/imgtec/pistachio/ddr2_init.c b/src/soc/imgtec/pistachio/ddr2_init.c index f8b4eae8bc..9c94d8b2f9 100644 --- a/src/soc/imgtec/pistachio/ddr2_init.c +++ b/src/soc/imgtec/pistachio/ddr2_init.c @@ -18,11 +18,11 @@ * Foundation, Inc. */ -#include <stdint.h> #include <arch/cpu.h> -#include <delay.h> #include <arch/io.h> +#include <delay.h> #include <soc/ddr_init.h> +#include <stdint.h> #include <timer.h> #define MAX_WAIT_MICROS 100000 diff --git a/src/soc/imgtec/pistachio/include/soc/spi.h b/src/soc/imgtec/pistachio/include/soc/spi.h index 91d6d558e5..00d1aec540 100644 --- a/src/soc/imgtec/pistachio/include/soc/spi.h +++ b/src/soc/imgtec/pistachio/include/soc/spi.h @@ -17,8 +17,8 @@ #ifndef __SOC_IMGTEC_DANUBE_SPI_H__ #define __SOC_IMGTEC_DANUBE_SPI_H__ -#include <arch/types.h> #include <arch/io.h> +#include <arch/types.h> #define spi_read_reg_field(regval, field) \ ( \ diff --git a/src/soc/imgtec/pistachio/monotonic_timer.c b/src/soc/imgtec/pistachio/monotonic_timer.c index d56cae57da..4f3aba9177 100644 --- a/src/soc/imgtec/pistachio/monotonic_timer.c +++ b/src/soc/imgtec/pistachio/monotonic_timer.c @@ -17,11 +17,11 @@ * Foundation, Inc. */ +#include <arch/cpu.h> +#include <soc/cpu.h> #include <stdint.h> #include <timer.h> #include <timestamp.h> -#include <arch/cpu.h> -#include <soc/cpu.h> #define PISTACHIO_CLOCK_SWITCH 0xB8144200 #define MIPS_EXTERN_PLL_BYPASS_MASK 0x00000002 diff --git a/src/soc/imgtec/pistachio/romstage.c b/src/soc/imgtec/pistachio/romstage.c index d08be3360f..9467d87880 100644 --- a/src/soc/imgtec/pistachio/romstage.c +++ b/src/soc/imgtec/pistachio/romstage.c @@ -19,9 +19,9 @@ */ #include <cbmem.h> -#include <program_loading.h> #include <console/console.h> #include <halt.h> +#include <program_loading.h> #include <soc/ddr_init.h> void main(void) diff --git a/src/soc/imgtec/pistachio/spi.c b/src/soc/imgtec/pistachio/spi.c index 3cae6af79e..f38607cf5b 100644 --- a/src/soc/imgtec/pistachio/spi.c +++ b/src/soc/imgtec/pistachio/spi.c @@ -13,13 +13,13 @@ * GNU General Public License for more details. */ -#include <string.h> -#include <stdlib.h> -#include <timer.h> #include <soc/cpu.h> #include <soc/spi.h> -#include <spi-generic.h> #include <spi_flash.h> +#include <spi-generic.h> +#include <stdlib.h> +#include <string.h> +#include <timer.h> #if !CONFIG_SPI_ATOMIC_SEQUENCING #error "Unsupported SPI driver API" |