dm: cache: Add enable and disable ops for cache uclass
authorRick Chen <rick@andestech.com>
Wed, 28 Aug 2019 10:46:04 +0000 (18:46 +0800)
committerAndes <uboot@andestech.com>
Tue, 3 Sep 2019 01:31:03 +0000 (09:31 +0800)
commit4d0140ee1aa02c702846f47fe986a19ecc4318a6
tree3c0c5ac104f2e1c137dabf2064cf041fb545051b
parentd58b0a6ee10710b259412fdeaf0eb24474af8401
dm: cache: Add enable and disable ops for cache uclass

Add cache enable/disable ops to the DM cache uclass driver

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