summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-12-29 12:23:35 -0600
committerTom Rini <trini@konsulko.com>2025-12-29 12:23:35 -0600
commit4df43f4474dca5575666efbc2303c50ddbb3c689 (patch)
tree28ea9e15953e9d55c09530d4a7e9eb83f4fd8717 /include
parent9235da9446e5e896a06e1555251d11717277a893 (diff)
parent253a96ffb66a931f72a3e8ace0fcb5ec87e0e4e5 (diff)
Merge tag 'u-boot-imx-next-20251229' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx into next
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/28866 - Swicth imx8ulp-evk to standard boot and OF_UPSTREAM. - Cleanup of the IPUv3 video driver. - Add support for the NXP FRDM-IMX91 board. - Make flash.bin target available on i.MX9. - Fix mxsfb pixel clock polarity.
Diffstat (limited to 'include')
-rw-r--r--include/configs/imx8ulp_evk.h24
-rw-r--r--include/configs/imx91_frdm.h25
-rw-r--r--include/ipu_pixfmt.h3
3 files changed, 27 insertions, 25 deletions
diff --git a/include/configs/imx8ulp_evk.h b/include/configs/imx8ulp_evk.h
index 9308f5234f4..edfd6f70815 100644
--- a/include/configs/imx8ulp_evk.h
+++ b/include/configs/imx8ulp_evk.h
@@ -21,30 +21,6 @@
#define CFG_FEC_MXC_PHYADDR 1
#endif
-#ifdef CONFIG_DISTRO_DEFAULTS
-#define BOOT_TARGET_DEVICES(func) \
- func(MMC, mmc, 0)
-
-#include <config_distro_bootcmd.h>
-#else
-#define BOOTENV
-#endif
-
-/* Initial environment variables */
-#define CFG_EXTRA_ENV_SETTINGS \
- BOOTENV \
- "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
- "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
- "image=Image\0" \
- "console=ttyLP1,115200 earlycon\0" \
- "fdt_addr_r=0x83000000\0" \
- "boot_fit=no\0" \
- "fdtfile=imx8ulp-evk.dtb\0" \
- "initrd_addr=0x83800000\0" \
- "bootm_size=0x10000000\0" \
- "mmcpart=1\0" \
- "mmcroot=/dev/mmcblk2p2 rootwait rw\0" \
-
/* Link Definitions */
#define CFG_SYS_INIT_RAM_ADDR 0x80000000
diff --git a/include/configs/imx91_frdm.h b/include/configs/imx91_frdm.h
new file mode 100644
index 00000000000..6d051ed88a5
--- /dev/null
+++ b/include/configs/imx91_frdm.h
@@ -0,0 +1,25 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2025 NXP
+ */
+
+#ifndef __IMX91_FRDM_H
+#define __IMX91_FRDM_H
+
+#include <linux/sizes.h>
+#include <linux/stringify.h>
+#include <asm/arch/imx-regs.h>
+
+#define CFG_SYS_UBOOT_BASE \
+ (QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)
+
+#define CFG_SYS_INIT_RAM_ADDR 0x80000000
+#define CFG_SYS_INIT_RAM_SIZE 0x200000
+
+#define CFG_SYS_SDRAM_BASE 0x80000000
+#define PHYS_SDRAM 0x80000000
+#define PHYS_SDRAM_SIZE SZ_2G /* 2GB DDR */
+
+#define WDOG_BASE_ADDR WDG3_BASE_ADDR
+
+#endif
diff --git a/include/ipu_pixfmt.h b/include/ipu_pixfmt.h
index 866ead0ec71..a485d713805 100644
--- a/include/ipu_pixfmt.h
+++ b/include/ipu_pixfmt.h
@@ -11,6 +11,7 @@
#ifndef __IPU_PIXFMT_H__
#define __IPU_PIXFMT_H__
+#include <dm/device.h>
#include <linux/list.h>
#include <linux/fb.h>
@@ -62,6 +63,6 @@
int ipuv3_fb_init(struct fb_videomode const *mode,
uint8_t disp,
uint32_t pixfmt);
-void ipuv3_fb_shutdown(void);
+void ipuv3_fb_shutdown(struct udevice *dev);
#endif