
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(-)