diff --git a/board/mediatek/mt8183/mt8183.c b/board/mediatek/mt8183/mt8183.c index 04a6e2ee8ad..6198bfe6986 100644 --- a/board/mediatek/mt8183/mt8183.c +++ b/board/mediatek/mt8183/mt8183.c @@ -77,6 +77,16 @@ int board_late_init(void) } /* end TEMPORARY diagnostics */ +/* + * The krane scanout driver maps the coreboot table and the live + * framebuffer dynamically after relocation (mmu_map_region), which the + * default page-table budget (sized for the static memory map only) + * does not account for. Reserve enough for those mappings. + */ +u64 get_page_table_size(void) +{ + return 0x40000; +} #include #include