summaryrefslogtreecommitdiff
path: root/board/discovery
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2012-05-01 09:10:14 -0700
committerVincent Palatin <vpalatin@chromium.org>2012-05-01 22:59:51 +0000
commit539c397fb16460561aa451d121041ed36c13a845 (patch)
treefd31a40a7e1e373262ef04d392d5742fe584ae83 /board/discovery
parent285fa08d10c2e5fce6e0db6f217a83b5a42e8004 (diff)
downloadchrome-ec-539c397fb16460561aa451d121041ed36c13a845.tar.gz
introducing chip variant for stm32 family [1/3]
just rename STM32L to STM32. Most of the STM32L15x code is common with STM32F1xx. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=chrome-os-partner:9057 TEST=make BOARD=daisy ; make BOARD=adv ; make BOARD=discovery Change-Id: I819eff5fcd23deff57f5f6dedcf37e6c421b96c2
Diffstat (limited to 'board/discovery')
-rw-r--r--board/discovery/board.c6
-rw-r--r--board/discovery/build.mk2
2 files changed, 4 insertions, 4 deletions
diff --git a/board/discovery/board.c b/board/discovery/board.c
index 491830164c..c44af27739 100644
--- a/board/discovery/board.c
+++ b/board/discovery/board.c
@@ -53,9 +53,9 @@ void configure_board(void)
* GPIO clocks in low-power (sleep) mode.
* TODO: more fine-grained enabling for power saving
*/
- STM32L_RCC_AHBENR |= 0x3f;
- STM32L_RCC_AHBLPENR |= 0x0e;
- STM32L_RCC_APB2ENR |= 0x01;
+ STM32_RCC_AHBENR |= 0x3f;
+ STM32_RCC_AHBLPENR |= 0x0e;
+ STM32_RCC_APB2ENR |= 0x01;
#if CONFIG_CONSOLE_UART == 1
/* Select Alternate function for USART1 on pins PA9/PA10 */
diff --git a/board/discovery/build.mk b/board/discovery/build.mk
index 2f0ebe32af..9a395beb71 100644
--- a/board/discovery/build.mk
+++ b/board/discovery/build.mk
@@ -5,6 +5,6 @@
# Board specific files build
# the IC is STmicro STM32L151R8H6
-CHIP:=stm32l
+CHIP:=stm32
board-y=board.o