diff options
author | Bill Richardson <wfrichar@chromium.org> | 2013-05-20 13:06:55 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-05-20 17:01:29 -0700 |
commit | 93ec62ebc3ae238749915f8161a2673a7d2928d9 (patch) | |
tree | 0f64111dc448e6c5d2d4d8dedfed775a9d4cc7b8 /chip/lm4/system.c | |
parent | 9fb93c09d30d83a4aae778887faaed72da5675b0 (diff) | |
download | chrome-ec-93ec62ebc3ae238749915f8161a2673a7d2928d9.tar.gz |
Create board configuration for falco bringup
This change just copies slippy and tweaks a few things that were
slippy-specific instead of not-link-specific (there are still bugs
open for those things).
BUG=chrome-os-partner:18788
BRANCH=none
TEST=manual
Since there are no Falco-specific changes yet (just slippy with another
name), I can try it on Slippy:
cros_workon --board falco start chromeos-ec
emerge-falco chromeos-ec
~/trunk/src/platform/ec/util/flash_ec --board falco
I also built and tested Link EC, to make sure nothing broke there either.
Change-Id: I9b3682032bd51adab4450520dfe52e3036750ef9
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/55820
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/lm4/system.c')
-rw-r--r-- | chip/lm4/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/lm4/system.c b/chip/lm4/system.c index 6944db7716..5a13725305 100644 --- a/chip/lm4/system.c +++ b/chip/lm4/system.c @@ -295,7 +295,7 @@ void system_hibernate(uint32_t seconds, uint32_t microseconds) void system_pre_init(void) { -#ifndef BOARD_slippy /* FIXME: crosbug.com/p/19366 */ +#ifdef BOARD_link /* FIXME: crosbug.com/p/19366 */ volatile uint32_t scratch __attribute__((unused)); /* Enable clocks to the hibernation module */ @@ -345,7 +345,7 @@ void system_pre_init(void) /* HEY: read LM4_SYSTEM_BOOTCFG bit 4 to determine WRKEY value */ -#ifndef BOARD_slippy /* FIXME: crosbug.com/p/19366 */ +#ifdef BOARD_link /* FIXME: crosbug.com/p/19366 */ /* Initialize bootcfg if needed */ if (LM4_SYSTEM_BOOTCFG != BOOTCFG_VALUE) { LM4_FLASH_FMD = BOOTCFG_VALUE; |