From patchwork Thu Aug 27 11:54:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1352507 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: 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=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=WJPFKpP3; 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 4Bch3K5VLJz9sSJ for ; Thu, 27 Aug 2020 21:54:21 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4209E80422; Thu, 27 Aug 2020 13:54:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="WJPFKpP3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3F76181260; Thu, 27 Aug 2020 13:54:15 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 603948006D for ; Thu, 27 Aug 2020 13:54:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wr1-x444.google.com with SMTP id k15so1312335wrn.10 for ; Thu, 27 Aug 2020 04:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=//RYwEkaDid1kSEp2ZdI7CJ7sqQij2pDAVpv5nNyo+E=; b=WJPFKpP3fuG4xb1zktqZCQrfs4I807xaKgWjJ/BYWZnMbzZHZ3vCh/FSdbV5CT+NgQ E3CplN/5In8SrmGDGwiWT8n2kQNEG6lUOvjBqiyujvnnejXPV8Dvsor9c6r0AOsY/Qcm 1+EUVIZagLIo+hvdIILlkHpuDnemMFFo7AKFM0ypG3sxvAXwIPaOMsgObki1XL6vBTNG qzPFQI9eOa7mNTy20Uo5WzN/Wb8XS2LNm2tMbbP4leKl7JSufB4WD6jRARXAHr8WAbmb VkM+XjTaQKUtiT9652sNrEWVYEBMfHpsyUFQjWNrt7JlI9lC2YJWbuTROkeOuj3Lp9wT icfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=//RYwEkaDid1kSEp2ZdI7CJ7sqQij2pDAVpv5nNyo+E=; b=E5j48rZHGroQkiI+X6tHVGe0NNWdWxQRn0NipFmNGBYCCYFfXPYrvx+X8EeOOrDM4d T0tbJlS2rTrI5ubqI69EW8+FKkCyZIvs+f8ekF5FdZP8eaoVbcl0n+zHcBFl6F7yU1O7 rbCSsNVSlKIqk4ai8q1k58n56LpNu7Si4eMy9ep7HHX7XjmgOfn+LZUG8byp9/abRd7N SFBIsStjBiOnDlHslbjoYTpuq5121T2Lf+D2jYwO1qajCAiSA0dJuEUBJIiSVT/iR4OV AtfwiT3eJWw8raseIwGCPqxJUFNDTZDXyCVApF5PQ5BCh5i6OF6WLvEoY4YRB6xHjxhr Sblw== X-Gm-Message-State: AOAM532ZXgHmo38Sy9jGlf3sr71Blzw7Oi+ILu/AflNXoC0Y3TOVDtPR kMjMjCv34doVb4He9RgLNMNLceOxDxfNEA== X-Google-Smtp-Source: ABdhPJx0e4qFDX1MEFO4XGc6J0yC0aQtRkqE3JPkyunHTfqRSreo5/wBf1hsomy0c0NhtW5ggyJYRg== X-Received: by 2002:adf:e50e:: with SMTP id j14mr18984368wrm.238.1598529251716; Thu, 27 Aug 2020 04:54:11 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id h13sm4925036wrx.17.2020.08.27.04.54.10 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Aug 2020 04:54:10 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Ibai Erkiaga , Michal Simek , T Karthik Reddy Subject: [PATCH] board: xilinx: Enable changing default DTB pick up address Date: Thu, 27 Aug 2020 13:54:06 +0200 Message-Id: <55272363148fe9f4d3928b63e568ddf6c6e0ede8.1598529244.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean U-Boot on xilinx boards is checking one address where DTB can be placed as the first location for DTB. Originally this code was developed for Versal where QEMU was putting generated DTB for U-Boot to use. The patch enables changing this address which is necessary for cases where default address is pointing to location (DDR) which is not present. The access to this location can cause exception. Signed-off-by: Michal Simek --- board/xilinx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/Kconfig b/board/xilinx/Kconfig index 73fc1be0141e..c80d0a881284 100644 --- a/board/xilinx/Kconfig +++ b/board/xilinx/Kconfig @@ -41,7 +41,7 @@ config XILINX_PS_INIT_FILE endif config XILINX_OF_BOARD_DTB_ADDR - hex + hex "Default DTB pickup address" default 0x1000 if ARCH_VERSAL default 0x100000 if ARCH_ZYNQ || ARCH_ZYNQMP depends on OF_BOARD || OF_SEPARATE