From patchwork Fri Apr 9 02:13:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1464130 X-Patchwork-Delegate: uboot@andestech.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=VteAV5d1; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FGhZ603xLz9sSC for ; Fri, 9 Apr 2021 12:15:57 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1D52581780; Fri, 9 Apr 2021 04:14:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="VteAV5d1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1C5F2801D4; Fri, 9 Apr 2021 04:13:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B839F8021C for ; Fri, 9 Apr 2021 04:13:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qk1-x730.google.com with SMTP id q26so4445270qkm.6 for ; Thu, 08 Apr 2021 19:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WK1d4PJMRI3ynezvhCmM5FJ39RrDvLn1YlGVSDGA/Zs=; b=VteAV5d1umRLxfBqMClUVAspfqhuiYgadC6sIS1l5rWbTUjMaZ5TrtpcJLNDHql/Iv JpebUeud1tNElcZ+ur7xPz4hIHoEaoweHemIO7H9gOcuIv2W2ZOPP9JLH0KkUBb55jbi RrEDVrhfXqJ/rklPUkUvsrrNAopGPp/ajHYFj55AJ3xD/eWlgia2yjtBwEiU6wVTbxBS O8p6TYj5VGeQIlI00aGWY2INkg6VMp09dSsdV7Bvr0ZmXkFnZtbQxNH+bpC2Qg3cNI81 JcDSLfohrb3L/LKORkyrqoDHxKd+K4A69+OTOMg/RBOO8zj7/BPCRuA7uN4dWf8Kh3RT yWWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WK1d4PJMRI3ynezvhCmM5FJ39RrDvLn1YlGVSDGA/Zs=; b=mmMZazpIjpOGF8O6H6/db1zJYHWkrYDKxUeg+Ap9q9lfb99J2d7RzV9Sz7fNr8OGtF LDrexF8VT7UnAnMHikRYJR8nfll+LAiMMkhqv8/DNkHckJPR53vNPbu38L9a9Sle2IM0 S5TG4YxyEzSu5ur3WyRusStqVfCoDzv5cc+FCYxs4SXdKSpk6y+m04Eam5haH9ulWVcU q9MjCMoSL7n051XdFLWOS6Rx+5ks4lYpclTH5k+4dICBLqAMsvIEKr5yxdTEnp8EDdPu IjyATHooWGiY7ssVjDjwRifp5v4vRlbyjqAnwlY3MEYBncbA5m/CyvIYwMT4DCkqYJiK le5Q== X-Gm-Message-State: AOAM533qXQjd+QfKocBqtn7/YHBanY7QDISvQqEjTlNrG7C2tPoR0nUv ZZ8RmQjll6KtysxcPk9gQvIgVUcdQY4= X-Google-Smtp-Source: ABdhPJxMOdAqROxAPckoEPI6JH4pYdgc/CxSbaJQrNYIa3V9Olbw0ZrzQgnghXetXek3lvcwCSPiYg== X-Received: by 2002:a05:620a:141a:: with SMTP id d26mr11564731qkj.363.1617934411582; Thu, 08 Apr 2021 19:13:31 -0700 (PDT) Received: from godwin.fios-router.home (pool-108-51-35-162.washdc.fios.verizon.net. [108.51.35.162]) by smtp.gmail.com with ESMTPSA id h8sm951678qta.53.2021.04.08.19.13.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 19:13:31 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de Cc: Bin Meng , Leo Liang , Rick Chen , Heinrich Schuchardt , Sean Anderson , Rick Chen Subject: [PATCH v3 11/11] riscv: Don't reserve AI ram in k210 dts Date: Thu, 8 Apr 2021 22:13:13 -0400 Message-Id: <20210409021313.433558-12-seanga2@gmail.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <20210409021313.433558-1-seanga2@gmail.com> References: <20210409021313.433558-1-seanga2@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean It is no longer necessary to disallow ai ram, since it is enabled by the sram driver. Signed-off-by: Sean Anderson --- (no changes since v1) 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 75e101530b..2492af8038 100644 --- a/arch/riscv/dts/k210.dtsi +++ b/arch/riscv/dts/k210.dtsi @@ -94,17 +94,6 @@ u-boot,dm-pre-reloc; }; - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - ai_reserved: ai@80600000 { - reg = <0x80600000 0x200000>; - reusable; - }; - }; - clocks { in0: osc { compatible = "fixed-clock"; @@ -179,7 +168,6 @@ reg = <0x40800000 0xc00000>; interrupts = <25>; clocks = <&sysclk K210_CLK_AI>; - memory-region = <&ai_reserved>; status = "disabled"; };