From patchwork Fri Apr 9 02:13:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 1464128 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=kjwADIOg; 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 4FGhYb73MBz9sSC for ; Fri, 9 Apr 2021 12:15:31 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8256A80C77; Fri, 9 Apr 2021 04:14:11 +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="kjwADIOg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 514A180204; Fri, 9 Apr 2021 04:13:38 +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-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) (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 4EAF7801F0 for ; Fri, 9 Apr 2021 04:13:31 +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-qt1-x831.google.com with SMTP id 1so3162976qtb.0 for ; Thu, 08 Apr 2021 19:13:31 -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=5XarzPR0+XjqvHHrxAdSfu7GKUCOHnQf/sM71ZYvjRw=; b=kjwADIOguGl9mB8hvG9uyJfiV0PbK1nAO/hS9m8r8/34xpEwA6LoPkFmHqhn2cfSVO zwJCWFGXSc/eMIFcKvQG9xTgkwNPJfVomHgijB3kaYiLmpyvHEmNZ0Ew1I87GdRj7f6s 0tZ5AUQ+7YKO3ewBIGgkecPRXVSixlA8TzPAgm8i8p9qa84uJ+MsEsAHM2rQp+X6FoDt /gMn9ri9x+FCFous15Xv72Ve0/LO7dKTpxXyhEz95joFxprVyFVRPYeOqlm87KVR9drL wu3Yu/udspV5oPWw8djC9myM6xp6qQr1h1OzJZxMe/hojBqRV8SX1xtspitCCDskeqHd dvCQ== 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=5XarzPR0+XjqvHHrxAdSfu7GKUCOHnQf/sM71ZYvjRw=; b=Jo5HToGfJBxkl2jcv/xnHiVKE/R4XONhWb7g0ATZJdiKIM4s+WgKmo3ORGer4otyTR T5x7kJEvfIWgF01Do5rCdQW7UoWg8Aw2anDHT4zXLXjjpbIQ4euKRfqFCMfl9JAg0b3h qAisqiNovOqyO7xx+VA+JTD9NNe/kNVGkQ/N2CFWSKAz4sb/FV4BF09Hx5DJWv6IBGFO aftnTrowQusrG1tgF/Xdlbu6R5uqA7eRMdt/BDg2h13VkBL0nijn21p4eQFJwmxFYJkX Uucnpzo43ZYhf74vKSHeBeDvzY2ES/ujSayXFZvw1wsl5Fb72eFa0VR63cV2ql2WgSAR pSDw== X-Gm-Message-State: AOAM530C9XDDWRUzmN4lkI/VTprn0kTiPPPH/SrU/BehYiDyBa2AqAau EceczsQ+CWMFcSwI6HEieh+KY3sfHH8= X-Google-Smtp-Source: ABdhPJztqfiLfK2BLVksAiOLzSPRq/XFHBV8KSSLcLxHrGCFR687tZqvjlxANtxzRYQdc1EL483fuw== X-Received: by 2002:ac8:7dc2:: with SMTP id c2mr10480895qte.341.1617934410187; Thu, 08 Apr 2021 19:13:30 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 19:13:29 -0700 (PDT) From: Sean Anderson To: u-boot@lists.denx.de Cc: Bin Meng , Leo Liang , Rick Chen , Heinrich Schuchardt , Sean Anderson , Damien Le Moal , Rick Chen Subject: [PATCH v3 09/11] riscv: k210: Rename airam to aisram Date: Thu, 8 Apr 2021 22:13:11 -0400 Message-Id: <20210409021313.433558-10-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 This is more consistent with the naming of other ram banks, and matches what Linux is doing. Reported-by: Damien Le Moal Signed-off-by: Sean Anderson --- (no changes since v2) Changes in v2: - New arch/riscv/dts/k210.dtsi | 4 ++-- board/sipeed/maix/maix.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/riscv/dts/k210.dtsi b/arch/riscv/dts/k210.dtsi index a735bebf2c..2032f1e5c2 100644 --- a/arch/riscv/dts/k210.dtsi +++ b/arch/riscv/dts/k210.dtsi @@ -86,11 +86,11 @@ reg = <0x80000000 0x400000>, <0x80400000 0x200000>, <0x80600000 0x200000>; - reg-names = "sram0", "sram1", "airam"; + reg-names = "sram0", "sram1", "aisram"; clocks = <&sysclk K210_CLK_SRAM0>, <&sysclk K210_CLK_SRAM1>, <&sysclk K210_CLK_PLL1>; - clock-names = "sram0", "sram1", "airam"; + clock-names = "sram0", "sram1", "aisram"; u-boot,dm-pre-reloc; }; diff --git a/board/sipeed/maix/maix.c b/board/sipeed/maix/maix.c index 6e582911f8..52e4fee2f0 100644 --- a/board/sipeed/maix/maix.c +++ b/board/sipeed/maix/maix.c @@ -17,7 +17,7 @@ phys_size_t get_effective_memsize(void) static int sram_init(void) { int ret, i; - const char * const banks[] = { "sram0", "sram1", "airam" }; + const char * const banks[] = { "sram0", "sram1", "aisram" }; ofnode memory; struct clk clk;