u-boot/board/freescale
Sean Anderson 6f6fbb334c ddr: fsl: Make bank_addr_bits reflect actual bits
In both the Freescale DDR controller and the SPD spec, bank address bits
are stored as the number of bank address bits minus 2. For example, if a
chip had 8 banks (3 total bank address bits), the value of
bank_addr_bits would be 1. This is rather surprising for users
configuring their memory manually, since they can't set bank_addr_bits
to the actual number of bank address bits. Rectify this.

There is at least one example of this kind of mistake already, in
board/freescale/t102xrdb/ddr.c. The documented MT40A512M8HX has two bank
address bits, but bank_addr_bits was set to 2, implying 4 bank address
bits. Such a value is reserved in BA_BITS_CS, but I suspect the
controller simply ignores the top bit, making this kind of mistake
harmless, if misleading.

Fixes: e8a7f1c32b ("powerpc/t1023rdb: Add T1023 RDB board support")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2022-09-06 09:28:46 +08:00
..
common ls1021aqds/ls1021aiot: Remove legacy non-DM_ETH code 2022-08-20 21:18:15 -04:00
imx8mm_evk board: freescale: Add entry for imx8mm_evk_fspi_defconfig 2022-07-25 15:35:35 +02:00
imx8mn_evk imx8mn: synchronise device tree with linux 2022-07-25 16:12:00 +02:00
imx8mp_evk nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
imx8mq_evk crypto/fsl: i.MX8M: Enable Job ring driver model. 2022-04-12 11:18:34 +02:00
imx8qm_mek nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
imx8qxp_mek nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
imx8ulp_evk misc: imx: S400_API: Move S400 MU and API to a common place 2022-07-26 11:29:00 +02:00
imx93_evk board: freescale: imx93_evk: support ethernet 2022-07-26 11:29:01 +02:00
imxrt1020-evk board: freescale: imxrt10..-evk: Fix missing include of serial.h 2022-04-12 21:08:23 +02:00
imxrt1050-evk board: freescale: imxrt10..-evk: Fix missing include of serial.h 2022-04-12 21:08:23 +02:00
ls1012afrdm nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1012aqds nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1012ardb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1021aiot ls1021aqds/ls1021aiot: Remove legacy non-DM_ETH code 2022-08-20 21:18:15 -04:00
ls1021aqds ls1021aqds/ls1021aiot: Remove legacy non-DM_ETH code 2022-08-20 21:18:15 -04:00
ls1021atsn nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1021atwr ls1021atwr: caam: Enable Uboot validaion in SPL. 2022-08-16 17:07:30 +08:00
ls1028a common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
ls1043aqds layerscape: Disable CONFIG_FMAN_ENET on *aqds* platforms 2022-08-20 21:18:15 -04:00
ls1043ardb ddr: fsl: Make bank_addr_bits reflect actual bits 2022-09-06 09:28:46 +08:00
ls1046afrwy nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1046aqds layerscape: Disable CONFIG_FMAN_ENET on *aqds* platforms 2022-08-20 21:18:15 -04:00
ls1046ardb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
ls1088a common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
ls2080aqds common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
ls2080ardb common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
lx2160a common: Drop display_options.h from common header 2022-08-10 13:46:55 -04:00
m5208evbe common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5235evb Convert CONFIG_NORFLASH_PS32BIT to Kconfig 2022-04-01 10:28:47 -04:00
m5249evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5253demo Convert CONFIG_FLASH_CFI_LEGACY to Kconfig 2022-08-04 16:18:47 -04:00
m5272c3 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5275evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5282evb common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
m5329evb nand.h: Cleanup linux/mtd/rawnand.h usage 2021-10-06 09:16:23 -04:00
m5373evb nand.h: Cleanup linux/mtd/rawnand.h usage 2021-10-06 09:16:23 -04:00
m53017evb WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
mpc837xerdb powerpc: Move CONFIG_SYS_DDR_SIZE to CONFIG_SYS_SDRAM_SIZE 2022-08-04 16:18:47 -04:00
mpc8548cds mpc8548cds: Guard old ethernet code with !DM_ETH 2022-08-20 21:18:15 -04:00
mx6memcal WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
mx6sabreauto arm: Disable ATAGs support 2021-09-07 16:22:30 -04:00
mx6sabresd MAINTAINERS: Use my personal e-mail address 2021-04-08 20:29:53 +02:00
mx6slevk imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx6sllevk imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx6sxsabreauto imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx6sxsabresd imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx6ul_14x14_evk common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mx6ullevk imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx7dsabresd imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx7ulp_evk imx: Don't define __ASSEMBLY__ in source files 2022-02-08 23:07:58 -05:00
mx23evk mx23evk: Add myself as maintainer 2021-03-01 10:21:36 +01:00
mx28evk mx28evk: Remove AUART/NAND/SPI variants 2022-08-20 21:18:14 -04:00
mx51evk video: Drop references to CONFIG_VIDEO et al 2022-03-28 20:17:07 +02:00
mx53loco mx53loco: Convert CONFIG_DIALOG_POWER to Kconfig 2022-04-01 10:28:47 -04:00
p1_p2_rdb_pc board: freescale: p1_p2_rdb_pc: Fix parsing inverted bits from boot input data 2022-07-29 19:49:13 +08:00
p1010rdb P1010RDB: Drop support for not-CONFIG_SYS_DDR_RAW_TIMING 2022-08-04 16:18:47 -04:00
p2041rdb ppc: Remove corenet_ds boards 2022-08-20 21:18:15 -04:00
t4rdb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
t102xrdb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
t104xrdb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
t208xqds nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
t208xrdb nxp: Make board/freescale/common/Kconfig safe to include once in arch/Kconfig 2022-07-05 17:03:02 -04:00
vf610twr imx: Finish migration of IMX_CONFIG to Kconfig 2021-08-31 17:46:37 -04:00