Files
OpenCellular/chip/npcx/shi_chip.h
Shawn Nematbakhsh 541de8a5a3 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>
2016-03-08 13:56:38 -08:00

22 lines
500 B
C

/* 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.
*/
/* NPCX-specific SHI module for Chrome EC */
#ifndef SHI_CHIP_H_
#define SHI_CHIP_H_
#ifdef CONFIG_HOSTCMD_SPS
/**
* Called when the NSS level changes, signalling the start of a SHI
* transaction.
*
* @param signal GPIO signal that changed
*/
void shi_cs_event(enum gpio_signal signal);
#endif
#endif /* SHI_CHIP_H_ */