Hi Rick, On Wed, Aug 21, 2019 at 4:15 PM Andes <ub...@andestech.com> wrote: > > From: Rick Chen <r...@andestech.com> > > 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 <r...@andestech.com> > Cc: KC Lin <kc...@andestech.com> > --- > drivers/cache/cache-uclass.c | 20 ++++++++++++++++++++ > include/cache.h | 31 +++++++++++++++++++++++++++++++ > 2 files changed, 51 insertions(+) > Other than above, Reviewed-by: Bin Meng <bmeng...@gmail.com> Regards, Bin _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot