summaryrefslogtreecommitdiff
path: root/chip/npcx/shi_chip.h
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2016-03-07 13:25:00 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-03-08 13:56:38 -0800
commit541de8a5a37ad35aa6eb7b4d641ef7df377f90e0 (patch)
tree5ad1a09c281e89e990eac60cce8ecc7757d12d1d /chip/npcx/shi_chip.h
parent9f39ce1903b7b7ab28c3cba582bf12d93f525394 (diff)
downloadchrome-ec-541de8a5a37ad35aa6eb7b4d641ef7df377f90e0.tar.gz
npcx: Rename CONFIG_SHI to CONFIG_HOSTCMD_SPS
CONFIG_SHI ("SPI host interface") has identical meaning to CONFIG_HOSTCMD_SPS ("Accept EC host commands over the SPI slave"). Use CONFIG_HOSTCMD_SPS, since it came first and is already defined in config.h. BUG=chrome-os-partner:50819 BRANCH=None TEST=`make buildall -j` Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I665c405ad72caa3b84e583a80c0893e4c625632a Reviewed-on: https://chromium-review.googlesource.com/331342 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'chip/npcx/shi_chip.h')
-rw-r--r--chip/npcx/shi_chip.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/npcx/shi_chip.h b/chip/npcx/shi_chip.h
index 2edd513bfc..8aac7661a5 100644
--- a/chip/npcx/shi_chip.h
+++ b/chip/npcx/shi_chip.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015 The Chromium OS Authors. All rights reserved.
+/* Copyright 2015 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -8,7 +8,7 @@
#ifndef SHI_CHIP_H_
#define SHI_CHIP_H_
-#ifdef CONFIG_SHI
+#ifdef CONFIG_HOSTCMD_SPS
/**
* Called when the NSS level changes, signalling the start of a SHI
* transaction.