mediatek: mt8183: Support coreboot configuration
authorHung-Te Lin <hungte@chromium.org>
Thu, 2 May 2019 13:42:41 +0000 (21:42 +0800)
committerkenny liang <kenny.liang@mediatek.com>
Tue, 10 Sep 2019 03:25:43 +0000 (11:25 +0800)
commit0d8cb4937e7872c6fc49d26cc83bb72be907a073
tree5dcd57320e8b4b1146e55b1b7c2c4ac44d172dbb
parent3d91c9c382cf392b7012a2849388426f7b5003e0
mediatek: mt8183: Support coreboot configuration

When built for coreboot, we want to enable coreboot library to have
better integration. For example, serial console should be initialized by
coreboot_serial instead of hard-coded values.

Most coreboot configuration will enable memory console, which needs
larger XLAT_TABLES so MAX_XLAT_TABLES is increased; and to support that,
TZRAM_SIZE also need to be enlarged.

Change-Id: I08cf22df2fa26e48284e323d22ad8ce73a6ea803
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
plat/mediatek/mt8183/bl31_plat_setup.c
plat/mediatek/mt8183/include/platform_def.h
plat/mediatek/mt8183/platform.mk