From: Bin Meng Date: Wed, 11 May 2016 07:45:01 -0700 Subject: [U-Boot] [PATCH v2 07/18] x86: Reserve configuration tables in high memory In-Reply-To: <1462977912-13666-1-git-send-email-bmeng.cn@gmail.com> References: <1462977912-13666-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1462977912-13666-8-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de When SeaBIOS is on, reserve configuration tables in reserve_arch(). Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/cpu.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 2e27d78..e522ff3 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 -- 1.8.2.1