[PATCH v5 0/6] A few little patches

Simon Glass sjg at chromium.org
Wed Apr 8 16:32:54 CEST 2020


This series collects together a few patches I have been carrying for a
while.

The first two pathces are split out of the acpi series since they don't
really relate to ACPI.

Changes in v5:
- Drop change to FAT
- Add new tests for copying an empty string
- Use size_t instead of int, require caller to use SIZE_MAX
- Update the algorithm to avoid dealing with -1

Changes in v4:
- Add a new patch with some string tests
- Add a new patch to convert a string to upper case

Simon Glass (6):
  test: Add the beginnings of some string tests
  lib: Add a function to convert a string to upper case
  usb: Update struct usb_device to indicate speed enum
  uuid: Use const char * where possible
  pci: Add a macro to convert BDF from linux to U-Boot
  dm: mmc: Update mmc_get_mmc_dev() to use const *

 drivers/mmc/mmc-uclass.c |   2 +-
 include/mmc.h            |   2 +-
 include/pci.h            |   3 +
 include/test/suites.h    |   1 +
 include/usb.h            |   2 +-
 include/uuid.h           |   8 ++-
 include/vsprintf.h       |  12 ++++
 lib/strto.c              |   8 +++
 lib/uuid.c               |   6 +-
 test/Makefile            |   1 +
 test/cmd_ut.c            |   5 ++
 test/str_ut.c            | 115 +++++++++++++++++++++++++++++++++++++++
 12 files changed, 157 insertions(+), 8 deletions(-)
 create mode 100644 test/str_ut.c

-- 
2.26.0.292.g33ef6b2f38-goog



More information about the U-Boot mailing list