Message ID | 20200305181308.944595-16-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=b0CG5xDg; 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 48YJpY0tXnz9sNg for <incoming@patchwork.ozlabs.org>; Fri, 6 Mar 2020 05:16:04 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A1A7481462; Thu, 5 Mar 2020 19:14:17 +0100 (CET) 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="b0CG5xDg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E7628129E; Thu, 5 Mar 2020 19:13:54 +0100 (CET) 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-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) (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 28052812F6 for <u-boot@lists.denx.de>; Thu, 5 Mar 2020 19:13:45 +0100 (CET) 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-x843.google.com with SMTP id d22so4881529qtn.0 for <u-boot@lists.denx.de>; Thu, 05 Mar 2020 10:13:45 -0800 (PST) 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=oxY7QrBkylMUFHrK8nGO+Dm5JKF/sPs9m/iOhl3n1JU=; b=b0CG5xDgdqfSDMhBffI/2hYGr9Q+oeEZ/+15xKdv+HMyZut5aRKtccp1eayeFlTM6j lj10biUElquIoXOGg3IFup/D0orHywHI/9NHPf+CGO3wFcCdYRA9rZwc2mnEBrTbV3M1 B5cDS4BNJFlClqPAMpLTScu8vuiPzmdVFI7kAIWg6X+gF0O9lkOEMpABTjzYBrHLdIBg rcLdRYusXo8qU3Nn75Z3d4r5AhuWNBUhmJmVSMRSEnWiF5+dKNwPUaLDQzkZzh3ffBKY gdEDI790A7Xb1qL8K+cY5fTz+UxMEAe+AhixPSGRykY8oqyKixEnMsjKEOL2ZAgiZqXU Wb1w== 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=oxY7QrBkylMUFHrK8nGO+Dm5JKF/sPs9m/iOhl3n1JU=; b=jwDrwmRh0PJ2v4uePSbcNtqzE6B004XvFg7p6mDJjIiiRicqh/BrByh3iw/Lf6Qng+ Rb7Pyj+cv8J0C+sU4AkbTe99zo3yu3/7xi+ckvpfEZpo2vnPbqtEU4Ww8CXjbyZM/m12 iP8ZdZrCVNu1Lh0LxjLdv5FvDV5lfpSHBTeBN6kUIYSxALPl+MAbBkgJoRU/CiP9sIgm a1PQhksPrFt4+cCuHFZiM+hF719+dKBumbAKKMqDV96MFVg3oZtRCXErCYKfF/fzF1wj QzUTecLzY+cJIC4NRiizTj8GpZxjfvxF+ZJMU7BGdBYegmT/uUNrZfGUGCoNa/gEvrBf cniA== X-Gm-Message-State: ANhLgQ3bQukGuP1PdikC50xicgFaVsCpmZP+qK9npgd8ibHcNQpDbgsR NCB1lWHisubI9EuyulEDB6oQMaAs X-Google-Smtp-Source: ADFU+vtJUOsiaAOFlhOV6xBd06nb93Lri3nsII8cz0Z/SL1l7VykZB0tc8sL+ftRGXXnTU85koPBoQ== X-Received: by 2002:ac8:76c1:: with SMTP id q1mr8732629qtr.66.1583432023701; Thu, 05 Mar 2020 10:13:43 -0800 (PST) Received: from localhost.localdomain ([75.102.135.197]) by smtp.gmail.com with ESMTPSA id u48sm2563029qtc.79.2020.03.05.10.13.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 10:13:43 -0800 (PST) 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 v6 15/19] riscv: Allow use of reset drivers Date: Thu, 5 Mar 2020 13:13:03 -0500 Message-Id: <20200305181308.944595-16-seanga2@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200305181308.944595-1-seanga2@gmail.com> References: <20200305181308.944595-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