1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-15 05:29:27 +01:00
Files
u-boot-megous/boot
Marek Vasut a4df06e41f boot: fdt: Change type of env_get_bootm_low() to phys_addr_t
Change type of ulong env_get_bootm_low() to phys_addr_t env_get_bootm_low().
The PPC/LS systems already treat env_get_bootm_low() result as phys_addr_t,
while the function itself still returns ulong. This is potentially dangerous
on 64bit systems, where ulong might not be large enough to hold the content
of "bootm_low" environment variable. Fix it by using phys_addr_t, similar to
what env_get_bootm_size() does, which returns phys_size_t .

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2024-04-11 09:38:57 -06:00
..
2023-10-11 15:43:55 -04:00
2021-11-11 19:01:56 -05:00
2023-11-14 20:04:00 -07:00
2022-01-19 18:11:34 +01:00
2023-09-19 11:36:25 -04:00
2021-11-11 19:01:56 -05:00
2021-11-11 19:01:56 -05:00
2024-02-13 15:38:49 -05:00
2023-10-11 15:43:55 -04:00
2022-08-26 16:32:59 -06:00