summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2013-10-31 16:49:01 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-11-07 22:36:05 +0000
commit03de7bee72cb5111b767cc54b8b52b379293e58f (patch)
treefba632cf8685ac1b4b135f9f2e894c8efe733fa6 /chip
parente2f851aae244c0c233064192c79f46fe0744e58f (diff)
downloadchrome-ec-03de7bee72cb5111b767cc54b8b52b379293e58f.tar.gz
Move core-specific toolchain configuration to core/ directory
This is preparatory work to introduce a second core architecture. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:23574 TEST=./util/make_all.sh Change-Id: Icae8a7e475a4ba2a13f0d8f95629e8498a5a61da Reviewed-on: https://chromium-review.googlesource.com/175419 Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r--chip/lm4/config_chip.h3
-rw-r--r--chip/stm32/config_chip.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/chip/lm4/config_chip.h b/chip/lm4/config_chip.h
index 81ceed1b09..419d4b9a6d 100644
--- a/chip/lm4/config_chip.h
+++ b/chip/lm4/config_chip.h
@@ -6,6 +6,9 @@
#ifndef __CROS_EC_CONFIG_CHIP_H
#define __CROS_EC_CONFIG_CHIP_H
+/* CPU core BFD configuration */
+#include "core/cortex-m/config_core.h"
+
/* 16.000 Mhz internal oscillator frequency (PIOSC) */
#define INTERNAL_CLOCK 16000000
diff --git a/chip/stm32/config_chip.h b/chip/stm32/config_chip.h
index ea5017842d..5126870d11 100644
--- a/chip/stm32/config_chip.h
+++ b/chip/stm32/config_chip.h
@@ -6,6 +6,9 @@
#ifndef __CROS_EC_CONFIG_CHIP_H
#define __CROS_EC_CONFIG_CHIP_H
+/* CPU core BFD configuration */
+#include "core/cortex-m/config_core.h"
+
/* Default to UART 1 for EC console */
#define CONFIG_UART_CONSOLE 1