Signed-off-by: Huayang Duan <huayang.duan@mediatek.com> Change-Id: Ie4877b69de1bfa4ff981d8eb386efbddb9e0f5c2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/44700 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
16 lines
231 B
C
16 lines
231 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#include <soc/dramc_pi_api.h>
|
|
|
|
size_t sdram_size(void)
|
|
{
|
|
size_t dram_size = 0x100000000;
|
|
|
|
return dram_size;
|
|
}
|
|
|
|
void mt_set_emi(const struct dramc_data *dparam)
|
|
{
|
|
init_dram(dparam);
|
|
}
|