diff options
| author | Alexey Charkov <[email protected]> | 2026-01-20 22:09:02 +0400 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2026-03-12 09:30:44 +0100 |
| commit | c664b4d5f30a704003b97823a5ad6361cb16fbe8 (patch) | |
| tree | 166fe6f013e4e1f25b503ef69132ebc8752e2582 /lib | |
| parent | d908dd98de5c335a213d882746d033158db02cce (diff) | |
spl: Make UFS available for SPL builds
Add minimal infrastructure to build SPL images with support for UFS
storage devices. This also pulls in SCSI support and charset functions,
which are dependencies of the UFS code.
With this, only a fixed offset is supported for loading the next image,
which should be specified in CONFIG_SPL_UFS_RAW_U_BOOT_SECTOR as the
number of 4096-byte sectors into the UFS block device.
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Alexey Charkov <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 70667f3728c..d0ffabc2b47 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -147,6 +147,7 @@ else obj-$(CONFIG_$(PHASE_)SPRINTF) += vsprintf.o endif obj-$(CONFIG_$(PHASE_)STRTO) += strto.o +obj-$(CONFIG_$(PHASE_)UFS_SUPPORT) += charset.o else # Main U-Boot always uses the full printf support obj-y += vsprintf.o strto.o |
