Message ID | 20200521161503.384823-17-seanga2@gmail.com |
---|---|
State | Awaiting Upstream |
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=G+JkC47Q; 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 49SZYn4bsKz9sRf for <incoming@patchwork.ozlabs.org>; Fri, 22 May 2020 02:18:53 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 01BA481EA5; Thu, 21 May 2020 18:16:05 +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="G+JkC47Q"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A1CF281E5E; Thu, 21 May 2020 18:15:45 +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 EECAA81E4F for <u-boot@lists.denx.de>; Thu, 21 May 2020 18:15:42 +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 s1so7735407qkf.9 for <u-boot@lists.denx.de>; Thu, 21 May 2020 09:15:42 -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=BVR0BnSO2dZXVBfOs8dX2AY/kM+CtCffbosBta29amo=; b=G+JkC47QyQw139YSToF6SvkzYxwlhY3urL1uQz1w10ZrbfMkuAPdIzPlbLe9Y8MLep jIHHvc9oaHTmB7/KzXc0WiaHrzAV2iP0P0ktuepnPjvMyLYilgl2jyhs5dwyAdjvQmZ+ 4eS2AuNzV+vEeSGRoOQGqUS5zGPvyNkO0syu8uzWS9LBX5MeIc53PtBzDFOFGxmVRyRG 4L7EnM53m/s3gUGIXm7FucZKBPSh71We4gRr8u7KthgGMFgiCmYdxQHbUA+8d1LvL8j3 Np22zyNzTyRPMEX0EJvUtufXSDCC2Lv10ySQVOCnjHaj7KG7uN4VhkARElEfSeG2011g zNzg== 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=BVR0BnSO2dZXVBfOs8dX2AY/kM+CtCffbosBta29amo=; b=Y5wAjwpFSDPF8F8FvUpxEdpw/rsaWmqGl0vgb7r6190JsZjUR+SoZmTLsqXP0ZbmbS PnSCwUhmKpTw6EqZnRa6STMjahYoSb72iLUpL12KqrYiPKSJZWqXGywszLrVtQmWMJ1f S35ghkA1DzcX8KJXvwJAqcVKtZmXEVkeNoSP7Jlq8T97IXHhyNQgxpygcitzLp/VPs98 EQeIXcIggYe423ZrXBdg/V0HEixMjadoQGUxe2uvcdbB9o/EVQrFWFGQDWGcPd0/qK76 POUUjegMQ4JqdDVfOGJK83LEuTszJ6GVaylcc1GIWulrA23k7Esrriu2aAIC6i2GkHE+ 7NOg== X-Gm-Message-State: AOAM533ET0Ot45LTgO8GnbHLHCui9sF79fExmL3bip0MvWABkuzoEc46 6kWNUxpxyA1y6kp0jLiWoCUgKEF3mEc= X-Google-Smtp-Source: ABdhPJy25Pn8o/hFnqjPqnE4pQJhjYu9Dj0eNsA7PypnO9/Ww+JKyFTyDFsZRGNL9slhAv+DQysKoA== X-Received: by 2002:a37:b3c7:: with SMTP id c190mr10307323qkf.466.1590077741655; Thu, 21 May 2020 09:15:41 -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 e28sm5183538qkn.17.2020.05.21.09.15.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2020 09:15:41 -0700 (PDT) From: Sean Anderson <seanga2@gmail.com> To: u-boot@lists.denx.de Cc: Bin Meng <bmeng.cn@gmail.com>, Rick Chen <rickchen36@gmail.com>, Sean Anderson <seanga2@gmail.com> Subject: [PATCH v13 16/21] riscv: Allow use of reset drivers Date: Thu, 21 May 2020 12:14:58 -0400 Message-Id: <20200521161503.384823-17-seanga2@gmail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200521161503.384823-1-seanga2@gmail.com> References: <20200521161503.384823-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 8779c619cc..6008bbe78e 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(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { printf("resetting ...\n"); @@ -16,3 +17,4 @@ int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) return 0; } +#endif