summaryrefslogtreecommitdiff
path: root/chip/lm4/flash.c
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-05-20 13:06:55 -0700
committerChromeBot <chrome-bot@google.com>2013-05-20 17:01:29 -0700
commit93ec62ebc3ae238749915f8161a2673a7d2928d9 (patch)
tree0f64111dc448e6c5d2d4d8dedfed775a9d4cc7b8 /chip/lm4/flash.c
parent9fb93c09d30d83a4aae778887faaed72da5675b0 (diff)
downloadchrome-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/flash.c')
-rw-r--r--chip/lm4/flash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/lm4/flash.c b/chip/lm4/flash.c
index 3351fd851e..0b451d53ad 100644
--- a/chip/lm4/flash.c
+++ b/chip/lm4/flash.c
@@ -163,7 +163,7 @@ static int write_buffer(void)
{
int t;
-#ifdef BOARD_slippy /* FIXME: crosbug.com/p/19366 */
+#ifndef BOARD_link /* FIXME: crosbug.com/p/19366 */
return EC_ERROR_UNKNOWN;
#endif
@@ -239,7 +239,7 @@ int flash_physical_write(int offset, int size, const char *data)
int flash_physical_erase(int offset, int size)
{
-#ifdef BOARD_slippy /* FIXME: crosbug.com/p/19366 */
+#ifndef BOARD_link /* FIXME: crosbug.com/p/19366 */
return EC_ERROR_UNKNOWN;
#endif
if (all_protected)