]> git.ipfire.org Git - thirdparty/u-boot.git/commit - cmd/Kconfig
cmd: Update the memory-search command
authorSimon Glass <sjg@chromium.org>
Wed, 29 Jul 2020 01:41:14 +0000 (19:41 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 8 Aug 2020 02:31:32 +0000 (22:31 -0400)
commit550a9e7902ce2a6103d97d70a22bad64e4fab7fd
tree4314ea6e2a497862ed0f0fb8d417396a2b4f5442
parent132644f56ebb7399fb139d6b9c9e54ef0c218ea9
cmd: Update the memory-search command

Add various fixes and improvements to this command that were missed in
the original version. Unfortunately I forgot to send v2.

- Fix Kconfig name
- Use a separate variable for the remaining search length
- Correct a minor bug
- Move into a separate test suite
- Add -q flag to the 'quiet' test to test operation when console is enabled
- Enable the feature for sandbox

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/mem.c
configs/sandbox_defconfig
include/test/suites.h
test/cmd/Makefile
test/cmd/mem.c [new file with mode: 0644]
test/cmd/mem_search.c
test/cmd_ut.c