Simon Glass
41fecdc94e
common: Tidy up how malloc() is inited
...
The call to malloc() is a bit strange. The naming of the arguments
suggests that an address is passed, but in fact it is a pointer, at
least in the board_init_r() function and SPL equivalent.
Update it to work as described. Add a function comment as well.
Note that this does adjustment does not extend into the malloc()
implementation itself, apart from changing mem_malloc_init(), since
there are lots of casts and pointers and integers are used
interchangeably.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2024-10-25 14:22:24 -06:00
..
2024-06-07 10:48:41 -06:00
2024-10-11 11:44:48 -06:00
2024-10-25 14:22:24 -06:00
2024-05-20 13:35:03 -06:00
2024-02-15 10:38:34 +01:00
2024-10-11 11:44:47 -06:00
2024-10-25 14:22:24 -06:00
2024-05-20 13:35:03 -06:00
2024-10-25 14:22:24 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-22 08:55:29 -06:00
2024-05-20 13:35:03 -06:00
2024-09-13 13:43:56 -06:00
2024-09-13 13:43:56 -06:00
2024-07-15 12:12:17 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-06-16 12:13:44 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-25 14:22:24 -06:00
2013-04-01 16:33:52 -04:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-09-24 13:41:21 -06:00
2024-10-11 11:44:48 -06:00
2024-08-26 14:06:08 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-10-17 08:34:01 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-08-23 15:58:41 -06:00
2024-08-23 15:58:41 -06:00
2024-09-18 13:00:59 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-08-26 14:06:08 -06:00
2024-04-12 16:23:06 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-05-20 13:35:03 -06:00
2023-02-06 13:04:53 -05:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2009-06-12 20:45:48 +02:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2024-10-16 11:11:56 -06:00
2024-05-20 13:35:03 -06:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2023-11-07 14:48:19 -05:00
2024-07-15 12:12:17 -06:00