diff options
Diffstat (limited to 'src/mainboard/siemens')
-rw-r--r-- | src/mainboard/siemens/chili/Makefile.inc | 2 | ||||
-rw-r--r-- | src/mainboard/siemens/chili/ec.c | 3 | ||||
-rw-r--r-- | src/mainboard/siemens/chili/include/mainboard/ec.h (renamed from src/mainboard/siemens/chili/ec.h) | 0 | ||||
-rw-r--r-- | src/mainboard/siemens/chili/include/variant.h (renamed from src/mainboard/siemens/chili/variant.h) | 0 | ||||
-rw-r--r-- | src/mainboard/siemens/chili/mainboard.c | 3 | ||||
-rw-r--r-- | src/mainboard/siemens/chili/romstage.c | 3 | ||||
-rw-r--r-- | src/mainboard/siemens/chili/variants/base/gpio.c | 2 | ||||
-rw-r--r-- | src/mainboard/siemens/chili/variants/chili/gpio.c | 2 | ||||
-rw-r--r-- | src/mainboard/siemens/chili/variants/chili/romstage.c | 3 |
9 files changed, 7 insertions, 11 deletions
diff --git a/src/mainboard/siemens/chili/Makefile.inc b/src/mainboard/siemens/chili/Makefile.inc index abeedf3a85..c57c0a50dc 100644 --- a/src/mainboard/siemens/chili/Makefile.inc +++ b/src/mainboard/siemens/chili/Makefile.inc @@ -1,6 +1,6 @@ ## SPDX-License-Identifier: GPL-2.0-only -CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR) +CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/include romstage-y += romstage.c diff --git a/src/mainboard/siemens/chili/ec.c b/src/mainboard/siemens/chili/ec.c index bc0eb7d9ff..7d9b6f2495 100644 --- a/src/mainboard/siemens/chili/ec.c +++ b/src/mainboard/siemens/chili/ec.c @@ -4,10 +4,9 @@ #include <console/console.h> #include <cpu/x86/smm.h> #include <ec/acpi/ec.h> +#include <mainboard/ec.h> #include <timer.h> -#include "ec.h" - #define EC_STATUS 0x50 #define EC_RUNNING (1 << 1) #define EC_DEVICE_CONTROL_1 0x80 diff --git a/src/mainboard/siemens/chili/ec.h b/src/mainboard/siemens/chili/include/mainboard/ec.h index 50d724ff38..50d724ff38 100644 --- a/src/mainboard/siemens/chili/ec.h +++ b/src/mainboard/siemens/chili/include/mainboard/ec.h diff --git a/src/mainboard/siemens/chili/variant.h b/src/mainboard/siemens/chili/include/variant.h index 2bbe7d7926..2bbe7d7926 100644 --- a/src/mainboard/siemens/chili/variant.h +++ b/src/mainboard/siemens/chili/include/variant.h diff --git a/src/mainboard/siemens/chili/mainboard.c b/src/mainboard/siemens/chili/mainboard.c index 91395eac07..c1d1a1d941 100644 --- a/src/mainboard/siemens/chili/mainboard.c +++ b/src/mainboard/siemens/chili/mainboard.c @@ -1,8 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <device/device.h> - -#include "ec.h" +#include <mainboard/ec.h> static void mainboard_dev_init(struct device *dev) { diff --git a/src/mainboard/siemens/chili/romstage.c b/src/mainboard/siemens/chili/romstage.c index c1ec7e4982..a981f50a7b 100644 --- a/src/mainboard/siemens/chili/romstage.c +++ b/src/mainboard/siemens/chili/romstage.c @@ -4,8 +4,7 @@ #include <soc/cnl_memcfg_init.h> #include <soc/gpio.h> #include <soc/romstage.h> - -#include "variant.h" +#include <variant.h> static void mainboard_init(void) { diff --git a/src/mainboard/siemens/chili/variants/base/gpio.c b/src/mainboard/siemens/chili/variants/base/gpio.c index 65ea037a3a..61ec27dfa6 100644 --- a/src/mainboard/siemens/chili/variants/base/gpio.c +++ b/src/mainboard/siemens/chili/variants/base/gpio.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <soc/gpio.h> -#include "variant.h" +#include <variant.h> static const struct pad_config gpio_table[] = { /* GPP_A14 GPIO */ PAD_NC(GPP_A14, NONE), diff --git a/src/mainboard/siemens/chili/variants/chili/gpio.c b/src/mainboard/siemens/chili/variants/chili/gpio.c index 4b18e79e29..d7e5ab02b2 100644 --- a/src/mainboard/siemens/chili/variants/chili/gpio.c +++ b/src/mainboard/siemens/chili/variants/chili/gpio.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include <soc/gpio.h> -#include "variant.h" +#include <variant.h> static const struct pad_config gpio_table[] = { /* GPP_A14 GPIO 0x0000002644000300 */ PAD_NC(GPP_A14, NONE), diff --git a/src/mainboard/siemens/chili/variants/chili/romstage.c b/src/mainboard/siemens/chili/variants/chili/romstage.c index ebffc8d39d..3a838240ef 100644 --- a/src/mainboard/siemens/chili/variants/chili/romstage.c +++ b/src/mainboard/siemens/chili/variants/chili/romstage.c @@ -3,8 +3,7 @@ #include <option.h> #include <console/console.h> #include <fsp/soc_binding.h> - -#include "../../variant.h" +#include <variant.h> void variant_romstage_params(FSPM_UPD *const mupd) { |