[PATCH 25/26] dm: core: Allow the uclass list to move
Simon Glass
sjg at chromium.org
Mon Dec 28 17:26:14 CET 2020
At present the uclass list head is in global_data. This is convenient
but with the new of-platdata we need the list head to be declared by
the generated code.
Change this over to be a pointer. Provide a 'static' version in
global_data to retain the current behaviour.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/core/device.c | 4 ++--
drivers/core/root.c | 7 ++++---
drivers/core/uclass.c | 4 ++--
include/asm-generic/global_data.h | 8 +++++++-
include/dm/device-internal.h | 1 +
test/dm/core.c | 6 +++---
6 files changed, 19 insertions(+), 11 deletions(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list