Re: [U-Boot] [PATCHv1 0/4] dm: cache: add dm cache driver

2019-03-08 Thread Marek Vasut
On 3/8/19 5:16 PM, Dinh Nguyen wrote:
> Hi,
> 
> Add a UCLASS_CACHE dm driver to handling the configuration of cache
> settings. Place this new driver under /drivers/cache. In this initial
> revision, the driver is only configuring what I think are essential cache
> settings. The more comprehensive cache settings can be done in the OS.
> 
> Dinh
> 
> Dinh Nguyen (4):
>   ARM: pl310: Add macro's for handling tag and data latency mask
>   dm: cache: Create a uclass for cache controller
>   configs: socfpga: add imply pl310 cache controller
>   ARM: socfpga: use the pl310 driver to configure the cache
> 
>  arch/arm/Kconfig |  1 +
>  arch/arm/include/asm/pl310.h |  3 ++
>  arch/arm/mach-socfpga/misc.c | 16 ++-
>  drivers/Kconfig  |  2 +
>  drivers/Makefile |  1 +
>  drivers/cache/Kconfig| 22 ++
>  drivers/cache/Makefile   |  3 ++
>  drivers/cache/cache-l2x0.c   | 82 
>  drivers/cache/cache-uclass.c | 13 ++
>  include/dm/uclass-id.h   |  1 +
>  10 files changed, 131 insertions(+), 13 deletions(-)
>  create mode 100644 drivers/cache/Kconfig
>  create mode 100644 drivers/cache/Makefile
>  create mode 100644 drivers/cache/cache-l2x0.c
>  create mode 100644 drivers/cache/cache-uclass.c
> 

Looks OK to me

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCHv1 0/4] dm: cache: add dm cache driver

2019-03-08 Thread Dinh Nguyen
Hi,

Add a UCLASS_CACHE dm driver to handling the configuration of cache
settings. Place this new driver under /drivers/cache. In this initial
revision, the driver is only configuring what I think are essential cache
settings. The more comprehensive cache settings can be done in the OS.

Dinh

Dinh Nguyen (4):
  ARM: pl310: Add macro's for handling tag and data latency mask
  dm: cache: Create a uclass for cache controller
  configs: socfpga: add imply pl310 cache controller
  ARM: socfpga: use the pl310 driver to configure the cache

 arch/arm/Kconfig |  1 +
 arch/arm/include/asm/pl310.h |  3 ++
 arch/arm/mach-socfpga/misc.c | 16 ++-
 drivers/Kconfig  |  2 +
 drivers/Makefile |  1 +
 drivers/cache/Kconfig| 22 ++
 drivers/cache/Makefile   |  3 ++
 drivers/cache/cache-l2x0.c   | 82 
 drivers/cache/cache-uclass.c | 13 ++
 include/dm/uclass-id.h   |  1 +
 10 files changed, 131 insertions(+), 13 deletions(-)
 create mode 100644 drivers/cache/Kconfig
 create mode 100644 drivers/cache/Makefile
 create mode 100644 drivers/cache/cache-l2x0.c
 create mode 100644 drivers/cache/cache-uclass.c

-- 
2.20.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot