[coreboot] [PATCH v3 1/2] x86: coreboot: Update cbmem table

2023-08-16 Thread Simon Glass
This changed a few years ago to include an overflow flag. Bring in the new structure. This comes from coreboot commit: 6f5ead14b4 ("mb/google/nissa/var/joxer: Update eMMC DLL settings") Note: There are several implementations of this in coreboot. I have chosen to follow the one in src/lib/cbm

[coreboot] [PATCH v3 2/2] x86: Update cbmem driver

2023-08-16 Thread Simon Glass
This driver is not actually built since a Kconfig was never created for it. Add a Kconfig (which is already implied by COREBOOT) and update the implementation to avoid using unnecessary memory. Drop the #ifdef at the top since we can rely on Kconfig to get that right. To enable it (in addition to