coreboot-kgpe-d16/src
Furquan Shaikh 6f009dc485 cbmem: Add comment for cbmem_top returning NULL if backing store is not ready
Board or chipset needs to ensure that cbmem backing store is ready
when returning the cbmem top address. cbmem infrastructure has no
support for checking the validity of the backing store/address.

E.g.: If romstage handles cbmem coming online, chipset or board need
to ensure that call to cbmem_top in romstage returns NULL if the
backing store is not yet initialized.

Add a comment to ensure that developers know this requirement while
implementing cbmem_top for future chipsets/boards.

Change-Id: I0086b8e528f65190b764a84365cf9bf970b69c3f
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: https://review.coreboot.org/14181
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-03-29 19:40:23 +02:00
..
acpi
arch armv7: Word-sized/half-word-sized memory operations for 32/16 bit read/write 2016-03-23 21:12:31 +01:00
commonlib arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
console arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
cpu arch/x86: introduce postcar stage/phase 2016-03-23 14:24:30 +01:00
device device: Add i2c read/write register field API 2016-03-21 23:10:55 +01:00
drivers edid: Add helper function to calculate bits-per-pixel dependent values 2016-03-24 20:25:12 +01:00
ec Hide EC_GOOGLE_CHROMEEC_SPI_BUS. 2016-03-05 00:57:22 +01:00
include cbmem: Add comment for cbmem_top returning NULL if backing store is not ready 2016-03-29 19:40:23 +02:00
lib edid: Add helper function to calculate bits-per-pixel dependent values 2016-03-24 20:25:12 +01:00
mainboard google/intel mainboards: Add missing board_info.txt files 2016-03-25 20:52:04 +01:00
northbridge nb/amd/mct_ddr3: Use standard C function calls in mct_ResetDataStruct_D() 2016-03-28 18:20:59 +02:00
soc intel/fsp_baytrail: Fix I2C abort logic 2016-03-25 18:24:49 +01:00
southbridge nvidia/ck804/sata: Remove space before newline in debug output 2016-03-29 00:08:43 +02:00
superio roda/rk9: Remove #include early_serial.c from romstage 2016-03-08 13:41:03 +01:00
vendorcode vendorcode/intel/Kconfig: Add broadwell_de symbol to fix lint 2016-03-15 15:23:40 +01:00
Kconfig Kconfig: remove COMPRESS_PRERAM_STAGES option from x86 2016-03-11 16:52:38 +01:00