1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-25 15:55:22 +01:00
Files
u-boot-megous/drivers
Heinrich Schuchardt 5896ac5766 clk: sifive: avoid declaring static variables in includes
The existing code is unnecessarily convoluted:

Arrays __prci_init_clocks_fu[5|7]40  are initialized with data.
In separate includes fu[5|7]40-prci.h the size of the arrays is provided as
constants.

By moving the structures prci_clk_fu[5|7]40 to the respective code modules
we can directly use ARRAY_SIZE() to access the size of the data used for
initialization.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2024-09-10 10:10:43 +08:00
..
2024-06-24 13:34:52 -06:00
2023-11-07 14:50:51 -05:00
2024-08-05 12:17:01 -06:00
2024-04-26 08:28:35 +03:00
2024-07-31 16:51:54 +02:00