coreboot/src
Xi Chen ad63eabe3a src/mediatek/mt8186: Implement sdram_size() to get real dram size
Originally, dram size is hard-coded to 4GB by default. To support
different dram size, calculate it from the mem chip info stored
in CBMEM.

BUG=b:206014043
TEST=Output "dram size: 0x100000000" on Kingler

Signed-off-by: Xi Chen <xixi.chen@mediatek.corp-partner.google.com>
Change-Id: I017e9d1a2d6e26f1fc21b67b5962dfb5c6ade8a5
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62065
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
2022-03-23 11:54:28 +00:00
..
acpi coreboot_tables.c: Expose the ACPI RSDP 2022-03-09 14:21:01 +00:00
arch prog_loader: Change legacy_romstage_select_and_load() to return cb_err 2022-03-09 17:20:48 +00:00
commonlib commonlib/bsd: Add struct name "mem_chip_channel" for external access 2022-03-18 15:40:26 +00:00
console console: Fix LOG_FAST macro 2022-02-22 23:13:50 +00:00
cpu cpu/x86/smm: Add weak SoC init and exit methods 2022-03-10 17:06:51 +00:00
device i2c: Add configurable I2C transfer timeout 2022-03-15 22:06:27 +00:00
drivers drivers/tpm/cr50: Use cr50_get_firmware_version in get_board_cfg 2022-03-22 20:02:20 +00:00
ec ec/starlabs/merlin: Don't store EC values on change 2022-03-21 16:57:54 +00:00
include include/efi: Clean up efi_datatype.h file 2022-03-17 06:00:54 +00:00
lib lib/device_tree.c: zero-initialize new DT nodes 2022-03-22 20:45:26 +00:00
mainboard mb/google/brya/var/moli: Fix overridetree 2022-03-22 20:36:25 +00:00
northbridge timestamps: Rename timestamps to make names more consistent 2022-03-08 16:06:33 +00:00
security {drivers/security}: Replace cb_err_t with enum cb_err 2022-03-09 08:40:43 +00:00
soc src/mediatek/mt8186: Implement sdram_size() to get real dram size 2022-03-23 11:54:28 +00:00
southbridge timestamps: Rename timestamps to make names more consistent 2022-03-08 16:06:33 +00:00
superio Use the fallthrough statement in switch loops 2022-02-16 21:29:53 +00:00
vendorcode vendorcode/intel/edk2/edk2-stable202111: Use fixed size struct elements 2022-03-18 18:41:42 +00:00
Kconfig src/Kconfig: Update the path to 'c_start.S' for GDB_STUB config 2022-02-22 20:49:10 +00:00