diff options
Diffstat (limited to 'src/mainboard/google')
-rw-r--r-- | src/mainboard/google/nyan/mainboard.c | 8 | ||||
-rw-r--r-- | src/mainboard/google/nyan_big/mainboard.c | 8 | ||||
-rw-r--r-- | src/mainboard/google/nyan_blaze/mainboard.c | 8 |
3 files changed, 3 insertions, 21 deletions
diff --git a/src/mainboard/google/nyan/mainboard.c b/src/mainboard/google/nyan/mainboard.c index a96236bcfa..ec06a7acfe 100644 --- a/src/mainboard/google/nyan/mainboard.c +++ b/src/mainboard/google/nyan/mainboard.c @@ -188,13 +188,7 @@ static void setup_kernel_info(void) static void setup_ec_spi(void) { - struct tegra_spi_channel *spi; - - spi = tegra_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS); - - /* Set frame header for use by CrOS EC */ - spi->frame_header = 0xec; - spi->rx_frame_header_enable = 1; + tegra_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS); } static void mainboard_init(device_t dev) diff --git a/src/mainboard/google/nyan_big/mainboard.c b/src/mainboard/google/nyan_big/mainboard.c index 75ff0e7132..242f995d98 100644 --- a/src/mainboard/google/nyan_big/mainboard.c +++ b/src/mainboard/google/nyan_big/mainboard.c @@ -188,13 +188,7 @@ static void setup_kernel_info(void) static void setup_ec_spi(void) { - struct tegra_spi_channel *spi; - - spi = tegra_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS); - - /* Set frame header for use by CrOS EC */ - spi->frame_header = 0xec; - spi->rx_frame_header_enable = 1; + tegra_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS); } static void mainboard_init(device_t dev) diff --git a/src/mainboard/google/nyan_blaze/mainboard.c b/src/mainboard/google/nyan_blaze/mainboard.c index 2f385bcbc4..b2787ec4c5 100644 --- a/src/mainboard/google/nyan_blaze/mainboard.c +++ b/src/mainboard/google/nyan_blaze/mainboard.c @@ -188,13 +188,7 @@ static void setup_kernel_info(void) static void setup_ec_spi(void) { - struct tegra_spi_channel *spi; - - spi = tegra_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS); - - /* Set frame header for use by CrOS EC */ - spi->frame_header = 0xec; - spi->rx_frame_header_enable = 1; + tegra_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS); } static void mainboard_init(device_t dev) |