Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42993 )
Change subject: libpayload: Add simple 32.32 fixed-point math API ......................................................................
Patch Set 3:
ARM32 needs software emulation.
Why? I mean, fundamentally all arm32 cores that libpayload ever supported are armv7a with hardware FPU extensions. That's how we're able to run Chrome OS on them without slowing graphics down to a crawl, after all. I just don't know what exactly is required initialization-wise to get them up and running.
But yeah, I think this patch should be good enough for what we need and absolves us of the headache of figuring out all those architectural details for now. We could even use this later to add floating-point operations piecemeal if we want (by making fpmath_t and the related functions map to either float operations or this implementation based on architecture Kconfigs).