mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
Add a SPI driver which can receive and process commands, and provide responses using the message interface. BUG=chromium-os:28925 TEST=build on daisy and discovery; run on daisy Change-Id: I286da803b85640525607de6c4d41f0629f7006dc Signed-off-by: Simon Glass <sjg@chromium.org>
15 lines
365 B
C
15 lines
365 B
C
/* Copyright (c) 2012 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.
|
|
*/
|
|
|
|
/* SPI interface for Chrome EC */
|
|
|
|
#ifndef __CROS_EC_SPI_H
|
|
#define __CROS_EC_SPI_H
|
|
|
|
/* Initialize the SPI module ready for use */
|
|
extern int spi_init(void);
|
|
|
|
#endif /* __CROS_EC_SPI_H */
|