coreboot/src
Arthur Heymans aa75ee1a71 cbmem.h: Change return type of cbmem_get_region
The underlying IMD function already returns an integer which indicates
success or failure.

This removes the need to have initialized variables that need to be
checked for NULL later. In some cases this actually adds the appropriate
check for returned values.

Dying is appropriate if cbmem is not found as it is essential to the
bootflow.

Change-Id: Ib3e09a75380faf9f533601368993261f042422ef
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84039
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2024-08-29 13:58:21 +00:00
..
acpi acpi/acpigen_ps2_keybd: Fix total keymap size calculation 2024-08-06 14:54:59 +00:00
arch cbmem.h: Change return type of cbmem_get_region 2024-08-29 13:58:21 +00:00
commonlib region: Turn region_end() into an inclusive region_last() 2024-08-23 01:08:16 +00:00
console console/i2c_smbus: Allow to send data w/o register offset 2024-07-11 00:06:22 +00:00
cpu cpu/x86/smm: Don't do partial linking 2024-08-29 13:55:32 +00:00
device azalia: Get rid of "return {-1,0} 2024-08-11 17:10:08 +00:00
drivers drivers/intel/opregion.c: Also set vbt_size if size is 0 2024-08-27 00:31:03 +00:00
ec ec/dell/mec5035: Replace defines with enums 2024-08-26 22:32:30 +00:00
include cbmem.h: Change return type of cbmem_get_region 2024-08-29 13:58:21 +00:00
lib cbmem.h: Change return type of cbmem_get_region 2024-08-29 13:58:21 +00:00
mainboard mb/google/rauru: Reset USB hub in bootblock 2024-08-29 13:53:16 +00:00
northbridge nb/intel/haswell: Move SPD addresses to devicetree 2024-08-26 11:08:14 +00:00
sbom src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
security cbmem.h: Change return type of cbmem_get_region 2024-08-29 13:58:21 +00:00
soc cbmem.h: Change return type of cbmem_get_region 2024-08-29 13:58:21 +00:00
southbridge azalia: Get rid of "return {-1,0} 2024-08-11 17:10:08 +00:00
superio superio/ite/it8728f: Support setting power state after power failure 2024-08-20 13:10:02 +00:00
vendorcode vc/intel/fsp: Update ADL N FSP headers from v5021.00 to v5132.00 2024-08-26 11:02:44 +00:00
Kconfig Add initial experimental LTO support 2024-08-24 12:50:38 +00:00