diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/gru/sdram_configs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/gru/sdram_configs.c b/src/mainboard/google/gru/sdram_configs.c index ac5c427027..2091c36b7a 100644 --- a/src/mainboard/google/gru/sdram_configs.c +++ b/src/mainboard/google/gru/sdram_configs.c @@ -67,8 +67,8 @@ const struct rk3399_sdram_params *get_sdram_config() if (ramcode >= ARRAY_SIZE(sdram_configs) || !snprintf(config_file, sizeof(config_file), "%s-%d", sdram_configs[ramcode], get_sdram_target_mhz()) || - (cbfs_boot_load_struct(config_file, ¶ms, - sizeof(params)) != sizeof(params))) + (cbfs_boot_load_file(config_file, ¶ms, sizeof(params), + CBFS_TYPE_STRUCT) != sizeof(params))) die("Cannot load SDRAM parameter file!"); return ¶ms; |