[PATCH 06/10] ram: Add driver for K210 SRAM

Simon Glass sjg at chromium.org
Wed Oct 7 15:26:51 CEST 2020


On Tue, 29 Sep 2020 at 08:18, Sean Anderson <seanga2 at gmail.com> wrote:
>
> This adds a driver to handle enabling the clock for the AI SRAM. This was
> previously done in board_init, but it needs to happen before relocation
> now. An alternative would be to move this to board_init_early_f, but by
> doing it this way we can use clk_bulk.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
>  MAINTAINERS            |  1 +
>  drivers/ram/Kconfig    |  7 ++++++
>  drivers/ram/Makefile   |  1 +
>  drivers/ram/kendryte.c | 56 ++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 65 insertions(+)
>  create mode 100644 drivers/ram/kendryte.c
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list