cmd/arm: meson: sm: introduce efusedump command
authorAlexey Romanov <avromanov@sberdevices.ru>
Tue, 10 Jan 2023 10:56:49 +0000 (13:56 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 17 Jan 2023 08:26:42 +0000 (09:26 +0100)
commitac7fdbc35da93be0847c4bb2c2f8d6f88c9c1414
tree920a6589d843094a7a6a77dbc031de57e53216bd
parent23435cfb3a2b672d7006d2d7e04276bd39fbb1a5
cmd/arm: meson: sm: introduce efusedump command

Using this command user can print efuse memory:

$ sm efusedump 0 10
  00000000: ff 00 31 00 00 ff 66 00 00 00      ..1...f...

Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230110105650.54580-5-avromanov@sberdevices.ru
[narmstrong: added display_options.h include for print_buffer()]
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
cmd/meson/sm.c