commit | 47ad2ae3f984ffa6fb3803bdbea6bd7d96bad819 | [log] [tgz] |
---|---|---|
author | Patrick Georgi <pgeorgi@google.com> | Mon Jun 14 17:19:48 2021 +0200 |
committer | Patrick Georgi <pgeorgi@google.com> | Tue Jun 15 19:46:39 2021 +0000 |
tree | afec100c10dd28a8e463e0fb40435fbc426f2513 | |
parent | 4e2798e45c298b608697d257ff276640c37f1243 [diff] |
vc/mediatek/mt8195: Match definition with declaration gcc 11 insists. Change-Id: Icec68ab7a3c0bce9b18e37c1b6f41603c97181e2 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55501 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_top.h b/src/vendorcode/mediatek/mt8195/include/dramc_top.h index d1b7d4f..9ec8fb6 100644 --- a/src/vendorcode/mediatek/mt8195/include/dramc_top.h +++ b/src/vendorcode/mediatek/mt8195/include/dramc_top.h
@@ -97,7 +97,7 @@ int get_dram_mr_cnt(void); int get_dram_freq_cnt(void); #if !__ETT__ -void get_dram_rank_size(u64 dram_rank_size[]); +void get_dram_rank_size(u64 dram_rank_size[DRAMC_MAX_RK]); void get_dram_freq_step(u32 dram_freq_step[]); void set_dram_mr(unsigned int index, unsigned short value); unsigned short get_dram_mr(unsigned int index);