summaryrefslogtreecommitdiff
path: root/src/vendorcode
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2021-06-14 17:19:48 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-06-15 19:46:39 +0000
commit47ad2ae3f984ffa6fb3803bdbea6bd7d96bad819 (patch)
treeafec100c10dd28a8e463e0fb40435fbc426f2513 /src/vendorcode
parent4e2798e45c298b608697d257ff276640c37f1243 (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>
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/mediatek/mt8195/include/dramc_top.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/mediatek/mt8195/include/dramc_top.h b/src/vendorcode/mediatek/mt8195/include/dramc_top.h
index d1b7d4f7ed..9ec8fb64be 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_rank_nr(void);
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);