[PATCH 10/10] riscv: Don't reserve AI ram in k210 dts

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Sep 29 17:03:55 CEST 2020


Am 29. September 2020 16:18:35 MESZ schrieb Sean Anderson <seanga2 at gmail.com>:
>It is no longer necessary to disallow ai ram, since it is enabled by
>the
>sram driver.
>
>Signed-off-by: Sean Anderson <seanga2 at gmail.com>
>---
>
> arch/riscv/dts/k210.dtsi | 12 ------------
> 1 file changed, 12 deletions(-)
>
>diff --git a/arch/riscv/dts/k210.dtsi b/arch/riscv/dts/k210.dtsi
>index f7843985aa..7b0cd4f8f6 100644
>--- a/arch/riscv/dts/k210.dtsi
>+++ b/arch/riscv/dts/k210.dtsi
>@@ -91,17 +91,6 @@
> 		u-boot,dm-pre-reloc;
> 	};
> 
>-	reserved-memory {
>-		#address-cells = <1>;
>-		#size-cells = <1>;
>-		ranges;
>-
>-		ai_reserved: ai at 80600000 {
>-			reg = <0x80600000 0x200000>;
>-			reusable;
>-		};
>-	};

Doesn't removing this reservation mean that you cannot run AI applications anymore?

How would a user tell U-Boot to reserve memory for AI?

Do we need different configurations with separate device trees?

Best regards

Heinrich

>-
> 	clocks {
> 		in0: osc {
> 			compatible = "fixed-clock";
>@@ -177,7 +166,6 @@
> 			reg = <0x40800000 0xc00000>;
> 			interrupts = <25>;
> 			clocks = <&sysclk K210_CLK_AI>;
>-			memory-region = <&ai_reserved>;
> 			status = "disabled";
> 		};
> 



More information about the U-Boot mailing list