u-boot/arch/arm
Rasmus Villemoes 2f3cf91693 ARM: imx: imx8mp: fix enable_i2c_clk
In order for i2c_num==4 and 5 to stay invalid for non-imx8mp SOCs, the
i2c_ccgr[] array must be sized by the number of initializers present,
not with a hard-coded 6 which would implicitly initialize the last two
elements with zeroes.

Also, the bounds check is off-by-one.

Fixes: c92c3a4453 "ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP"
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2023-03-30 13:47:04 +02:00
..
cpu ARM: remove SPEAR entry in makefile 2023-03-06 17:03:56 -05:00
dts Revert "imx: imx8x: colibri: switch to binman" 2023-03-30 10:55:10 +02:00
include net: fec_mxc: Add board_interface_eth_init() for i.MX8M Mini/Nano/Plus 2023-03-30 13:47:04 +02:00
lib Merge branch 'master' into next 2023-03-27 15:19:57 -04:00
mach-apple
mach-aspeed
mach-at91 global: Remove unused CONFIG defines 2023-01-20 12:27:06 -05:00
mach-bcm283x mmc: bcm2835-host: let firmware manage the clock divisor 2023-03-24 14:43:20 +00:00
mach-bcmbca
mach-bcmstb
mach-cortina
mach-davinci
mach-exynos Correct SPL use of EXYNOS7420 2023-02-09 16:32:26 -05:00
mach-highbank
mach-hpe arm: Correct cpu_reset function prototype on some platforms 2023-03-22 15:22:48 -04:00
mach-imx ARM: imx: imx8mp: fix enable_i2c_clk 2023-03-30 13:47:04 +02:00
mach-integrator
mach-ipq40xx
mach-k3 arm: mach-k3: am62: move scratch board area to HSM RAM 2023-03-22 12:51:09 -04:00
mach-keystone
mach-kirkwood arm: kirkwood: Move internal registers in arch_very_early_init() function 2023-03-24 13:11:47 +01:00
mach-lpc32xx
mach-mediatek arm: Correct cpu_reset function prototype on some platforms 2023-03-22 15:22:48 -04:00
mach-meson ARM: meson: switch AXG & GX dwc2 otg to DM 2023-01-20 16:21:31 +01:00
mach-mvebu arm: mvebu: Set common SPI flash default speed and mode 2023-03-24 08:43:42 +01:00
mach-nexell
mach-npcm
mach-octeontx
mach-octeontx2
mach-omap2 global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
mach-orion5x
mach-owl
mach-qemu
mach-rmobile ARM: rmobile: Split R-Car Gen3 into separate Kconfig from common 64bit options 2023-03-18 12:02:38 +01:00
mach-rockchip Merge branch 'master' into next 2023-03-27 15:19:57 -04:00
mach-s5pc1xx
mach-snapdragon clocks: qcs404: Add support for I2C clocks 2023-02-13 10:01:52 -05:00
mach-socfpga
mach-sti
mach-stm32
mach-stm32mp Correct SPL use of STM32MP15X_STM32IMAGE 2023-02-10 07:41:40 -05:00
mach-sunxi sunxi: eMMC: support TOC0 on boot partitions 2023-01-23 01:18:23 +00:00
mach-tegra ARM: tegra20: implement BCT patching 2023-02-23 12:55:37 -07:00
mach-u8500
mach-uniphier
mach-versal xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write 2023-03-09 13:15:00 +01:00
mach-versal-net xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write 2023-03-09 13:15:00 +01:00
mach-versatile
mach-zynq
mach-zynqmp
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk
Kconfig Merge branch 'master' into next 2023-03-27 15:19:57 -04:00
Kconfig.debug
Makefile