From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A19EAC433EF for ; Thu, 18 Nov 2021 05:45:44 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EE0B461B39 for ; Thu, 18 Nov 2021 05:45:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EE0B461B39 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 572B882093; Thu, 18 Nov 2021 06:45:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="IalM4qZC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6999F82D5B; Thu, 18 Nov 2021 06:45:38 +0100 (CET) Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) (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 EC8E882093 for ; Thu, 18 Nov 2021 06:45:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masami.hiramatsu@linaro.org Received: by mail-pl1-x62b.google.com with SMTP id u17so4284873plg.9 for ; Wed, 17 Nov 2021 21:45:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=09E9W+PZe1IetNn8O7WKmfHWP39uMUtbsXxrxbMlxu4=; b=IalM4qZCAyyYb8n0djjWkqZUtDdRNGVa6zSDhGtDpk6MEmcN0JodbhfALtnYGJnfr2 Zp63WaxdVHCSPE/emRvJ4or4WHzM70+ZX7IGjxJWPhROANnMl5N8/zKCWcchWe8IR+3X 32dxrlPHaSd1gVLTJjfSo0BUcpWHP+liOXgswd6mDx6kLrq7XH2mfZrV9SbK9Ll5D302 mtqFY//fmRcgnqB1Deb4rfopCW7xZHJwt3cElK4ODuMu3KY9Bl3gKDz/rXOUPAY4YEvU rI7Bz7AlMkakGffgo4Pi9AtDXr63cHtD5JEq/W/lbn1KbV3dcCcEcR1nSF3R8b+0CcOU 2Bjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=09E9W+PZe1IetNn8O7WKmfHWP39uMUtbsXxrxbMlxu4=; b=HT718hU4FSSuIP81kDQtk4sSs8ZHYjTUH/hP/RlL023DpUiNvDGPAqiqfVitzbW4jw M/Zy0SITvqPhLGX0EyLnO6FYi3YQ8R4LZfowwNLra+0gBLzThW2rT1+xCISp5LgcAxgn R0RA8KmHq5rqDE7AdnLFu94rdlSNljlPdPIJQd6t9pc0IQxi2Lmp2J8KmG8Iez/8iJf1 vzF0pYi3dpr4i/xiE2RWovv8jeuo+Mrk8os0w0lfDbmB4ZiLaUcFLfn1YwU8O7VXKeqy LaO0EVERB1kASP2fPg12D/rjNUqR+WLtsNuNFoSSa1ZHeB2D205kf6Fc2DQ2YirbVMKy BobA== X-Gm-Message-State: AOAM5329ErOQvpVVathDo+Qr4ZHJ83u+0jIjOnYG9W/MvYY0KbvuLZNO vRIT4pLNidHiuJltZP/PT4WLiQ== X-Google-Smtp-Source: ABdhPJy/edFobJgteFtfrG8IQFVTyRaPK+8XzNO8YbndUuwbfeup2VRavnViKPChQ40/IRzmtmNYAQ== X-Received: by 2002:a17:90b:4a81:: with SMTP id lp1mr7305943pjb.204.1637214328827; Wed, 17 Nov 2021 21:45:28 -0800 (PST) Received: from localhost.localdomain (122x208x150x49.ap122.ftth.ucom.ne.jp. [122.208.150.49]) by smtp.gmail.com with ESMTPSA id s14sm1502524pfk.73.2021.11.17.21.45.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 21:45:28 -0800 (PST) From: Masami Hiramatsu To: Simon Glass Cc: =?UTF-8?q?Marek=20Beh=C3=BAn?= , u-boot-board-maintainers@lists.denx.de, u-boot-custodians@lists.denx.de, Tom Rini , u-boot@lists.denx.de, Joe Hershberger , Wolfgang Denk , =?UTF-8?q?Marek=20Beh=C3=BAn?= , ilias.apalodimas@linaro.org, Kazuhiko Sakamoto Subject: [PATCH] Revert "board: synquacer: developerbox: Don't set gd->env_addr to default_environment" Date: Thu, 18 Nov 2021 14:45:25 +0900 Message-Id: <163721432461.467760.11657628315867225456.stgit@localhost> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Without default setting of gd->env_addr, U-Boot will cause a synchronous abort if the env-variables on the SPI flash is broken or not saved corectly. Set gd->env_addr correctly. This reverts commit 535870f3b0fb09ee9b2885409f05304111464643. Signed-off-by: Masami Hiramatsu --- board/socionext/developerbox/developerbox.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/socionext/developerbox/developerbox.c b/board/socionext/developerbox/developerbox.c index 31b1349514..9552bfcdc3 100644 --- a/board/socionext/developerbox/developerbox.c +++ b/board/socionext/developerbox/developerbox.c @@ -82,6 +82,8 @@ int board_init(void) { gd->bd->bi_boot_params = CONFIG_SYS_LOAD_ADDR + LOAD_OFFSET; + gd->env_addr = (ulong)&default_environment[0]; + synquacer_setup_scbm_smmu(); return 0;