Merge tag 'v2023.10-rc3' into next
Prepare v2023.10-rc3 Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -204,7 +204,7 @@ static u8 vbe_get_mode_info(struct vesa_state *mi)
|
||||
|
||||
realmode_interrupt(0x10, VESA_GET_MODE_INFO, 0x0000, mi->video_mode,
|
||||
0x0000, buffer_seg, buffer_adr);
|
||||
memcpy(mi->mode_info_block, buffer, sizeof(struct vesa_state));
|
||||
memcpy(mi->mode_info_block, buffer, sizeof(struct vesa_mode_info));
|
||||
mi->valid = true;
|
||||
|
||||
return 0;
|
||||
|
@@ -34,7 +34,7 @@ int dram_init(void)
|
||||
* the relocation address, and how far U-Boot is moved by relocation are
|
||||
* set in the global data structure.
|
||||
*/
|
||||
phys_size_t board_get_usable_ram_top(phys_size_t total_size)
|
||||
phys_addr_t board_get_usable_ram_top(phys_size_t total_size)
|
||||
{
|
||||
return fsp_get_usable_lowmem_top(gd->arch.hob_list);
|
||||
}
|
||||
|
@@ -77,7 +77,7 @@ int dram_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
phys_size_t board_get_usable_ram_top(phys_size_t total_size)
|
||||
phys_addr_t board_get_usable_ram_top(phys_size_t total_size)
|
||||
{
|
||||
if (!ll_boot_init())
|
||||
return gd->ram_size;
|
||||
|
@@ -7,6 +7,7 @@
|
||||
#include <common.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/i8254.h>
|
||||
#include <asm/ibmpc.h>
|
||||
|
||||
#define TIMER1_VALUE 18 /* 15.6us */
|
||||
#define BEEP_FREQUENCY_HZ 440
|
||||
|
@@ -14,6 +14,7 @@
|
||||
#include <asm/cpu.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <linux/compiler.h>
|
||||
#include <linux/sizes.h>
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
@@ -144,7 +145,7 @@ static void x86_phys_memset_page(phys_addr_t map_addr, uintptr_t offset, int c,
|
||||
|
||||
/* Make sure the window is below U-Boot. */
|
||||
assert(window + LARGE_PAGE_SIZE <
|
||||
gd->relocaddr - CONFIG_SYS_MALLOC_LEN - CFG_SYS_STACK_SIZE);
|
||||
gd->relocaddr - CONFIG_SYS_MALLOC_LEN - SZ_32K);
|
||||
/* Map the page into the window and then memset the appropriate part. */
|
||||
x86_phys_map_page(window, map_addr, 1);
|
||||
memset((void *)(window + offset), c, size);
|
||||
|
@@ -27,6 +27,7 @@
|
||||
#include <asm/mtrr.h>
|
||||
#include <asm/pci.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/qemu.h>
|
||||
#include <asm/spl.h>
|
||||
#include <asm-generic/sections.h>
|
||||
|
||||
@@ -137,7 +138,6 @@ static int x86_spl_init(void)
|
||||
}
|
||||
|
||||
#ifndef CONFIG_SYS_COREBOOT
|
||||
log_debug("bss\n");
|
||||
debug("BSS clear from %lx to %lx len %lx\n", (ulong)__bss_start,
|
||||
(ulong)__bss_end, (ulong)__bss_end - (ulong)__bss_start);
|
||||
memset(__bss_start, 0, (ulong)__bss_end - (ulong)__bss_start);
|
||||
@@ -292,6 +292,8 @@ void spl_board_init(void)
|
||||
#ifndef CONFIG_TPL
|
||||
preloader_console_init();
|
||||
#endif
|
||||
if (IS_ENABLED(CONFIG_QEMU))
|
||||
qemu_chipset_init();
|
||||
|
||||
if (CONFIG_IS_ENABLED(VIDEO)) {
|
||||
struct udevice *dev;
|
||||
|
Reference in New Issue
Block a user