public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 00/10] riscv: k210: Enable use of AI ram bank
@ 2020-09-29 14:18 Sean Anderson
  2020-09-29 14:18 ` [PATCH 01/10] clk: k210: Fix PLLs not being enabled Sean Anderson
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Sean Anderson @ 2020-09-29 14:18 UTC (permalink / raw)
  To: u-boot

This ram bank was previously unusable because PLL1 was not started correctly.
This series fixes that bug, and allows U-Boot to relocate into the AI ram. This
provides an extra 2M of space in which to load payloads.


Sean Anderson (10):
  clk: k210: Fix PLLs not being enabled
  clk: Add support for the k210 clock driver pre-relocation
  riscv: Enable some devices pre-relocation
  lib: fdt: Add fdtdec_setup_mem_size_base_highest
  test: Add a test for fdtdec_setup_mem_size_base et al.
  ram: Add driver for K210 SRAM
  ram: sifive: Default to y only if compiling for fu540
  riscv: Probe ram in dram_init
  riscv: Enable AI ram on K210
  riscv: Don't reserve AI ram in k210 dts

 MAINTAINERS                        |  1 +
 arch/riscv/cpu/generic/dram.c      | 26 ++++++++++++++
 arch/riscv/dts/k210.dtsi           | 16 +++------
 arch/sandbox/dts/test.dts          | 12 +++++++
 board/sipeed/maix/Kconfig          |  2 ++
 board/sipeed/maix/maix.c           | 26 --------------
 configs/sandbox64_defconfig        |  2 +-
 configs/sandbox_defconfig          |  2 +-
 configs/sandbox_flattree_defconfig |  2 +-
 configs/sipeed_maix_bitm_defconfig |  1 +
 drivers/clk/kendryte/clk.c         | 14 +++++---
 drivers/clk/kendryte/pll.c         |  2 ++
 drivers/ram/Kconfig                |  7 ++++
 drivers/ram/Makefile               |  1 +
 drivers/ram/kendryte.c             | 56 ++++++++++++++++++++++++++++++
 drivers/ram/sifive/Kconfig         |  2 +-
 include/configs/sipeed-maix.h      |  4 ---
 include/fdtdec.h                   | 19 +++++++++-
 lib/fdtdec.c                       | 34 +++++++++++++++---
 test/dm/fdtdec.c                   | 38 ++++++++++++++++++++
 20 files changed, 211 insertions(+), 56 deletions(-)
 create mode 100644 drivers/ram/kendryte.c

-- 
2.28.0

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-10-12  3:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29 14:18 [PATCH 00/10] riscv: k210: Enable use of AI ram bank Sean Anderson
2020-09-29 14:18 ` [PATCH 01/10] clk: k210: Fix PLLs not being enabled Sean Anderson
2020-09-29 14:18 ` [PATCH 02/10] clk: Add support for the k210 clock driver pre-relocation Sean Anderson
2020-09-29 14:18 ` [PATCH 03/10] riscv: Enable some devices pre-relocation Sean Anderson
2020-09-29 14:18 ` [PATCH 04/10] lib: fdt: Add fdtdec_setup_mem_size_base_highest Sean Anderson
2020-10-12  3:34   ` Simon Glass
2020-09-29 14:18 ` [PATCH 05/10] test: Add a test for fdtdec_setup_mem_size_base et al Sean Anderson
2020-10-12  3:34   ` Simon Glass
2020-09-29 14:18 ` [PATCH 06/10] ram: Add driver for K210 SRAM Sean Anderson
2020-10-07 13:26   ` Simon Glass
2020-09-29 14:18 ` [PATCH 07/10] ram: sifive: Default to y only if compiling for fu540 Sean Anderson
2020-09-30  4:08   ` Pragnesh Patel
2020-09-29 14:18 ` [PATCH 08/10] riscv: Probe ram in dram_init Sean Anderson
2020-09-29 14:18 ` [PATCH 09/10] riscv: Enable AI ram on K210 Sean Anderson
2020-09-29 14:18 ` [PATCH 10/10] riscv: Don't reserve AI ram in k210 dts Sean Anderson
2020-09-29 15:03   ` Heinrich Schuchardt
2020-09-29 15:07     ` Sean Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox