Hi Rick, On Wed, Aug 21, 2019 at 4:15 PM Andes <[email protected]> wrote: > > From: Rick Chen <[email protected]> > > The L2 cache will be enabled in init flow of dm cache > driver when it detect L2 node in dtb. > > When U-Boot jumps to Linux Kernel, the disable ops will > be called to flush and disable the L2 cache via the dm > cache driver. >
The commit message should be rewritten. It's just about adding cache enable/disable ops to the DM cache uclass driver. No need to mention whether it's L1 or L2 cache, jumping to Linux, etc. > Signed-off-by: Rick Chen <[email protected]> > Cc: KC Lin <[email protected]> > --- > drivers/cache/cache-uclass.c | 20 ++++++++++++++++++++ > include/cache.h | 31 +++++++++++++++++++++++++++++++ > 2 files changed, 51 insertions(+) > Other than above, Reviewed-by: Bin Meng <[email protected]> Regards, Bin _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

