Message ID | 20190226203156.6404-4-simon.k.r.goldschmidt@gmail.com |
---|---|
State | Superseded, archived |
Delegated to: | Marek Vasut |
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=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="l7UDbMY0"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 4489X74SNLz9s9T for <incoming@patchwork.ozlabs.org>; Wed, 27 Feb 2019 07:34:15 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id CFE32C21E47; Tue, 26 Feb 2019 20:33:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id BF859C21EBF; Tue, 26 Feb 2019 20:32:23 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 883A5C21EF7; Tue, 26 Feb 2019 20:32:17 +0000 (UTC) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by lists.denx.de (Postfix) with ESMTPS id 666EEC21EBE for <u-boot@lists.denx.de>; Tue, 26 Feb 2019 20:32:13 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id n2so15440153wrw.8 for <u-boot@lists.denx.de>; Tue, 26 Feb 2019 12:32:13 -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; bh=Mz23luTpGintM5FBmBw4Opz7ggS5sLC8TN2IO+OHnxU=; b=l7UDbMY0zfVEnTtI7chf87GnzDF96eQPwuqVqkU2AZtCm3G7htb7nv7lvhQiTSCOJY pGNSYSiEXtb/Ie/U3QGXsGqSNn6oH3R33/e+MGaPPB6YwspHnrPb8BKIVwyQMhqZ8SlC D5yCQe6v+E1tLsqNxUdEdE4BG4vEwNfheOW5W8Nao19zoEMmfnYculaxwIiepNpKw83D o8suFggZmrBjjg/6KGrZY4+yxR6PUepld00uGcuwnrwJ4PYHaPP4GH/ULWL8vvF4bhsu VzkhwUKN/itP+hqaRov7eYOZw+CCaG8Ach8MZPAtq1lE3xAlmu9ZSp9ktvKXXpgBKij4 oeXA== 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; bh=Mz23luTpGintM5FBmBw4Opz7ggS5sLC8TN2IO+OHnxU=; b=fyjtoBbcoGp50JyNDxTWsxIIYlKnpxpXmlZkuiA8pICMVGHRFJ7mo9KArVg/OXLDJg qi0kJDfosuxAfyt7DcbLPiNPMsv4FJAFgYJXKL1fk72Fs9aGGqx/vtxDKv5DKzB/pQnr Jg++H2NtqoZBSbClCzKXLwahRGDWm+5MeZ/nHoTC6XrNgrznMfZKA4kf51Ey4tAID2I0 nZJ31aPdTbYL27+hlP5+T7mQndxHx+SW6NoJYkjS5H0k8W2fF8ovt6WoPK5bWWHvVr9L 4IMVMjgQPHPt0T1YYzOwhbPnep7AqsRedTbfxMgmraONn1P8N8rQ/XNuFrWhFvoVnBz2 H7nQ== X-Gm-Message-State: AHQUAub6LVmzTZ5JWdqonDt4wMLbTleuPs7YP5xYRyPx5gY+puUoWC0i 3MyzD4hFGPzMXXWTsZZp8mo= X-Google-Smtp-Source: AHgI3Ibq75ohmuJBViVwVB3uaMTEv72d//TAxboAE9Bw+SMJ1UNofWcagnLzU2yLd6IqCMpxtHDdXw== X-Received: by 2002:adf:f28f:: with SMTP id k15mr18304933wro.272.1551213133114; Tue, 26 Feb 2019 12:32:13 -0800 (PST) Received: from ubuntu.home ([2a02:8071:6a3:700:9065:254c:ff38:3288]) by smtp.gmail.com with ESMTPSA id x17sm21467423wrd.95.2019.02.26.12.32.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Feb 2019 12:32:12 -0800 (PST) From: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> To: Marek Vasut <marex@denx.de>, u-boot@lists.denx.de Date: Tue, 26 Feb 2019 21:31:51 +0100 Message-Id: <20190226203156.6404-4-simon.k.r.goldschmidt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190226203156.6404-1-simon.k.r.goldschmidt@gmail.com> References: <20190226203156.6404-1-simon.k.r.goldschmidt@gmail.com> Cc: Tien Fong Chee <tien.fong.chee@intel.com>, Tom Rini <trini@konsulko.com>, Stefan Roese <sr@denx.de> Subject: [U-Boot] [PATCH v3 3/8] arm: socfpga: gen5: deassert peripheral reset by default X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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: <http://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> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
arm: socfpga: implement proper peripheral reset handling
|
expand
|
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h index c9cbf8f5e3..f7e2c6b240 100644 --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -330,6 +330,7 @@ unsigned int cm_get_qspi_controller_clk_hz(void); "scriptaddr=0x02100000\0" \ "pxefile_addr_r=0x02200000\0" \ "ramdisk_addr_r=0x02300000\0" \ + "socfpga_legacy_reset_compat=1\0" \ BOOTENV #endif
To keep the current behaviour of taking all peripherals out of reset before booting the OS before removing that code from socfpga gen5 SPL, this enables the new behaviour by default for all gen5 boards by adding the environment variable "socfpga_legacy_reset_compat=1" to the default environment. This can be overridden in board config files or by saving an environment without this variable enabled. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> --- Changes in v3: - rename env var to socfpga_legacy_reset_compat - add env var to CONFIG_EXTRA_ENV_SETTINGS without further ifdefs - changed the order of patches to keep things bisectable Changes in v2: - this patch is new in v2 include/configs/socfpga_common.h | 1 + 1 file changed, 1 insertion(+)