dm: cache: Create a uclass for cache
authorDinh Nguyen <dinguyen@kernel.org>
Tue, 23 Apr 2019 21:55:03 +0000 (16:55 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 5 May 2019 12:48:50 +0000 (08:48 -0400)
commit84b124db3584d8b3f1a42c1506983323bce9983f
treeb343ae85d7c2600aca0edd911b4b01c6975ac4ad
parent2bac27ce945e8399ea2c1404310ead450c065819
dm: cache: Create a uclass for cache

The cache UCLASS will be used for configure settings that can be found
in a CPU's L2 cache controller.

Add a uclass and a test for cache.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
drivers/Kconfig
drivers/Makefile
drivers/cache/Kconfig [new file with mode: 0644]
drivers/cache/Makefile [new file with mode: 0644]
drivers/cache/cache-uclass.c [new file with mode: 0644]
drivers/cache/sandbox_cache.c [new file with mode: 0644]
include/cache.h [new file with mode: 0644]
include/dm/uclass-id.h
test/dm/cache.c [new file with mode: 0644]