> SoC-specific structs differ, and at this point in the code, we just have a
> pointer, not a fixed-size array. So you cannot use ARRAY_SIZE().
Right, just a pointer. But well, you found a middle path for ARRAY_SIZE.
Thanks!