coreboot/src
Angel Pons 90afa3c28c AGESA f15tn: Drop IDSOPT_ASSERT_ENABLED
The `ASSERT` macro is already defined in `src/include/assert.h`, and
AGESA's definition is never used. On Asus A88XM-E, toggling the value of
the `IDSOPT_ASSERT_ENABLED` macro does not change the resulting binary
when using reproducible builds. Attempting to use AGESA's definition of
the `ASSERT` macro results in build errors:

 In file included from src/vendorcode/amd/agesa/f15tn/Proc/CPU/Feature/cpuDmi.c:56:
 src/vendorcode/amd/agesa/f15tn/Proc/CPU/Feature/cpuDmi.c: In function 'GetType4Type7Info':
 src/vendorcode/amd/agesa/f15tn/Include/Ids.h:371:33: error: statement with no effect [-Werror=unused-value]
      #define ASSERT(conditional) ((conditional) ? 0 : IdsAssert (STOP_CODE));

Given that coreboot's definition of `ASSERT` is more useful, drop
AGESA's broken definition and the useless `IDSOPT_ASSERT_ENABLED` macro.
Also remove the `IdsAssert` function, as it is no longer used anywhere.

Tested with BUILD_TIMELESS=1, Asus A88XM-E remains identical.

Change-Id: Ia4e5dbfd3d2e5cec979b8b16fbc11d1ca8a0661e
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/53983
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
2021-08-22 22:14:43 +00:00
..
acpi acpi: Fill fadt->century based on Kconfig 2021-08-19 18:16:04 +00:00
arch arch/x86: smbios write 7 table using deterministic cache functions 2021-08-11 05:50:02 +00:00
commonlib util/elogtool: add tool to print elog events 2021-08-05 22:00:35 +00:00
console console/hw-debug_sink: Update for fast/slow console distinction 2021-08-04 15:15:45 +00:00
cpu cpu/x86/mp_init: don't wait between INIT and SIPI for X86_AMD_INIT_SIPI 2021-07-27 14:00:32 +00:00
device qualcomm/sc7180: Switch to common MIPI panel library 2021-08-20 18:28:57 +00:00
drivers soc/intel/common: Add TGL-H PCI IDs 2021-08-19 13:51:59 +00:00
ec ec/google/chromeec: Add code for KEY_MICMUTE and KEY_KBD_BKLIGHT_TOGGLE 2021-08-06 16:26:51 +00:00
include soc/intel/adl: Update PCI ID for ADL-M SKU 2021-08-20 15:16:02 +00:00
lib Move post_codes.h to commonlib/console/ 2021-08-04 15:15:51 +00:00
mainboard AGESA f15tn: Drop IDSOPT_ASSERT_ENABLED 2021-08-22 22:14:43 +00:00
northbridge nb/intel/haswell: Move MRC glue code into a subfolder 2021-08-02 14:59:45 +00:00
security vboot/secdata_tpm: Add WRITE_STCLEAR attr to RW ARB spaces 2021-07-26 07:27:48 +00:00
soc qualcomm/sc7180: Switch to common MIPI panel library 2021-08-20 18:28:57 +00:00
southbridge acpi: Fill fadt->century based on Kconfig 2021-08-19 18:16:04 +00:00
superio
vendorcode AGESA f15tn: Drop IDSOPT_ASSERT_ENABLED 2021-08-22 22:14:43 +00:00
Kconfig option: Allow mainboards to implement the API 2021-05-28 11:37:25 +00:00