u-boot/arch/x86/lib
Simon Glass ea4e97a511 x86: Set the DRAM banks to reflect real location
At present with fsp a single DRAM bank is added which extends to the
whole size of memory. However there is typically only 2GB of memory
available below the 4GB boundary, and this is what is used by U-Boot while
running in 32-bit mode.

Scan the tables to set the banks correct. The first bank is set to memory
below 4GB, and the rest of memory is put into subsequent banks.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-12-15 11:44:15 +08:00
..
fsp x86: Set the DRAM banks to reflect real location 2019-12-15 11:44:15 +08:00
fsp1 x86: Move fsp_prepare_mrc_cache() to fsp1 directory 2019-12-15 11:44:15 +08:00
acpi.c x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library 2018-07-20 09:33:22 +08:00
acpi_s3.c x86: Move acpi_s3.h to a common location 2019-10-08 13:57:46 +08:00
acpi_table.c x86: acpi: Introduce a stub to generate CSRT 2019-08-09 22:24:02 +08:00
asm-offsets.c x86: Add new slimbootloader CPU type 2019-08-09 22:24:02 +08:00
bios.c common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
bios.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_asm.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bios_interrupts.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bootm.c x86: Don't generate a bootstage report in SPL 2019-05-08 13:02:16 +08:00
cmd_boot.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
coreboot_table.c x86: Move acpi_s3.h to a common location 2019-10-08 13:57:46 +08:00
crt0_ia32_efi.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
crt0_x86_64_efi.S x86: Remove unused _relocate arguments 2018-07-19 16:31:36 -04:00
div64.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
e820.c x86: efi_loader: Use efi_add_conventional_memory_map() 2019-09-10 14:31:42 +08:00
early_cmos.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
elf_ia32_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
elf_x86_64_efi.lds x86: Include bss subsections in linker script 2018-08-20 14:17:43 +02:00
hob.c x86: fsp: Tidy up comment style a little 2019-10-08 13:53:54 +08:00
i8254.c x86: Make sure i8254 is setup correctly before generating beeps 2019-03-11 22:55:01 +08:00
i8259.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
init_helpers.c common: Move board_get_usable_ram_top() out of common.h 2019-12-02 18:25:04 -05:00
interrupts.c common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
lpc-uclass.c x86: Allow the PCH and LPC uclasses to work with of-platdata 2019-10-08 13:57:48 +08:00
Makefile x86: fsp: Move common dram functions into a common file 2019-10-08 13:53:57 +08:00
mpspec.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mrccache.c x86: Don't export mrccache_update() 2019-12-15 11:44:14 +08:00
northbridge-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
physmem.c x86: Move paging functions into cpu.c 2014-10-28 20:42:51 -06:00
pinctrl_ich6.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pirq_routing.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmu.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ramtest.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
reloc_ia32_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
reloc_x86_64_efi.c elf: Move x86 reloc defines to common elf.h 2018-07-25 14:57:43 +02:00
relocate.c x86: detect unsupported relocation types 2018-10-22 17:51:45 +08:00
scu.c x86: cpu: add docstring to scu_ipc_command() 2018-09-17 17:35:53 +08:00
sections.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sfi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.c common: Move interrupt functions into a new header 2019-12-02 18:25:00 -05:00
string.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tables.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tpl.c x86: Quieten TPL's jump_to_image_no_args() 2019-11-03 07:20:29 +08:00
zimage.c common: Move enable/disable_interrupts out of common.h 2019-12-02 18:25:01 -05:00