mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 00:21:46 +00:00
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>
22 lines
500 B
C
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_ */
|