Message ID | 20200423023320.1380090-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=85.214.62.61; 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=o1XT40S8; 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 4971dQ6xDTz9sSd for <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2020 12:36:10 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1D1E481C5A; Thu, 23 Apr 2020 04:34: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="o1XT40S8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8CD7581924; Thu, 23 Apr 2020 04:33:49 +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-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) (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 D056981915 for <u-boot@lists.denx.de>; Thu, 23 Apr 2020 04:33:41 +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-x741.google.com with SMTP id c63so4912954qke.2 for <u-boot@lists.denx.de>; Wed, 22 Apr 2020 19:33:41 -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=p+y0B4czDN4OPvFNWtGwx4BA/aC1tKV976cHm3ttM04=; b=o1XT40S8aTVICTIctgK7W8376hbUv4F7OoFON6TVaqUjqgerObi9XRawSnOuhGZO8K O1eyfYUwCHziBcPKGdLSKIdhl/I1piHa2bRroHuLbyjjI9h8NNSvyHZbPDW1vjbOoqkN SA45TMMUHYTD/Li3mMoWMvaslzxFfZcLZ3AONH1/DJlunkV5TWThJwnoUt4Q1mfZwfws 4rXZ9fFd0hPV8HeFFak7hGPE35GDczFtcpfCdJ0lETtfmFCqZGXnOC5Mmx6ZHQ3IbvOk m8FfpEbwdRxsWlh0zYCAcx7vUagWM3Z41ZPlaLnB90uUPKzMKEOBwno7YMfbZ33ocvAZ QOcQ== 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=p+y0B4czDN4OPvFNWtGwx4BA/aC1tKV976cHm3ttM04=; b=IwFwBKHsOF1O3R3Mk5OIHygRlplRiq1hfvYp7N2Pc+fBaJM438LhXU7V3rXmqJLg9S ITi4G8DaB4kcQ4Iw2QQhztH+5JmLMgJp52OhWTRPI1pGL3SEGtqc8T/xBxK2nNgr664j DRZSTDZn5OweQ4VRBP/1y1XHA29+oDBBV41zdofga5ePoqpCruM9QKGvdrMOVwuTiY1M xAjAv7bHFo1Unc6H/l/HHl9cpd+ZbaJEdm0MHAMKc7xc+G4rT53uPzmdPtH2wJBG7zRC LdWp6XgP1bvs84sRM87ck4J9wGU7KjaIJBiKjXULHbfipoHsxHZySUXPSPkkcNEvA/bi v29Q== X-Gm-Message-State: AGi0PuY4fdOJKY8SXp+4qV6bVpqGJE4xhBfAkQp3njNi6BN4XyzOh4SH F2jMRVGj+HwcU8opPnhRsCE7ozbs/60= X-Google-Smtp-Source: APiQypIe2Z0+ksnCQ4/8xgfOAm2dFEX3fj2OXgcqhSt9B75InN+A46Gzlbfmo1jba9I6Rx9Ya+qOsw== X-Received: by 2002:a05:620a:2114:: with SMTP id l20mr1374362qkl.220.1587609220645; Wed, 22 Apr 2020 19:33:40 -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 d23sm841971qtj.9.2020.04.22.19.33.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Apr 2020 19:33:40 -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: Wed, 22 Apr 2020 22:33:15 -0400 Message-Id: <20200423023320.1380090-17-seanga2@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200423023320.1380090-1-seanga2@gmail.com> References: <20200423023320.1380090-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