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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 06EA7C433F5 for ; Sun, 1 May 2022 14:26:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C3B2783F05; Sun, 1 May 2022 16:26:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.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=kernel.org header.i=@kernel.org header.b="Yj6NnErw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1D2D483F0E; Sun, 1 May 2022 16:26:06 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C978483F05 for ; Sun, 1 May 2022 16:25:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4988860ED6; Sun, 1 May 2022 14:25:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B828C385A9; Sun, 1 May 2022 14:25:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651415156; bh=JMonEaFvbXjm0BF7/JPZnQbtsBW5cX+jITehmvTSNTM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yj6NnErwZqJIklTDvuRRN2mXTtYlD3b7DeMatVU+nnQNhCrzKzrxdthKHPm+z5fRc IOlKTkYEjsMrclq3AmBuCNkcWMcykCqX0ygu8UggJHzGs4cFeRxb9dX1fwdt2Kvau8 nDcHNxm5vqOa+diYvzAaj5sqZUoE7XSGi9g5rrt5azf29xStMeZvxXsKvo7vIq5ziG eSjTV4jKT7Op5ZSzfm00SriUh7ymfTyI+jFs2i2uKGHm1bf2jtikK5zBIEFre4IUe8 nSLKgJjJuG44pm7si7HSYPQ84bOXuy2wH9RbZyB3fBsy55Pbo8JGrU6hSinwxDdAw/ AJ9UJR/EM7qSA== Received: by pali.im (Postfix) id C267E989; Sun, 1 May 2022 16:25:53 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Tom Rini Cc: u-boot@lists.denx.de Subject: [PATCH 2/6] Revert "p1_p2_rdb: Remove CONFIG_CPLD_[BO]R_PRELIM" Date: Sun, 1 May 2022 16:23:53 +0200 Message-Id: <20220501142357.16778-3-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220501142357.16778-1-pali@kernel.org> References: <20220501142357.16778-1-pali@kernel.org> 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.39 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.5 at phobos.denx.de X-Virus-Status: Clean This reverts commit 53f2222c71df0fce21d403400a9bc1532e08107c. These macros and their values are required for configuring CPLD memory mapping in LBC. So revert them back. Signed-off-by: Pali Rohár --- include/configs/p1_p2_rdb_pc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h index 648d941c59b2..9726ef3077f7 100644 --- a/include/configs/p1_p2_rdb_pc.h +++ b/include/configs/p1_p2_rdb_pc.h @@ -323,6 +323,9 @@ #define CONFIG_SYS_CPLD_BASE_PHYS CONFIG_SYS_CPLD_BASE #endif /* CPLD config size: 1Mb */ +#define CONFIG_CPLD_BR_PRELIM (BR_PHYS_ADDR(CONFIG_SYS_CPLD_BASE_PHYS) | \ + BR_PS_8 | BR_V) +#define CONFIG_CPLD_OR_PRELIM (0xfff009f7) #define CONFIG_SYS_PMC_BASE 0xff980000 #define CONFIG_SYS_PMC_BASE_PHYS CONFIG_SYS_PMC_BASE -- 2.20.1