[PATCH 0/2] lib: print_freq() should output kHz not KHz

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Oct 22 21:45:26 CEST 2020


Correct print_freq() for output of kHz.
Provide unit tests for print_freq() and print_size().

v2:
	add missing test/lib/test_print.c

Heinrich Schuchardt (2):
  lib: print_freq() should output kHz not KHz
  test: unit tests for print_freq(), print_size()

 include/display_options.h |  2 +-
 lib/display_options.c     |  2 +-
 test/lib/Makefile         |  1 +
 test/lib/test_print.c     | 71 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 74 insertions(+), 2 deletions(-)
 create mode 100644 test/lib/test_print.c

--
2.28.0



More information about the U-Boot mailing list