From 329031fdedb332f75b2d3ce6c165bb62d9631600 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Fri, 19 Aug 2016 16:35:22 -0700 Subject: gru: Make SDRAM parameters individual struct files in CBFS This patch changes Gru SDRAM parameters from structures that just get compiled into the romstage to individual CBFS files. This allows us to only load the parameter set we need for the board we're booting from flash, which reduces our boot time and the SRAM memory footprint required to hold the romstage. TEST=Booted Kevin. Change-Id: Ie88a515cbdb19a794ca0a230a56bcc82bed1e550 Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/16274 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/soc/rockchip/rk3399/include/soc/sdram.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/soc') diff --git a/src/soc/rockchip/rk3399/include/soc/sdram.h b/src/soc/rockchip/rk3399/include/soc/sdram.h index 5c7273bcc1..1ec6d3958c 100644 --- a/src/soc/rockchip/rk3399/include/soc/sdram.h +++ b/src/soc/rockchip/rk3399/include/soc/sdram.h @@ -16,7 +16,7 @@ #ifndef __SOC_ROCKCHIP_RK3399_SDRAM_H__ #define __SOC_ROCKCHIP_RK3399_SDRAM_H__ -#include +#include enum { DDR3 = 3, @@ -183,8 +183,6 @@ struct rk3399_sdram_params { void sdram_init(const struct rk3399_sdram_params *sdram_params); u32 sdram_get_ram_code(void); const struct rk3399_sdram_params *get_sdram_config(void); -const struct rk3399_sdram_params - *get_default_sdram_config(unsigned char dramtype); size_t sdram_size_mb(void); #endif -- cgit v1.2.3