ulib: Provide a generic init function
Provide an arch-neutral init function that can be used by including a single header file. This declares a static global_data which is used for the initial startup process. Once board_init_r() is called, the global_data is moved into a new place and the static version is not needed. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -166,6 +166,8 @@ obj-$(CONFIG_LIB_ELF) += elf.o
|
||||
|
||||
obj-$(CONFIG_$(PHASE_)SEMIHOSTING) += semihosting.o
|
||||
|
||||
obj-$(CONFIG_ULIB) += ulib.o
|
||||
|
||||
#
|
||||
# Build a fast OID lookup registry from include/linux/oid_registry.h
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user