diff options
| author | Tom Rini <[email protected]> | 2024-10-11 12:23:25 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-11 12:23:25 -0600 |
| commit | 47e544f576699ca4630e20448db6a05178960697 (patch) | |
| tree | f31951120512ac41f145dc0fcf6b0bbdfe5b9c01 /lib | |
| parent | 5d899fc58c44fe5623e31524da2205d8597a53d1 (diff) | |
| parent | 0220a68c25cbfdfa495927f83abf0b1d4ebd823b (diff) | |
Merge patch series "Tidy up use of 'SPL' and CONFIG_SPL_BUILD"
Simon Glass <[email protected]> says:
When the SPL build-phase was first created it was designed to solve a
particular problem (the need to init SDRAM so that U-Boot proper could
be loaded). It has since expanded to become an important part of U-Boot,
with three phases now present: TPL, VPL and SPL
Due to this history, the term 'SPL' is used to mean both a particular
phase (the one before U-Boot proper) and all the non-proper phases.
This has become confusing.
For a similar reason CONFIG_SPL_BUILD is set to 'y' for all 'SPL'
phases, not just SPL. So code which can only be compiled for actual SPL,
for example, must use something like this:
#if defined(CONFIG_SPL_BUILD) && !defined(CONFIG_TPL_BUILD)
In Makefiles we have similar issues. SPL_ has been used as a variable
which expands to either SPL_ or nothing, to chose between options like
CONFIG_BLK and CONFIG_SPL_BLK. When TPL appeared, a new SPL_TPL variable
was created which expanded to 'SPL_', 'TPL_' or nothing. Later it was
updated to support 'VPL_' as well.
This series starts a change in terminology and usage to resolve the
above issues:
- The word 'xPL' is used instead of 'SPL' to mean a non-proper build
- A new CONFIG_XPL_BUILD define indicates that the current build is an
'xPL' build
- The existing CONFIG_SPL_BUILD is changed to mean SPL; it is not now
defined for TPL and VPL phases
- The existing SPL_ Makefile variable is renamed to SPL_
- The existing SPL_TPL Makefile variable is renamed to PHASE_
It should be noted that xpl_phase() can generally be used instead of
the above CONFIGs without a code-space or run-time penalty.
This series does not attempt to convert all of U-Boot to use this new
terminology but it makes a start. In particular, renaming spl.h and
common/spl seems like a bridge too far at this point.
The series is fully bisectable. It has also been checked to ensure there
are no code-size changes on any commit.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Makefile | 68 | ||||
| -rw-r--r-- | lib/acpi/Makefile | 10 | ||||
| -rw-r--r-- | lib/aes/Makefile | 2 | ||||
| -rw-r--r-- | lib/crypto/Makefile | 18 | ||||
| -rw-r--r-- | lib/display_options.c | 2 | ||||
| -rw-r--r-- | lib/ecdsa/Makefile | 2 | ||||
| -rw-r--r-- | lib/fdtdec.c | 8 | ||||
| -rw-r--r-- | lib/hang.c | 2 | ||||
| -rw-r--r-- | lib/hashtable.c | 4 | ||||
| -rw-r--r-- | lib/hexdump.c | 2 | ||||
| -rw-r--r-- | lib/libfdt/Makefile | 2 | ||||
| -rw-r--r-- | lib/lmb.c | 4 | ||||
| -rw-r--r-- | lib/rsa/Makefile | 4 | ||||
| -rw-r--r-- | lib/time.c | 2 | ||||
| -rw-r--r-- | lib/uuid.c | 2 |
15 files changed, 66 insertions, 66 deletions
diff --git a/lib/Makefile b/lib/Makefile index d300249f57c..7ccc91f5d33 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -3,7 +3,7 @@ # (C) Copyright 2000-2006 # Wolfgang Denk, DENX Software Engineering, [email protected]. -ifndef CONFIG_SPL_BUILD +ifndef CONFIG_XPL_BUILD obj-$(CONFIG_EFI) += efi/ obj-$(CONFIG_EFI_LOADER) += efi_driver/ @@ -20,7 +20,7 @@ obj-$(CONFIG_OPTEE_LIB) += optee/ obj-$(CONFIG_AES) += aes.o obj-$(CONFIG_AES) += aes/ -obj-$(CONFIG_$(SPL_TPL_)BINMAN_FDT) += binman.o +obj-$(CONFIG_$(PHASE_)BINMAN_FDT) += binman.o ifndef API_BUILD ifneq ($(CONFIG_CHARSET),) @@ -56,8 +56,8 @@ obj-$(CONFIG_BITREVERSE) += bitrev.o obj-y += list_sort.o endif -obj-$(CONFIG_$(SPL_TPL_)TPM) += tpm-common.o -ifeq ($(CONFIG_$(SPL_TPL_)TPM),y) +obj-$(CONFIG_$(PHASE_)TPM) += tpm-common.o +ifeq ($(CONFIG_$(PHASE_)TPM),y) obj-$(CONFIG_TPM) += tpm_api.o obj-$(CONFIG_TPM_V1) += tpm-v1.o obj-$(CONFIG_TPM_V2) += tpm-v2.o @@ -65,40 +65,40 @@ obj-$(CONFIG_EFI_TCG2_PROTOCOL) += tpm_tcg2.o obj-$(CONFIG_MEASURED_BOOT) += tpm_tcg2.o endif -obj-$(CONFIG_$(SPL_TPL_)CRC8) += crc8.o -obj-$(CONFIG_$(SPL_TPL_)CRC16) += crc16.o +obj-$(CONFIG_$(PHASE_)CRC8) += crc8.o +obj-$(CONFIG_$(PHASE_)CRC16) += crc16.o obj-y += crypto/ -obj-$(CONFIG_$(SPL_TPL_)ACPI) += acpi/ -obj-$(CONFIG_$(SPL_)MD5) += md5.o +obj-$(CONFIG_$(PHASE_)ACPI) += acpi/ +obj-$(CONFIG_$(XPL_)MD5) += md5.o obj-$(CONFIG_ECDSA) += ecdsa/ -obj-$(CONFIG_$(SPL_)RSA) += rsa/ +obj-$(CONFIG_$(XPL_)RSA) += rsa/ obj-$(CONFIG_HASH) += hash-checksum.o obj-$(CONFIG_BLAKE2) += blake2/blake2b.o -obj-$(CONFIG_$(SPL_)SHA1) += sha1.o -obj-$(CONFIG_$(SPL_)SHA256) += sha256.o -obj-$(CONFIG_$(SPL_)SHA512) += sha512.o +obj-$(CONFIG_$(XPL_)SHA1) += sha1.o +obj-$(CONFIG_$(XPL_)SHA256) += sha256.o +obj-$(CONFIG_$(XPL_)SHA512) += sha512.o obj-$(CONFIG_CRYPT_PW) += crypt/ -obj-$(CONFIG_$(SPL_)ASN1_DECODER) += asn1_decoder.o +obj-$(CONFIG_$(XPL_)ASN1_DECODER) += asn1_decoder.o -obj-$(CONFIG_$(SPL_)ZLIB) += zlib/ -obj-$(CONFIG_$(SPL_)ZSTD) += zstd/ -obj-$(CONFIG_$(SPL_)GZIP) += gunzip.o -obj-$(CONFIG_$(SPL_)LZO) += lzo/ -obj-$(CONFIG_$(SPL_)LZMA) += lzma/ -obj-$(CONFIG_$(SPL_)LZ4) += lz4_wrapper.o +obj-$(CONFIG_$(XPL_)ZLIB) += zlib/ +obj-$(CONFIG_$(XPL_)ZSTD) += zstd/ +obj-$(CONFIG_$(XPL_)GZIP) += gunzip.o +obj-$(CONFIG_$(XPL_)LZO) += lzo/ +obj-$(CONFIG_$(XPL_)LZMA) += lzma/ +obj-$(CONFIG_$(XPL_)LZ4) += lz4_wrapper.o -obj-$(CONFIG_$(SPL_)LIB_RATIONAL) += rational.o +obj-$(CONFIG_$(XPL_)LIB_RATIONAL) += rational.o obj-$(CONFIG_LIBAVB) += libavb/ -obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += libfdt/ -obj-$(CONFIG_$(SPL_TPL_)OF_REAL) += fdtdec_common.o fdtdec.o +obj-$(CONFIG_$(PHASE_)OF_LIBFDT) += libfdt/ +obj-$(CONFIG_$(PHASE_)OF_REAL) += fdtdec_common.o fdtdec.o -ifdef CONFIG_SPL_BUILD +ifdef CONFIG_XPL_BUILD obj-$(CONFIG_SPL_YMODEM_SUPPORT) += crc16-ccitt.o -obj-$(CONFIG_$(SPL_TPL_)HASH) += crc16-ccitt.o +obj-$(CONFIG_$(PHASE_)HASH) += crc16-ccitt.o obj-$(CONFIG_MMC_SPI_CRC_ON) += crc16-ccitt.o obj-y += net_utils.o endif @@ -110,15 +110,15 @@ obj-y += display_options.o CFLAGS_display_options.o := $(if $(BUILD_TAG),-DBUILD_TAG='"$(BUILD_TAG)"') obj-$(CONFIG_BCH) += bch.o obj-$(CONFIG_MMC_SPI) += crc7.o -obj-$(CONFIG_$(SPL_TPL_)CRC32) += crc32.o +obj-$(CONFIG_$(PHASE_)CRC32) += crc32.o obj-$(CONFIG_CRC32C) += crc32c.o obj-y += ctype.o obj-y += div64.o -obj-$(CONFIG_$(SPL_TPL_)OF_LIBFDT) += fdtdec.o fdtdec_common.o +obj-$(CONFIG_$(PHASE_)OF_LIBFDT) += fdtdec.o fdtdec_common.o obj-y += hang.o obj-y += linux_compat.o obj-y += linux_string.o -obj-$(CONFIG_$(SPL_TPL_)LMB) += lmb.o +obj-$(CONFIG_$(PHASE_)LMB) += lmb.o obj-y += membuff.o obj-$(CONFIG_REGEX) += slre.o obj-y += string.o @@ -131,20 +131,20 @@ obj-$(CONFIG_LIB_UUID) += uuid.o obj-$(CONFIG_LIB_RAND) += rand.o obj-y += panic.o -ifeq ($(CONFIG_SPL_BUILD),y) +ifeq ($(CONFIG_XPL_BUILD),y) # SPL U-Boot may use full-printf, tiny-printf or none at all -ifdef CONFIG_$(SPL_TPL_)USE_TINY_PRINTF -obj-$(CONFIG_$(SPL_TPL_)SPRINTF) += tiny-printf.o +ifdef CONFIG_$(PHASE_)USE_TINY_PRINTF +obj-$(CONFIG_$(PHASE_)SPRINTF) += tiny-printf.o else -obj-$(CONFIG_$(SPL_TPL_)SPRINTF) += vsprintf.o +obj-$(CONFIG_$(PHASE_)SPRINTF) += vsprintf.o endif -obj-$(CONFIG_$(SPL_TPL_)STRTO) += strto.o +obj-$(CONFIG_$(PHASE_)STRTO) += strto.o else # Main U-Boot always uses the full printf support obj-y += vsprintf.o strto.o obj-$(CONFIG_SSCANF) += sscanf.o endif -obj-$(CONFIG_$(SPL_)OID_REGISTRY) += oid_registry.o +obj-$(CONFIG_$(XPL_)OID_REGISTRY) += oid_registry.o obj-y += abuf.o obj-y += alist.o @@ -152,7 +152,7 @@ obj-y += date.o obj-y += rtc-lib.o obj-$(CONFIG_LIB_ELF) += elf.o -obj-$(CONFIG_$(SPL_TPL_)SEMIHOSTING) += semihosting.o +obj-$(CONFIG_$(PHASE_)SEMIHOSTING) += semihosting.o # # Build a fast OID lookup registry from include/linux/oid_registry.h diff --git a/lib/acpi/Makefile b/lib/acpi/Makefile index cc2868488a0..dcca0c67268 100644 --- a/lib/acpi/Makefile +++ b/lib/acpi/Makefile @@ -3,12 +3,12 @@ obj-y += acpi.o -ifdef CONFIG_$(SPL_TPL_)GENERATE_ACPI_TABLE +ifdef CONFIG_$(PHASE_)GENERATE_ACPI_TABLE -obj-$(CONFIG_$(SPL_)ACPIGEN) += acpigen.o -obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_device.o -obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_dp.o -obj-$(CONFIG_$(SPL_)ACPIGEN) += acpi_table.o +obj-$(CONFIG_$(XPL_)ACPIGEN) += acpigen.o +obj-$(CONFIG_$(XPL_)ACPIGEN) += acpi_device.o +obj-$(CONFIG_$(XPL_)ACPIGEN) += acpi_dp.o +obj-$(CONFIG_$(XPL_)ACPIGEN) += acpi_table.o obj-y += acpi_writer.o # With QEMU the ACPI tables come from there, not from U-Boot diff --git a/lib/aes/Makefile b/lib/aes/Makefile index daed52a713b..ad6228a7dad 100644 --- a/lib/aes/Makefile +++ b/lib/aes/Makefile @@ -2,4 +2,4 @@ # # Copyright (c) 2019, Softathome -obj-$(CONFIG_$(SPL_)FIT_CIPHER) += aes-decrypt.o +obj-$(CONFIG_$(XPL_)FIT_CIPHER) += aes-decrypt.o diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile index bec1bc95a65..de1510d3eb5 100644 --- a/lib/crypto/Makefile +++ b/lib/crypto/Makefile @@ -3,34 +3,34 @@ # Makefile for asymmetric cryptographic keys # -obj-$(CONFIG_$(SPL_)ASYMMETRIC_KEY_TYPE) += asymmetric_keys.o +obj-$(CONFIG_$(XPL_)ASYMMETRIC_KEY_TYPE) += asymmetric_keys.o asymmetric_keys-y := asymmetric_type.o -obj-$(CONFIG_$(SPL_)ASYMMETRIC_PUBLIC_KEY_SUBTYPE) += public_key.o +obj-$(CONFIG_$(XPL_)ASYMMETRIC_PUBLIC_KEY_SUBTYPE) += public_key.o # # RSA public key parser # -obj-$(CONFIG_$(SPL_)RSA_PUBLIC_KEY_PARSER) += rsa_public_key.o +obj-$(CONFIG_$(XPL_)RSA_PUBLIC_KEY_PARSER) += rsa_public_key.o rsa_public_key-y := \ rsapubkey.asn1.o \ rsa_helper.o $(obj)/rsapubkey.asn1.o: $(obj)/rsapubkey.asn1.c $(obj)/rsapubkey.asn1.h -ifdef CONFIG_SPL_BUILD +ifdef CONFIG_XPL_BUILD CFLAGS_rsapubkey.asn1.o += -I$(obj) endif $(obj)/rsa_helper.o: $(obj)/rsapubkey.asn1.h -ifdef CONFIG_SPL_BUILD +ifdef CONFIG_XPL_BUILD CFLAGS_rsa_helper.o += -I$(obj) endif # # X.509 Certificate handling # -obj-$(CONFIG_$(SPL_)X509_CERTIFICATE_PARSER) += x509_key_parser.o +obj-$(CONFIG_$(XPL_)X509_CERTIFICATE_PARSER) += x509_key_parser.o x509_key_parser-y := \ x509.asn1.o \ x509_akid.asn1.o \ @@ -47,11 +47,11 @@ $(obj)/x509_akid.asn1.o: $(obj)/x509_akid.asn1.c $(obj)/x509_akid.asn1.h # # PKCS#7 message handling # -obj-$(CONFIG_$(SPL_)PKCS7_MESSAGE_PARSER) += pkcs7_message.o +obj-$(CONFIG_$(XPL_)PKCS7_MESSAGE_PARSER) += pkcs7_message.o pkcs7_message-y := \ pkcs7.asn1.o \ pkcs7_parser.o -obj-$(CONFIG_$(SPL_)PKCS7_VERIFY) += pkcs7_verify.o +obj-$(CONFIG_$(XPL_)PKCS7_VERIFY) += pkcs7_verify.o $(obj)/pkcs7_parser.o: $(obj)/pkcs7.asn1.h $(obj)/pkcs7.asn1.o: $(obj)/pkcs7.asn1.c $(obj)/pkcs7.asn1.h @@ -59,7 +59,7 @@ $(obj)/pkcs7.asn1.o: $(obj)/pkcs7.asn1.c $(obj)/pkcs7.asn1.h # # Signed PE binary-wrapped key handling # -obj-$(CONFIG_$(SPL_)MSCODE_PARSER) += mscode.o +obj-$(CONFIG_$(XPL_)MSCODE_PARSER) += mscode.o mscode-y := \ mscode_parser.o \ diff --git a/lib/display_options.c b/lib/display_options.c index d5df53ab15f..2c15cc5b5c4 100644 --- a/lib/display_options.c +++ b/lib/display_options.c @@ -236,7 +236,7 @@ int print_buffer(ulong addr, const void *data, uint width, uint count, addr += thislinelen * width; count -= thislinelen; - if (!IS_ENABLED(CONFIG_SPL_BUILD) && ctrlc()) + if (!IS_ENABLED(CONFIG_XPL_BUILD) && ctrlc()) return -EINTR; } diff --git a/lib/ecdsa/Makefile b/lib/ecdsa/Makefile index 771d6d3135b..32b6183f6ff 100644 --- a/lib/ecdsa/Makefile +++ b/lib/ecdsa/Makefile @@ -1 +1 @@ -obj-$(CONFIG_$(SPL_)ECDSA_VERIFY) += ecdsa-verify.o +obj-$(CONFIG_$(XPL_)ECDSA_VERIFY) += ecdsa-verify.o diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 106bb406365..85f4426f904 100644 --- a/lib/fdtdec.c +++ b/lib/fdtdec.c @@ -608,7 +608,7 @@ int fdtdec_get_chosen_node(const void *blob, const char *name) static int fdtdec_prepare_fdt(const void *blob) { if (!blob || ((uintptr_t)blob & 3) || fdt_check_header(blob)) { - if (spl_phase() <= PHASE_SPL) { + if (xpl_phase() <= PHASE_SPL) { puts("Missing DTB\n"); } else { printf("No valid device tree binary found at %p\n", @@ -1230,7 +1230,7 @@ static void *fdt_find_separate(void) if (IS_ENABLED(CONFIG_SANDBOX)) return NULL; -#ifdef CONFIG_SPL_BUILD +#ifdef CONFIG_XPL_BUILD /* FDT is at end of BSS unless it is in a different memory region */ if (CONFIG_IS_ENABLED(SEPARATE_BSS)) fdt_blob = (ulong *)_image_binary_end; @@ -1676,7 +1676,7 @@ int fdtdec_setup(void) * not whether this phase creates one. */ if (CONFIG_IS_ENABLED(BLOBLIST) && - (spl_prev_phase() != PHASE_TPL || + (xpl_prev_phase() != PHASE_TPL || !IS_ENABLED(CONFIG_TPL_BLOBLIST))) { ret = bloblist_maybe_init(); if (!ret) { @@ -1714,7 +1714,7 @@ int fdtdec_setup(void) } /* Allow the early environment to override the fdt address */ - if (!IS_ENABLED(CONFIG_SPL_BUILD)) { + if (!IS_ENABLED(CONFIG_XPL_BUILD)) { ulong addr; addr = env_get_hex("fdtcontroladdr", 0); diff --git a/lib/hang.c b/lib/hang.c index 3cfb06e9ca8..f3c3c896f0a 100644 --- a/lib/hang.c +++ b/lib/hang.c @@ -22,7 +22,7 @@ */ void hang(void) { -#if !defined(CONFIG_SPL_BUILD) || \ +#if !defined(CONFIG_XPL_BUILD) || \ (CONFIG_IS_ENABLED(LIBCOMMON_SUPPORT) && \ CONFIG_IS_ENABLED(SERIAL)) puts("### ERROR ### Please RESET the board ###\n"); diff --git a/lib/hashtable.c b/lib/hashtable.c index 9613adc5540..e8a59e2dcac 100644 --- a/lib/hashtable.c +++ b/lib/hashtable.c @@ -221,7 +221,7 @@ static int do_callback(const struct env_entry *e, const char *name, const char *value, enum env_op op, int flags) { -#ifndef CONFIG_SPL_BUILD +#ifndef CONFIG_XPL_BUILD if (e->callback) return e->callback(name, value, op, flags); #endif @@ -487,7 +487,7 @@ int hdelete_r(const char *key, struct hsearch_data *htab, int flag) return 0; } -#if !(defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_SAVEENV)) +#if !(defined(CONFIG_XPL_BUILD) && !defined(CONFIG_SPL_SAVEENV)) /* * hexport() */ diff --git a/lib/hexdump.c b/lib/hexdump.c index 2bc508ff504..29feccd60fc 100644 --- a/lib/hexdump.c +++ b/lib/hexdump.c @@ -157,7 +157,7 @@ int print_hex_dump(const char *prefix_str, int prefix_type, int rowsize, printf("%s%s\n", prefix_str, linebuf); break; } - if (!IS_ENABLED(CONFIG_SPL_BUILD) && ctrlc()) + if (!IS_ENABLED(CONFIG_XPL_BUILD) && ctrlc()) return -EINTR; } diff --git a/lib/libfdt/Makefile b/lib/libfdt/Makefile index 1fe50ecbe52..c492377032b 100644 --- a/lib/libfdt/Makefile +++ b/lib/libfdt/Makefile @@ -16,4 +16,4 @@ obj-y += \ obj-$(CONFIG_OF_LIBFDT_OVERLAY) += fdt_overlay.o ccflags-y := -I$(srctree)/scripts/dtc/libfdt \ - -DFDT_ASSUME_MASK=$(CONFIG_$(SPL_TPL_)OF_LIBFDT_ASSUME_MASK) + -DFDT_ASSUME_MASK=$(CONFIG_$(PHASE_)OF_LIBFDT_ASSUME_MASK) diff --git a/lib/lmb.c b/lib/lmb.c index 3ed570fb29b..380d92a6718 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -749,9 +749,9 @@ int lmb_init(void) lmb_add_memory(); /* Reserve the U-Boot image region once U-Boot has relocated */ - if (spl_phase() == PHASE_SPL) + if (xpl_phase() == PHASE_SPL) lmb_reserve_common_spl(); - else if (spl_phase() == PHASE_BOARD_R) + else if (xpl_phase() == PHASE_BOARD_R) lmb_reserve_common((void *)gd->fdt_blob); return 0; diff --git a/lib/rsa/Makefile b/lib/rsa/Makefile index c9ac72c1e26..1f9b24001bf 100644 --- a/lib/rsa/Makefile +++ b/lib/rsa/Makefile @@ -5,6 +5,6 @@ # (C) Copyright 2000-2007 # Wolfgang Denk, DENX Software Engineering, [email protected]. -obj-$(CONFIG_$(SPL_TPL_)RSA_VERIFY) += rsa-verify.o -obj-$(CONFIG_$(SPL_TPL_)RSA_VERIFY_WITH_PKEY) += rsa-keyprop.o +obj-$(CONFIG_$(PHASE_)RSA_VERIFY) += rsa-verify.o +obj-$(CONFIG_$(PHASE_)RSA_VERIFY_WITH_PKEY) += rsa-keyprop.o obj-$(CONFIG_RSA_SOFTWARE_EXP) += rsa-mod-exp.o diff --git a/lib/time.c b/lib/time.c index 872f73d521e..d88edafb196 100644 --- a/lib/time.c +++ b/lib/time.c @@ -100,7 +100,7 @@ uint64_t notrace get_ticks(void) ret = timer_get_count(gd->timer, &count); if (ret) { - if (spl_phase() > PHASE_TPL) + if (xpl_phase() > PHASE_TPL) panic("Could not read count from timer (err %d)\n", ret); else diff --git a/lib/uuid.c b/lib/uuid.c index 11b86ffb02e..c6a27b7d044 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -477,7 +477,7 @@ void gen_rand_uuid_str(char *uuid_str, int str_format) uuid_bin_to_str(uuid_bin, uuid_str, str_format); } -#if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_CMD_UUID) +#if !defined(CONFIG_XPL_BUILD) && defined(CONFIG_CMD_UUID) int do_uuid(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { char uuid[UUID_STR_LEN + 1]; |
