u-boot/lib
Matwey V. Kornilov 9ac9b4bc5c tiny-printf: Handle %pM format when CONFIG_SPL_NET_SUPPORT is enabled
commit c091f65234 upstream.

%pM format string is used to print MAC-address and this is required while SPL
network boot.

This patch fixes the SPL boot issues like the following:

    Trying to boot from USB eth
    ## Error: flags type check failure for "ethaddr" <= "40309614M" (type: m)
    ## Error inserting "ethaddr" variable, errno=1
    eth0: eth_cpsw## Error: flags type check failure for "eth1addr" <=
    "81f01114M" (type: m)
    ## Error inserting "eth1addr" variable, errno=1
    , eth1: usb_ether
    eth_cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
    Problem booting with BOOTP
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###

Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
2022-01-28 11:48:04 -06:00
..
acpi acpi: Correct reset handling in acpi_device_add_power_res() 2020-11-06 09:51:30 +08:00
aes fit: cipher: aes: allow to store the IV in the FIT image 2020-10-12 21:30:37 -04:00
at91
bzip2 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
crypto lib/crypto: simplify public_key_verify_signature 2020-08-08 19:03:12 +02:00
dhry command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
efi common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
efi_driver efi: Tidy up header includes 2020-08-03 22:19:54 -04:00
efi_loader efi_loader: use after free in efi_exit() 2020-12-29 02:09:04 +01:00
efi_selftest efi_selftest: provide unit test for the EFI_TCG2_PROTOCOL 2020-11-14 05:05:46 +01:00
libavb common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
libfdt fdt_region: move fdt_region.c to common/ from lib/libfdt/ 2020-04-26 14:23:55 -06:00
lzma common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
lzo
optee optee: add property no-map to secure reserved memory 2020-09-22 12:54:13 -06:00
rsa xilinx: zynq: Change types from u32 to uint32_t 2020-10-27 08:13:33 +01:00
tizen
zlib include/u-boot, lib/zlib: add sources for zlib decompression 2020-08-07 22:31:32 -04:00
zstd
.gitignore
Kconfig lib: rational: copy the rational fraction lib routines from Linux 2021-03-23 17:17:58 -05:00
Makefile lib: rational: copy the rational fraction lib routines from Linux 2021-03-23 17:17:58 -05:00
addr_map.c
aes.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
asm-offsets.c common: Drop asm_offsets.h from common header 2020-05-18 21:19:23 -04:00
asn1_decoder.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bch.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
binman.c binman: Remove additional backslash 2020-11-30 13:14:43 -07:00
bitrev.c
charset.c charset: make u16_strnlen accessible at runtime 2020-11-29 05:18:37 +01:00
circbuf.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
crc7.c
crc8.c
crc16.c
crc32.c
crc32c.c
ctype.c
date.c
display_options.c lib: print_freq() should output kHz not KHz 2020-10-22 09:54:54 -04:00
div64.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
elf.c
errno.c
errno_str.c
fdtdec.c fdt: Use phandle to distinguish DT nodes with same name 2021-03-16 13:04:01 -05:00
fdtdec_common.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fdtdec_test.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
getopt.c lib: Add getopt 2020-10-30 10:56:11 -04:00
gunzip.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
gzip.c
hang.c
hashtable.c lib/hashtable: remove superfluous check 2020-10-12 21:30:37 -04:00
hexdump.c lib: do not provide hexdump in SPL 2020-04-24 10:51:32 -04:00
image-sparse.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ldiv.c
linux_compat.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
linux_string.c
list_sort.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
lmb.c CONFIG_NR_DRAM_BANKS: Remove unreferenced code as its always defined 2020-08-26 09:19:16 +02:00
lz4.c
lz4_wrapper.c lz4: fix decompressor on big-endian powerpc 2020-07-17 08:45:29 -04:00
md5.c
membuff.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
net_utils.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
of_live.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
oid_registry.c
panic.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
physmem.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
qsort.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
rand.c
rational.c lib: rational: copy the rational fraction lib routines from Linux 2021-03-23 17:17:58 -05:00
rbtree.c
rc4.c
sha1.c
sha256.c
sha512.c Add support for SHA384 and SHA512 2020-06-12 13:14:07 -04:00
slre.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
smbios-parser.c smbios: add parsing API 2020-11-05 14:58:45 +08:00
smbios.c smbios: Drop the unused Kconfig options 2020-11-06 10:26:32 +08:00
sscanf.c xen: Code style conformity 2020-08-24 14:11:31 -04:00
string.c
strto.c Revert "lib: Improve _parse_integer_fixup_radix base 16 detection" 2020-06-15 11:23:41 -04:00
tables_csum.c
time.c time: Fix get_ticks being non-monotonic 2020-10-14 11:16:34 -04:00
tiny-printf.c tiny-printf: Handle %pM format when CONFIG_SPL_NET_SUPPORT is enabled 2022-01-28 11:48:04 -06:00
tpm-common.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tpm-utils.h
tpm-v1.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tpm-v2.c tpm: Change response length of tpm2_get_capability() 2020-11-09 17:28:18 +01:00
trace.c trace: conserve gd register on RISC-V 2020-10-27 21:13:15 +01:00
uuid.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
vsprintf.c compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5 2020-07-01 11:48:05 -04:00
xxhash.c