x86: qemu: Move Cache-As-RAM memory from area mapped to ROM
authorAnton Gerasimov <anton@advancedtelematic.com>
Tue, 14 Nov 2017 17:47:16 +0000 (18:47 +0100)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Nov 2017 05:50:17 +0000 (13:50 +0800)
ROM has been made read-only in qemu recently (namely commit 208fa0e4:
"pc: make 'pc.rom' readonly when machine has PCI enabled"). So this
patch restores compatibility between U-Boot and qemu.

Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: mention qemu commit title in the commit message]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/qemu/Kconfig

index da378128fecf8c51aedd23ec644e58b5f5f17dbb..81444f3d9e1da628ab9083e269de0c87f1d5fd00 100644 (file)
@@ -18,7 +18,7 @@ if QEMU
 
 config SYS_CAR_ADDR
        hex
-       default 0xd0000
+       default 0x10000
 
 config SYS_CAR_SIZE
        hex