]> git.sur5r.net Git - u-boot/commit
x86: qemu: Turn on legacy segments decode
authorBin Meng <bmeng.cn@gmail.com>
Sat, 23 May 2015 16:12:33 +0000 (00:12 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 08:39:39 +0000 (02:39 -0600)
commitcc7debc7199b3c637ceead92bc103aeb6eb10a38
treede112df94797be76277cf31e18024687748b1549
parent5466983200e6f059b3af40eb17b2cd18497a869d
x86: qemu: Turn on legacy segments decode

By default the legacy segments C/D/E/F do not decode to system RAM.
Turn on the decode via Programmable Attribute Map (PAM) registers
so that we can write configuration tables in the F segment.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/qemu/pci.c
arch/x86/include/asm/arch-qemu/qemu.h