From 1c3b6b3230eba41484abd72577d6472b3655c297 Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Fri, 15 Sep 2023 14:19:29 -0700 Subject: cbfs: Remove x86 .data section limitation comment With commit b7832de0260b042c25bf8f53abcb32e20a29ae9c ("x86: Add .data section support for pre-memory stages"), this comment is not correct anymore and should be removed. Change-Id: I61597841cd3f90cebe7323a68738f91d6d64b33d Signed-off-by: Jeremy Compostella Reviewed-on: https://review.coreboot.org/c/coreboot/+/77988 Tested-by: build bot (Jenkins) Reviewed-by: Julius Werner Reviewed-by: sridhar siricilla Reviewed-by: Maximilian Brune --- src/lib/cbfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c index d0a87d349c..8c3db4bd91 100644 --- a/src/lib/cbfs.c +++ b/src/lib/cbfs.c @@ -443,8 +443,7 @@ static void *do_alloc(union cbfs_mdata *mdata, struct region_device *rdev, return mapping; } else if (!cbfs_cache.size) { /* In order to use the cbfs_cache you need to add a CBFS_CACHE to your - * memlayout. For stages that don't have .data sections (x86 pre-RAM), - * it is not possible to add a CBFS_CACHE. */ + * memlayout. */ ERROR("Cannot map compressed file %s without cbfs_cache\n", mdata->h.filename); return NULL; } else { -- cgit v1.2.3