Files
OpenCellular/chip/g/spi_master.h
Nadim Taha 60259c4d7c Cr50: Export the chip-specific SPI master functions
This change is motivated by an internal use case.

BRANCH=none
BUG=none
TEST=make buildall -j
Successfully used the exported functions on Cr50.

Change-Id: I5a54b4ea407866c7d7a4bd075d7773ac81e00930
Signed-off-by: Nadim Taha <ntaha@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/348215
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
2016-05-31 22:16:42 +00:00

16 lines
387 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.
*/
#ifndef __CROS_EC_INCLUDE_SPI_MASTER_H
#define __CROS_EC_INCLUDE_SPI_MASTER_H
#include "spi.h"
void configure_spi0_passthrough(int enable);
void set_spi_clock_mode(int port, enum spi_clock_mode mode);
#endif