sandbox: pch: Add a test for the PCH uclass
authorSimon Glass <sjg@chromium.org>
Sun, 17 Feb 2019 03:24:50 +0000 (20:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 20 Feb 2019 07:26:36 +0000 (15:26 +0800)
commitb45c833c71f1ce26e0db6c30f96dc3228051cd15
tree2e4e0a7357882a7b40ed03607c64ef5975b10882
parentc882163b09b8a2c52e3dd8acd7d296d6d06d1f2e
sandbox: pch: Add a test for the PCH uclass

This uclass currently has no tests. Add a sandbox driver and some simple
tests to provide basic coverage.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[bmeng: Use "sandbox,pch" for the compatible string, for consistency]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/dts/test.dts
arch/sandbox/include/asm/test.h
drivers/pch/Makefile
drivers/pch/sandbox_pch.c [new file with mode: 0644]
test/dm/Makefile
test/dm/pch.c [new file with mode: 0644]