Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48480 )
Change subject: lib/cbfs.c: Update the cbfs_boot_device variable after cmbem_init ......................................................................
Patch Set 1:
Ugh... yeah, I didn't think about this part. My patch was pointless.
I'd really like to avoid pulling the `ro` struct out into a global... I think an alternative way to make this work is to check if mcache_size has been initialized directly (rather than checking cbmem_online()), and keep trying until we can. Can you check if CB:48482 works instead?