diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/imgtec/pistachio/Makefile.inc | 2 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/include/soc/cpu.h (renamed from src/soc/imgtec/pistachio/cpu.h) | 0 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/include/soc/memlayout.ld (renamed from src/soc/imgtec/pistachio/memlayout.ld) | 0 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/include/soc/spi.h (renamed from src/soc/imgtec/pistachio/spi.h) | 0 | ||||
-rw-r--r-- | src/soc/imgtec/pistachio/spi.c | 4 |
5 files changed, 4 insertions, 2 deletions
diff --git a/src/soc/imgtec/pistachio/Makefile.inc b/src/soc/imgtec/pistachio/Makefile.inc index d052c8f435..e955968ddc 100644 --- a/src/soc/imgtec/pistachio/Makefile.inc +++ b/src/soc/imgtec/pistachio/Makefile.inc @@ -42,6 +42,8 @@ romstage-y += romstage.c romstage-y += monotonic_timer.c romstage-y += timestamp.c +CPPFLAGS_common += -Isrc/soc/imgtec/pistachio/include/ + # Generate the actual coreboot bootblock code $(objcbfs)/bootblock.raw: $(objcbfs)/bootblock.elf @printf " OBJCOPY $(subst $(obj)/,,$(@))\n" diff --git a/src/soc/imgtec/pistachio/cpu.h b/src/soc/imgtec/pistachio/include/soc/cpu.h index c61c58dfca..c61c58dfca 100644 --- a/src/soc/imgtec/pistachio/cpu.h +++ b/src/soc/imgtec/pistachio/include/soc/cpu.h diff --git a/src/soc/imgtec/pistachio/memlayout.ld b/src/soc/imgtec/pistachio/include/soc/memlayout.ld index 21c3d73d5f..21c3d73d5f 100644 --- a/src/soc/imgtec/pistachio/memlayout.ld +++ b/src/soc/imgtec/pistachio/include/soc/memlayout.ld diff --git a/src/soc/imgtec/pistachio/spi.h b/src/soc/imgtec/pistachio/include/soc/spi.h index 91d6d558e5..91d6d558e5 100644 --- a/src/soc/imgtec/pistachio/spi.h +++ b/src/soc/imgtec/pistachio/include/soc/spi.h diff --git a/src/soc/imgtec/pistachio/spi.c b/src/soc/imgtec/pistachio/spi.c index 2b21475d0a..69682d0456 100644 --- a/src/soc/imgtec/pistachio/spi.c +++ b/src/soc/imgtec/pistachio/spi.c @@ -16,10 +16,10 @@ #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 "cpu.h" -#include "spi.h" #if !CONFIG_SPI_ATOMIC_SEQUENCING #error "Unsupported SPI driver API" |