From 7780c4f213df157c51ff45f62d644cd90080ae47 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 14 May 2015 16:38:38 -0500 Subject: rk3288: remove unused structs and declarations The struct rockchip_spi_media type is no longer used; nor is initialize_rockchip_spi_cbfs_media(). Remove them. Change-Id: I2c24be249e0cd89e2dd328e05cdd24a178fe37e8 Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/10214 Reviewed-by: Stefan Reinauer Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/soc/rockchip/rk3288/include/soc/spi.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/soc/rockchip/rk3288/include') diff --git a/src/soc/rockchip/rk3288/include/soc/spi.h b/src/soc/rockchip/rk3288/include/soc/spi.h index bba38ef075..a1be581a99 100644 --- a/src/soc/rockchip/rk3288/include/soc/spi.h +++ b/src/soc/rockchip/rk3288/include/soc/spi.h @@ -21,7 +21,6 @@ #define __SOC_ROCKCHIP_RK3288_SPI_H__ /* This driver serves as a CBFS media source. */ -#include #include #include @@ -195,10 +194,6 @@ check_member(rockchip_spi, rxdr, 0x800); #define SPI_CLEAR_INT_RXOI (1 << 2) #define SPI_CLEAR_INT_TXOI (1 << 3) -/* Serve as CBFS media source */ -int initialize_rockchip_spi_cbfs_media(struct cbfs_media *media, - void *buffer_address, - size_t buffer_size); void rockchip_spi_init(unsigned int bus, unsigned int speed_hz); #endif -- cgit v1.2.3