diff options
Diffstat (limited to 'chip/g/spi_controller.h')
-rw-r--r-- | chip/g/spi_controller.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chip/g/spi_controller.h b/chip/g/spi_controller.h new file mode 100644 index 0000000000..16af19f562 --- /dev/null +++ b/chip/g/spi_controller.h @@ -0,0 +1,15 @@ +/* + * 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_CONTROLLER_H +#define __CROS_EC_INCLUDE_SPI_CONTROLLER_H + +#include "spi.h" + +void configure_spi0_passthrough(int enable); +void set_spi_clock_mode(int port, enum spi_clock_mode mode); + +#endif |