]> git.baikalelectronics.ru Git - uboot.git/commit
cros_ec: Add a function for the hello message
authorSimon Glass <sjg@chromium.org>
Sat, 16 Jan 2021 21:52:22 +0000 (14:52 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 30 Jan 2021 21:25:41 +0000 (14:25 -0700)
commit96e76af4e14361de85ae8aa6ba0ca7ef63a2a4bd
tree1696ef961329c3eba9122bda0d0f7cb284165587
parent65703f32015f622b0fd9a47971e8577adff7546c
cros_ec: Add a function for the hello message

This is used several times in this file. Put it in a function to avoid
code duplication.

Also add a test for this function. There are no cros_ec tests at present,
so it is time to update the code.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/test.h
drivers/misc/cros_ec.c
drivers/misc/cros_ec_sandbox.c
include/cros_ec.h
test/dm/Makefile
test/dm/cros_ec.c [new file with mode: 0644]