[U-Boot] Move Cache-As-RAM memory from area mapped to ROM in QEMU

Message ID 20171114174716.896-1-anton@advancedtelematic.com
State Accepted
Delegated to: Bin Meng
Headers show
Series
  • [U-Boot] Move Cache-As-RAM memory from area mapped to ROM in QEMU
Related show

Commit Message

Anton Gerasimov Nov. 14, 2017, 5:47 p.m.
ROM has been made read-only in qemu recently (namely commit
208fa0e43645edd0b0d8f838857dfc79daff40a8), so this patch restores
compatibility between u-boot and qemu.

Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
---
 arch/x86/cpu/qemu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bin Meng Nov. 20, 2017, 7:07 a.m. | #1
On Wed, Nov 15, 2017 at 1:47 AM, Anton Gerasimov
<anton@advancedtelematic.com> wrote:
> ROM has been made read-only in qemu recently (namely commit
> 208fa0e43645edd0b0d8f838857dfc79daff40a8), so this patch restores
> compatibility between u-boot and qemu.
>
> Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
> ---
>  arch/x86/cpu/qemu/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Bin Meng Nov. 20, 2017, 9:15 a.m. | #2
On Mon, Nov 20, 2017 at 3:07 PM, Bin Meng <bmeng.cn@gmail.com> wrote:
> On Wed, Nov 15, 2017 at 1:47 AM, Anton Gerasimov
> <anton@advancedtelematic.com> wrote:
>> ROM has been made read-only in qemu recently (namely commit
>> 208fa0e43645edd0b0d8f838857dfc79daff40a8), so this patch restores
>> compatibility between u-boot and qemu.
>>
>> Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
>> ---
>>  arch/x86/cpu/qemu/Kconfig | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
> Tested-by: Bin Meng <bmeng.cn@gmail.com>

Adjusted the commit tile to add the "x86: qemu" tags, mentioned qemu
commit tile in the commit message, and

applied to u-boot-x86, thanks!

Patch

diff --git a/arch/x86/cpu/qemu/Kconfig b/arch/x86/cpu/qemu/Kconfig
index 6808c9a6b9..f4b9922a34 100644
--- a/arch/x86/cpu/qemu/Kconfig
+++ b/arch/x86/cpu/qemu/Kconfig
@@ -11,7 +11,7 @@  if QEMU
 
 config SYS_CAR_ADDR
 	hex
-	default 0xd0000
+	default 0x10000
 
 config SYS_CAR_SIZE
 	hex