[PATCH 00/10] Generic powerpc fixes and NXP board cleanup
Peng Fan
peng.fan at oss.nxp.com
Wed May 6 06:35:56 CEST 2026
On Wed, Apr 29, 2026 at 02:17:14PM +0200, Michael Walle wrote:
>While working on an ancient P2041 based board, I've encountered
>several issues.
>
>cpu_init_r wasn't called anymore, but u-boot was still somehow
>working. CAAM was reading/writing on address 0 because pamu_init()
>is never called if secure boot isn't enabled.
>
>Since legacy ethernet was removed, board_eth_init() and
>fdt_fixup_board_enet() won't be called anymore, but the functions
>are still defined. I've just removed the ones for the NXP boards,
>though I think the code there did something useful. But given that
>it wasn't called for two years now and nobody complained, it can't
>be that important.
>
>Lastly, because I have a p2041rdb, move that to a upstream DTS.
>Keep in mind, that the uboot dts doesn't define an UART, so any
>output was broken since the move to DM provided serial support.
>
>Michael Walle (10):
> powerpc: fix call to cpu_init_r
> caam: don't write memory at 0 on PPC
> spi: fsl_espi: fix read transactions
> boards: remove dead fman code
> boards/nxp: remove board_eth_init()
> boards/nxp: remove empty fdt_fixup_board_enet()
> p2041rdb: use the upstream device tree
> p2041rdb: support SDcard boot
> p2041rdb: update README and fix typos
> p2041rdb: remove NAND defconfig
>
> arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 +-
> arch/powerpc/dts/p2041.dtsi | 138 ----
> arch/powerpc/dts/p2041rdb-u-boot.dtsi | 19 +
> arch/powerpc/dts/p2041rdb.dts | 127 ---
> arch/powerpc/dts/p2041si-post.dtsi | 43 --
> board/nxp/ls1012afrdm/eth.c | 10 -
> board/nxp/ls1012ardb/eth.c | 12 -
> board/nxp/ls1021atsn/ls1021atsn.c | 5 -
> board/nxp/ls1021atwr/ls1021atwr.c | 5 -
> board/nxp/ls1028a/ls1028a.c | 5 -
> board/nxp/ls1043aqds/Makefile | 3 -
> board/nxp/ls1043aqds/eth.c | 501 ------------
> board/nxp/ls1043aqds/ls1043aqds.c | 4 -
> board/nxp/ls1043ardb/Makefile | 1 -
> board/nxp/ls1043ardb/eth.c | 77 --
> board/nxp/ls1046afrwy/eth.c | 57 --
> board/nxp/ls1046aqds/Makefile | 3 -
> board/nxp/ls1046aqds/eth.c | 431 -----------
> board/nxp/ls1046aqds/ls1046aqds.c | 4 -
> board/nxp/ls1046ardb/eth.c | 71 --
> board/nxp/ls2080ardb/eth_ls2080rdb.c | 19 -
> board/nxp/lx2160a/eth_lx2160aqds.c | 18 -
> board/nxp/lx2160a/eth_lx2160ardb.c | 17 -
> board/nxp/lx2160a/eth_lx2162aqds.c | 18 -
> board/nxp/m5253demo/m5253demo.c | 7 -
> board/nxp/mx6sxsabreauto/mx6sxsabreauto.c | 52 --
> board/nxp/mx6sxsabresd/mx6sxsabresd.c | 78 --
> board/nxp/p2041rdb/Makefile | 1 -
> board/nxp/p2041rdb/README | 34 +-
> board/nxp/p2041rdb/eth.c | 210 -----
> board/nxp/p2041rdb/p2041rdb_rcw_sd.cfg | 11 +
> ...{rcw_p2041rdb.cfg => p2041rdb_rcw_spi.cfg} | 0
> board/nxp/t102xrdb/Makefile | 1 -
> board/nxp/t102xrdb/eth_t102xrdb.c | 149 ----
> board/nxp/t102xrdb/t102xrdb.c | 1 -
> board/nxp/t102xrdb/t102xrdb.h | 1 -
> board/nxp/t104xrdb/Makefile | 1 -
> board/nxp/t104xrdb/eth.c | 91 ---
> board/nxp/t104xrdb/t104xrdb.h | 1 -
> board/nxp/t208xqds/Makefile | 2 +-
> board/nxp/t208xqds/eth_t208xqds.c | 723 ------------------
> board/nxp/t208xrdb/eth_t208xrdb.c | 5 -
> board/nxp/t208xrdb/t208xrdb.c | 1 -
> board/nxp/t208xrdb/t208xrdb.h | 1 -
> board/nxp/t4rdb/Makefile | 1 -
> board/nxp/t4rdb/eth.c | 152 ----
> board/nxp/t4rdb/t4240rdb.c | 1 -
> board/nxp/t4rdb/t4rdb.h | 1 -
> common/board_r.c | 2 +-
> configs/P2041RDB_NAND_defconfig | 117 ---
> configs/P2041RDB_SDCARD_defconfig | 3 +-
> configs/P2041RDB_SPIFLASH_defconfig | 6 +-
> configs/P2041RDB_defconfig | 4 +-
> drivers/spi/fsl_espi.c | 6 +-
> include/configs/P2041RDB.h | 2 +
> 55 files changed, 61 insertions(+), 3196 deletions(-)
> delete mode 100644 arch/powerpc/dts/p2041.dtsi
> create mode 100644 arch/powerpc/dts/p2041rdb-u-boot.dtsi
> delete mode 100644 arch/powerpc/dts/p2041rdb.dts
> delete mode 100644 arch/powerpc/dts/p2041si-post.dtsi
> delete mode 100644 board/nxp/ls1043aqds/eth.c
> delete mode 100644 board/nxp/ls1043ardb/eth.c
> delete mode 100644 board/nxp/ls1046aqds/eth.c
> delete mode 100644 board/nxp/p2041rdb/eth.c
> create mode 100644 board/nxp/p2041rdb/p2041rdb_rcw_sd.cfg
> rename board/nxp/p2041rdb/{rcw_p2041rdb.cfg => p2041rdb_rcw_spi.cfg} (100%)
> delete mode 100644 board/nxp/t102xrdb/eth_t102xrdb.c
> delete mode 100644 board/nxp/t104xrdb/eth.c
> delete mode 100644 board/nxp/t208xqds/eth_t208xqds.c
> delete mode 100644 board/nxp/t4rdb/eth.c
> delete mode 100644 configs/P2041RDB_NAND_defconfig
+make[3]: *** No rule to make target 'arch/powerpc/dts/p2041rdb.dtb', needed by 'dtbs'. Stop.
+make[2]: *** [dts/Makefile:64: arch-dtbs] Error 2
+make[1]: *** [Makefile:1427: dts/dt.dtb] Error 2
+make: *** [Makefile:189: __sub-make] Error 2
+powerpc-linux-ld: board/nxp/t208xqds/t208xqds.o: in function `ft_board_setup':
+board/nxp/t208xqds/t208xqds.c:422:(.text.ft_board_setup+0x68): undefined reference to `fdt_fixup_board_enet'
+make[1]: *** [Makefile:2109: u-boot] Error 1
Regards
Peng
>
>--
>2.47.3
>
>
More information about the U-Boot
mailing list