Message ID | 20200503023550.326791-17-seanga2@gmail.com |
---|---|
State | Superseded |
Delegated to: | Andes |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> 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=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com 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=ilkPewej; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 49F9FB3xfWz9sRf for <incoming@patchwork.ozlabs.org>; Sun, 3 May 2020 12:39:58 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1ACFC81EF6; Sun, 3 May 2020 04:36:44 +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="ilkPewej"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6958781ED2; Sun, 3 May 2020 04:36:31 +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-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) (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 F215881E89 for <u-boot@lists.denx.de>; Sun, 3 May 2020 04:36:24 +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-x844.google.com with SMTP id b1so11194046qtt.1 for <u-boot@lists.denx.de>; Sat, 02 May 2020 19:36:24 -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=ung8iYBanDGVRABymuNx3tQdnpMvc7js4OugY1AZnNo=; b=ilkPewejo+/ij6H6aLb3ocEwtca96WIzpup5lsV+pXDU8ia9rQQxbTNRtuR6x6t0Q4 KHYRRBZ66rCfII4817ULn87k/1mqMRHNWSCtnFYKYH5vJQU/WGL+iUrT8AkLfC/dYsNT ru942GPmmzCxKtckt1pEO9ujNsga8WO76bM5gDmEaDuqVO0dFIdjdPxIrjrPOhlUGg7c hDDbXTOrL7UWxxF732eJbairVBkoSULCTRjcWGSqQFHlCB6L6TFg6E0WrDsjLVP7F/YM sM04M5YOjlMHyQ7IlaX6gONQhIv6Em0KRbj/+EczpMLYCxOetW4QsbFnxG7ojjmo19zD +HKw== 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=ung8iYBanDGVRABymuNx3tQdnpMvc7js4OugY1AZnNo=; b=DpzUZoNlHGME0XXUs7cUMDN4uVCODScZIAtmoMVXobd0EPrpInWZTRhgxqaiUfX+2s u44FI6taKkic5NnEJNmr2GllyrCV755a/ODN3nxYR3Ve4thIvKMEuPgve4bowLB4KLs8 WMgrC25OVIfiLJ2CQLglTpGFWfKAXuoL1TM/EAkvDnaSL+Wg+ykzxGnGkmHikuMchINn iyzFxWUAaJCLdng9aq8vKBCLRa7Lk6Rj3S31Vy1GFRmzTiURpnSUBjFTDH3pZMNEBPy4 mcOmDRpj4D9VyJb6C+ZURZbV2uxsQZYCy2mqDY+yYhIN8kXyMSvx4+3kWW6wI8a6YokU rjXg== X-Gm-Message-State: AGi0PublXYN7zD8pHXk7LR+xVLsb5A41HNKFy4UY1f2pW7I4pumzLgDq ffhCnSStNzJHreaeGdrYh10RhgQXhZI= X-Google-Smtp-Source: APiQypI+nqdAwWngrBNcxqk29utaQ48561pDDgfSv0cXrNPGO/N1fZqBcqcOk6cOs+yndEBZSa+ytQ== X-Received: by 2002:aed:2dc1:: with SMTP id i59mr11019404qtd.209.1588473383697; Sat, 02 May 2020 19:36:23 -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 a124sm6554114qkf.93.2020.05.02.19.36.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 19:36:23 -0700 (PDT) From: Sean Anderson <seanga2@gmail.com> To: u-boot@lists.denx.de Cc: Rick Chen <rickchen36@gmail.com>, Bin Meng <bmeng.cn@gmail.com>, Sean Anderson <seanga2@gmail.com> Subject: [PATCH v9 16/21] riscv: Allow use of reset drivers Date: Sat, 2 May 2020 22:35:45 -0400 Message-Id: <20200503023550.326791-17-seanga2@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200503023550.326791-1-seanga2@gmail.com> References: <20200503023550.326791-1-seanga2@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
riscv: Add Sipeed Maix support
|
expand
|
diff --git a/arch/riscv/lib/reset.c b/arch/riscv/lib/reset.c index ce3c1cf872..7622e5df43 100644 --- a/arch/riscv/lib/reset.c +++ b/arch/riscv/lib/reset.c @@ -7,6 +7,7 @@ #include <command.h> #include <hang.h> +#ifndef CONFIG_SYSRESET int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { printf("resetting ...\n"); @@ -16,3 +17,4 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) return 0; } +#endif