From ce03aaf08c98ce8bc4cb679418f0b82ca50c9a94 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 27 Aug 2015 14:28:35 -0500 Subject: [PATCH] skylake: move flash_controller.h to the proper place I missed this in code review. This should be under the soc directory. BUG=chrome-os-partner:43522 BRANCH=None TEST=Built glados. Change-Id: Ia018c20f97f267b8f7592b2459d10eafe5ec7159 Signed-off-by: Patrick Georgi Original-Commit-Id: 9c081ed6de46605b7d0a72962ac2a041c470b12c Original-Change-Id: Ic3938fe5d71bd24a395304cfabe40eff48bc4a40 Original-Signed-off-by: Aaron Durbin Original-Reviewed-on: https://chromium-review.googlesource.com/295239 Original-Reviewed-by: Duncan Laurie Reviewed-on: http://review.coreboot.org/11542 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc Reviewed-by: Aaron Durbin --- src/soc/intel/skylake/flash_controller.c | 2 +- src/soc/intel/skylake/include/{ => soc}/flash_controller.h | 6 +++--- src/soc/intel/skylake/romstage/spi.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename src/soc/intel/skylake/include/{ => soc}/flash_controller.h (97%) diff --git a/src/soc/intel/skylake/flash_controller.c b/src/soc/intel/skylake/flash_controller.c index f27bcc5484..ab334416c7 100644 --- a/src/soc/intel/skylake/flash_controller.c +++ b/src/soc/intel/skylake/flash_controller.c @@ -23,9 +23,9 @@ #include #include #include -#include #include #include +#include #include #include diff --git a/src/soc/intel/skylake/include/flash_controller.h b/src/soc/intel/skylake/include/soc/flash_controller.h similarity index 97% rename from src/soc/intel/skylake/include/flash_controller.h rename to src/soc/intel/skylake/include/soc/flash_controller.h index c79d265248..25cbce9d1f 100644 --- a/src/soc/intel/skylake/include/flash_controller.h +++ b/src/soc/intel/skylake/include/soc/flash_controller.h @@ -17,8 +17,8 @@ * Foundation, Inc., */ -#ifndef _FLASH_CONTROLLER__H_ -#define _FLASH_CONTROLLER__H_ +#ifndef _SOC_FLASH_CONTROLLER__H_ +#define _SOC_FLASH_CONTROLLER__H_ #include #include @@ -173,4 +173,4 @@ enum { HSFC_FCYCLE_SHIFT = 1, HSFC_FDBC_SHIFT = 8, }; -#endif /* _FLASH_CONTROLLER__H_ */ +#endif /* _SOC_FLASH_CONTROLLER__H_ */ diff --git a/src/soc/intel/skylake/romstage/spi.c b/src/soc/intel/skylake/romstage/spi.c index be6db41d97..2194d21f58 100644 --- a/src/soc/intel/skylake/romstage/spi.c +++ b/src/soc/intel/skylake/romstage/spi.c @@ -18,7 +18,7 @@ * Foundation, Inc. */ -#include +#include #include int early_spi_read(u32 offset, u32 size, u8 *buffer)