1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-30 17:07:14 +01:00
Files
u-boot-megous/drivers/ram
Johan Jonker 0fbb96964b core: remap: fix regmap_init_mem_plat() reg size handeling
The fdt_addr_t and phys_addr_t size have been decoupled.
A 32bit CPU can expect 64-bit data from the device tree parser,
so convert regmap_init_mem_plat() input to handel both. The
syscon class driver also makes use of the regmap_init_mem_plat()
function, but has no way of knowing the format of the
device-specific platform data. In case of odd reg structures other
then that the syscon class driver assumes the regmap must be
filled in the individual syscon driver before pre-probe.
Also fix the ARRAY_SIZE divider in the syscon class driver.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-05-06 17:28:18 +08:00
..
2023-03-06 17:03:56 -05:00
2023-04-20 16:08:44 +08:00
2023-04-20 16:08:44 +08:00
2023-04-20 16:08:44 +08:00