From: Bin Meng Date: Wed, 11 May 2016 14:45:01 +0000 (-0700) Subject: x86: Reserve configuration tables in high memory X-Git-Tag: v2016.07-rc1~177^2~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d19c90747d8975a523489f863984c521ae72ce39;p=u-boot x86: Reserve configuration tables in high memory When SeaBIOS is on, reserve configuration tables in reserve_arch(). Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 2e27d782d1..e522ff3b7f 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86/cpu/cpu.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -757,9 +758,13 @@ int cpu_init_r(void) int reserve_arch(void) { #ifdef CONFIG_ENABLE_MRC_CACHE - return mrccache_reserve(); -#else - return 0; + mrccache_reserve(); +#endif + +#ifdef CONFIG_SEABIOS + high_table_reserve(); #endif + + return 0; } #endif