dm: cache: Add enable and disable ops for sandbox and test
authorRick Chen <rick@andestech.com>
Wed, 28 Aug 2019 10:46:05 +0000 (18:46 +0800)
committerAndes <uboot@andestech.com>
Tue, 3 Sep 2019 01:31:03 +0000 (09:31 +0800)
commitabd858e5754c0f1e71aa86abde049d9ee81fda3e
treeedf25aa2fe914ef4f51435a94ad1ff2255b51233
parent4d0140ee1aa02c702846f47fe986a19ecc4318a6
dm: cache: Add enable and disable ops for sandbox and test

Add cache enable and disable ops for test coverage.

Signed-off-by: Rick Chen <rick@andestech.com>
Cc: KC Lin <kclin@andestech.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/cache/sandbox_cache.c
test/dm/cache.c