]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
imx8mp_evk: spl: Drop i2c_pad_info1
authorPeng Fan <peng.fan@nxp.com>
Thu, 29 Jan 2026 10:54:04 +0000 (18:54 +0800)
committerFabio Estevam <festevam@gmail.com>
Fri, 6 Feb 2026 23:29:59 +0000 (20:29 -0300)
With commit 6e6492c85def ("imx8mp_evk: Convert to DM_PMIC"),
i2c_pad_info1 is no longer needed, remove it.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/nxp/imx8mp_evk/spl.c

index 12da1b2abfbb7d1a22a2910f7f1d7ebce470bf0a..552bf689228b3f08738b912b72be4e01eb3afde2 100644 (file)
 #include <spl.h>
 #include <asm/global_data.h>
 #include <asm/arch/clock.h>
-#include <asm/arch/imx8mp_pins.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/mach-imx/boot_mode.h>
-#include <asm/mach-imx/gpio.h>
-#include <asm/mach-imx/iomux-v3.h>
-#include <asm/mach-imx/mxc_i2c.h>
 #include <asm/arch/ddr.h>
 #include <power/pmic.h>
 #include <power/pca9450.h>
@@ -51,21 +47,6 @@ void spl_board_init(void)
        puts("Normal Boot\n");
 }
 
-#define I2C_PAD_CTRL (PAD_CTL_DSE6 | PAD_CTL_HYS | PAD_CTL_PUE | PAD_CTL_PE)
-#define PC MUX_PAD_CTRL(I2C_PAD_CTRL)
-struct i2c_pads_info i2c_pad_info1 = {
-       .scl = {
-               .i2c_mode = MX8MP_PAD_I2C1_SCL__I2C1_SCL | PC,
-               .gpio_mode = MX8MP_PAD_I2C1_SCL__GPIO5_IO14 | PC,
-               .gp = IMX_GPIO_NR(5, 14),
-       },
-       .sda = {
-               .i2c_mode = MX8MP_PAD_I2C1_SDA__I2C1_SDA | PC,
-               .gpio_mode = MX8MP_PAD_I2C1_SDA__GPIO5_IO15 | PC,
-               .gp = IMX_GPIO_NR(5, 15),
-       },
-};
-
 #if CONFIG_IS_ENABLED(DM_PMIC_PCA9450)
 int power_init_board(void)
 {