]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: qemu: Expand ROM size
authorSimon Glass <sjg@chromium.org>
Thu, 4 Jan 2024 15:10:41 +0000 (08:10 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 11 Apr 2024 02:01:33 +0000 (20:01 -0600)
Expand the ROM for x86_64 to 2MB to make space for the font, as it is
already on the edge.

Signed-off-by: Simon Glass <sjg@chromium.org>
board/emulation/qemu-x86/Kconfig
configs/qemu-x86_64_defconfig

index 01dc1d497aec8375cbf481c768db68fe25a5482e..34d665a3e4c0c316ef59dc75bc19e577e6aec6e1 100644 (file)
@@ -21,7 +21,8 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        select X86_RESET_VECTOR
        select QEMU
        select QFW_PIO if CMD_QFW
-       select BOARD_ROMSIZE_KB_1024
+       select BOARD_ROMSIZE_KB_1024 if TARGET_QEMU_X86
+       select BOARD_ROMSIZE_KB_2048 if TARGET_QEMU_X86_64
        imply VIRTIO_PCI
        imply VIRTIO_NET
        imply VIRTIO_BLK
index 8b4c5aff7f6f397f22e560f42a993e91170ca1bc..79cdb0bddb25f4464291f291926b2a0d32e90cb0 100644 (file)
@@ -6,7 +6,7 @@ CONFIG_ENV_SIZE=0x40000
 CONFIG_MAX_CPUS=2
 CONFIG_SPL_DM_SPI=y
 CONFIG_DEFAULT_DEVICE_TREE="qemu-x86_i440fx"
-CONFIG_SPL_TEXT_BASE=0xfffd8000
+CONFIG_SPL_TEXT_BASE=0xfffd4000
 CONFIG_SPL_SYS_MALLOC_F_LEN=0x2000
 CONFIG_DEBUG_UART_BASE=0x3f8
 CONFIG_DEBUG_UART_CLOCK=1843200
@@ -17,7 +17,7 @@ CONFIG_DEBUG_UART=y
 CONFIG_SMP=y
 CONFIG_GENERATE_PIRQ_TABLE=y
 CONFIG_GENERATE_MP_TABLE=y
-CONFIG_X86_OFFSET_U_BOOT=0xfff00000
+CONFIG_X86_OFFSET_U_BOOT=0xffe00000
 CONFIG_SYS_MONITOR_BASE=0x01110000
 CONFIG_FIT=y
 CONFIG_SPL_LOAD_FIT=y