pistachio: Change all SoC headers to <soc/headername.h> system

This patch aligns pistachio 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 Urara.

Change-Id: I0609b307695ba6a922384ac34dd604bffcb20692
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 0a577918babf26adf10baa0f56a7065f5659d285
Original-Change-Id: I3ed405a3efdeec28965538d19a22f2b5b8204f01
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/224503
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9335
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Julius Werner 2014-10-20 13:22:00 -07:00 committed by Patrick Georgi
parent 80af442cd2
commit 0812568b5a
6 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
#include <soc/imgtec/pistachio/memlayout.ld> #include <soc/memlayout.ld>

View File

@ -42,6 +42,8 @@ romstage-y += romstage.c
romstage-y += monotonic_timer.c romstage-y += monotonic_timer.c
romstage-y += timestamp.c romstage-y += timestamp.c
CPPFLAGS_common += -Isrc/soc/imgtec/pistachio/include/
# Generate the actual coreboot bootblock code # Generate the actual coreboot bootblock code
$(objcbfs)/bootblock.raw: $(objcbfs)/bootblock.elf $(objcbfs)/bootblock.raw: $(objcbfs)/bootblock.elf
@printf " OBJCOPY $(subst $(obj)/,,$(@))\n" @printf " OBJCOPY $(subst $(obj)/,,$(@))\n"

View File

@ -16,10 +16,10 @@
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <timer.h> #include <timer.h>
#include <soc/cpu.h>
#include <soc/spi.h>
#include <spi-generic.h> #include <spi-generic.h>
#include <spi_flash.h> #include <spi_flash.h>
#include "cpu.h"
#include "spi.h"
#if !CONFIG_SPI_ATOMIC_SEQUENCING #if !CONFIG_SPI_ATOMIC_SEQUENCING
#error "Unsupported SPI driver API" #error "Unsupported SPI driver API"