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 47A6CC433EF for ; Sun, 1 May 2022 14:26:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A4D0283F18; Sun, 1 May 2022 16:26:06 +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="Fcgocx37"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A77ED83F1F; Sun, 1 May 2022 16:26:01 +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 0B43D834AD 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 2B77F60ECC; Sun, 1 May 2022 14:25:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37E27C385A9; Sun, 1 May 2022 14:25:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651415155; bh=+hA2bwR1Qp9n8qXTfPLgGjNdYVlGOAZic2yM52ojSwY=; h=From:To:Cc:Subject:Date:From; b=Fcgocx37bjIr4lBLDcP8qb+HLxssU4B2rwInCxnxrlmSduud3zqCymHobQT1ROUEZ 6ksdG/ZQ7MWMBYmazf0eV+8b9pFmrOV6egvxcltV9rJ3WDR6q5MvY4i8yDCn9zUmMb QmkeGDsBCvnsgJq9kAZeCstyihoyZaffbHPIqVU94TGyk2qnxr3OXCFosmBSSBYZ8f +2OgmeXeOYt6d0vMKcPT4V+mVbKZW58vIAxYQjcdi1OaSkLKwHuiv8YsP2vgC1HEu3 4vOvpDuT2Yy/UolEtwq9jpvugUR1uGCKm3tjla+FXF83Vqi8xWV0Fexd6AgfcqBwSH ij6L8kBtyC+eQ== Received: by pali.im (Postfix) id 1DE26942; Sun, 1 May 2022 16:25:52 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Tom Rini Cc: u-boot@lists.denx.de Subject: [PATCH 0/6] board: freescale: p1_p2_rdb_pc: Fix sizes of LBC peripherals Date: Sun, 1 May 2022 16:23:51 +0200 Message-Id: <20220501142357.16778-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 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 On LBC (Local Bus Controller) are connected memory peripherals (NOR, NAND, CPLD). Fix size mappings of all these peripherals. Size needs to be correctly set in TLB, LAW and LBC OR registers. Use named macros for human readable configuration. Pali Rohár (6): Revert "Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig" Revert "p1_p2_rdb: Remove CONFIG_CPLD_[BO]R_PRELIM" mpc85xx: Replace magic values in BR/OR PRELIM config options by proper C macros board: freescale: p1_p2_rdb_pc: Fix size of CPLD mapping board: freescale: p1_p2_rdb_pc: Fix size of FLASH NOR mapping board: freescale: p1_p2_rdb_pc: Fix size of NAND mapping README | 11 ++ arch/powerpc/cpu/mpc83xx/elbc/elbc.h | 170 +++++++++++++++++++ arch/powerpc/cpu/mpc8xx/Kconfig | 85 ++++++++++ board/freescale/p1_p2_rdb_pc/law.c | 10 +- board/freescale/p1_p2_rdb_pc/tlb.c | 20 ++- configs/M5272C3_defconfig | 24 --- configs/MCR3000_defconfig | 47 +++-- configs/MPC837XERDB_defconfig | 9 - configs/MPC8548CDS_36BIT_defconfig | 12 -- configs/MPC8548CDS_defconfig | 12 -- configs/MPC8548CDS_legacy_defconfig | 12 -- configs/P1020RDB-PC_36BIT_NAND_defconfig | 12 -- configs/P1020RDB-PC_36BIT_SDCARD_defconfig | 9 - configs/P1020RDB-PC_36BIT_SPIFLASH_defconfig | 9 - configs/P1020RDB-PC_36BIT_defconfig | 9 - configs/P1020RDB-PC_NAND_defconfig | 12 -- configs/P1020RDB-PC_SDCARD_defconfig | 9 - configs/P1020RDB-PC_SPIFLASH_defconfig | 9 - configs/P1020RDB-PC_defconfig | 9 - configs/P1020RDB-PD_NAND_defconfig | 12 -- configs/P1020RDB-PD_SDCARD_defconfig | 9 - configs/P1020RDB-PD_SPIFLASH_defconfig | 9 - configs/P1020RDB-PD_defconfig | 9 - configs/P2020RDB-PC_36BIT_NAND_defconfig | 12 -- configs/P2020RDB-PC_36BIT_SDCARD_defconfig | 9 - configs/P2020RDB-PC_36BIT_SPIFLASH_defconfig | 9 - configs/P2020RDB-PC_36BIT_defconfig | 9 - configs/P2020RDB-PC_NAND_defconfig | 12 -- configs/P2020RDB-PC_SDCARD_defconfig | 9 - configs/P2020RDB-PC_SPIFLASH_defconfig | 9 - configs/P2020RDB-PC_defconfig | 9 - configs/P2041RDB_NAND_defconfig | 9 - configs/P2041RDB_SDCARD_defconfig | 6 - configs/P2041RDB_SPIFLASH_defconfig | 6 - configs/P2041RDB_defconfig | 6 - configs/P3041DS_NAND_defconfig | 12 -- configs/P3041DS_SDCARD_defconfig | 9 - configs/P3041DS_SPIFLASH_defconfig | 9 - configs/P3041DS_defconfig | 9 - configs/P4080DS_SDCARD_defconfig | 9 - configs/P4080DS_SPIFLASH_defconfig | 9 - configs/P4080DS_defconfig | 9 - configs/P5040DS_NAND_defconfig | 12 -- configs/P5040DS_SDCARD_defconfig | 9 - configs/P5040DS_SPIFLASH_defconfig | 9 - configs/P5040DS_defconfig | 9 - configs/cobra5272_defconfig | 24 --- configs/gazerbeam_defconfig | 9 - configs/ids8313_defconfig | 12 -- configs/kmcoge5ne_defconfig | 12 -- configs/kmeter1_defconfig | 9 - configs/kmopti2_defconfig | 12 -- configs/kmsupx5_defconfig | 9 - configs/kmtegr1_defconfig | 9 - configs/kmtepr2_defconfig | 12 -- configs/socrates_defconfig | 12 -- configs/tuge1_defconfig | 9 - configs/tuxx1_defconfig | 12 -- drivers/ddr/fsl/Kconfig | 92 ---------- include/configs/M5272C3.h | 20 +++ include/configs/MPC8548CDS.h | 17 ++ include/configs/P2041RDB.h | 25 ++- include/configs/cobra5272.h | 30 ++++ include/configs/corenet_ds.h | 30 +++- include/configs/p1_p2_rdb_pc.h | 46 ++++- include/configs/socrates.h | 9 + scripts/config_whitelist.txt | 18 ++ 67 files changed, 498 insertions(+), 669 deletions(-) -- 2.20.1