diff options
author | Julius Werner <jwerner@chromium.org> | 2014-10-20 14:21:22 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-04-09 15:49:33 +0200 |
commit | 7d186633170b78f7c83b154f41dc0f8336310715 (patch) | |
tree | 8b0c22eec289528d5816056d96da9c954698d2a8 /src/soc/marvell | |
parent | c8385ddd3b7c24d33fdf3f7d59674f143ce04b4c (diff) | |
download | coreboot-7d186633170b78f7c83b154f41dc0f8336310715.tar.xz |
bg4cd: Change all SoC headers to <soc/headername.h> system
This patch aligns bg4cd 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 Cosmos.
Change-Id: I32a4407f7deb2b1752b6220a140352724f320637
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 0b6bb6990417863010258632374c3f5ac19350c9
Original-Change-Id: Ia5299659ad186f2e7d698adfa7562396e747473f
Original-Signed-off-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/224506
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9358
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/soc/marvell')
-rw-r--r-- | src/soc/marvell/bg4cd/Makefile.inc | 2 | ||||
-rw-r--r-- | src/soc/marvell/bg4cd/i2c.c | 2 | ||||
-rw-r--r-- | src/soc/marvell/bg4cd/include/soc/i2c.h (renamed from src/soc/marvell/bg4cd/i2c.h) | 0 | ||||
-rw-r--r-- | src/soc/marvell/bg4cd/include/soc/memlayout.ld (renamed from src/soc/marvell/bg4cd/memlayout.ld) | 0 | ||||
-rw-r--r-- | src/soc/marvell/bg4cd/include/soc/sdram.h (renamed from src/soc/marvell/bg4cd/sdram.h) | 0 | ||||
-rw-r--r-- | src/soc/marvell/bg4cd/sdram.c | 2 |
6 files changed, 4 insertions, 2 deletions
diff --git a/src/soc/marvell/bg4cd/Makefile.inc b/src/soc/marvell/bg4cd/Makefile.inc index af390d168b..18f9d8ddfe 100644 --- a/src/soc/marvell/bg4cd/Makefile.inc +++ b/src/soc/marvell/bg4cd/Makefile.inc @@ -37,6 +37,8 @@ ramstage-y += i2c.c ramstage-y += monotonic_timer.c ramstage-$(CONFIG_SPI_FLASH) += spi.c +CPPFLAGS_common += -Isrc/soc/marvell/bg4cd/include/ + $(objcbfs)/bootblock.raw.elf: $(objcbfs)/bootblock.elf cp $< $@ diff --git a/src/soc/marvell/bg4cd/i2c.c b/src/soc/marvell/bg4cd/i2c.c index 1aa02d0689..16ad9abcf3 100644 --- a/src/soc/marvell/bg4cd/i2c.c +++ b/src/soc/marvell/bg4cd/i2c.c @@ -18,7 +18,7 @@ */ #include <device/i2c.h> -#include "i2c.h" +#include <soc/i2c.h> int platform_i2c_transfer(unsigned bus, struct i2c_seg *segments, int seg_count) { diff --git a/src/soc/marvell/bg4cd/i2c.h b/src/soc/marvell/bg4cd/include/soc/i2c.h index 40db31a9ee..40db31a9ee 100644 --- a/src/soc/marvell/bg4cd/i2c.h +++ b/src/soc/marvell/bg4cd/include/soc/i2c.h diff --git a/src/soc/marvell/bg4cd/memlayout.ld b/src/soc/marvell/bg4cd/include/soc/memlayout.ld index 45cf3950c3..45cf3950c3 100644 --- a/src/soc/marvell/bg4cd/memlayout.ld +++ b/src/soc/marvell/bg4cd/include/soc/memlayout.ld diff --git a/src/soc/marvell/bg4cd/sdram.h b/src/soc/marvell/bg4cd/include/soc/sdram.h index 6850d2752a..6850d2752a 100644 --- a/src/soc/marvell/bg4cd/sdram.h +++ b/src/soc/marvell/bg4cd/include/soc/sdram.h diff --git a/src/soc/marvell/bg4cd/sdram.c b/src/soc/marvell/bg4cd/sdram.c index 1b5575b08e..0ebee151fb 100644 --- a/src/soc/marvell/bg4cd/sdram.c +++ b/src/soc/marvell/bg4cd/sdram.c @@ -17,7 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include <console/console.h> -#include "sdram.h" +#include <soc/sdram.h> void sdram_init(void) { |