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

Bin Meng bmeng.cn at gmail.com
Thu Aug 22 06:51:47 UTC 2019


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.

> 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