]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: test: dm: add rkmtd test
authorJohan Jonker <jbx6244@gmail.com>
Wed, 18 Oct 2023 14:01:59 +0000 (16:01 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 24 Oct 2023 07:55:17 +0000 (15:55 +0800)
commit500439eb3464f2d89f4948fd7e689de2b5d15b14
treeb2d25fe6f6d2ef56ce79a097276f4dcb8ebbe23d
parentaacf214d0c6b7a30700f149fe2b4414700cd3c5d
rockchip: test: dm: add rkmtd test

Add Rockchip rkmtd test:
Create/attach/detach RKMTD device.
Send/read data with Rockchip boot block header.
Test that reusing the same label should work.
Basic test of 'rkmtd' commands.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/Makefile
test/dm/rkmtd.c [new file with mode: 0644]