[U-Boot] [PATCH v3 1/8] dm: cache: Add enable and disable ops for cache uclass

Rick Chen rickchen36 at gmail.com
Thu Aug 22 07:30:59 UTC 2019


Hi Bin

> Hi Rick,
>
> On Wed, Aug 21, 2019 at 4:15 PM Andes <uboot at andestech.com> wrote:
> >
> > From: Rick Chen <rick at 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.

I will rewrite the commit message.

Thanks for reviewing.

Regards,
Rick

>
> > Signed-off-by: Rick Chen <rick at andestech.com>
> > Cc: KC Lin <kclin at 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.cn at gmail.com>
>
> Regards,
> Bin


More information about the U-Boot mailing list