imx: imx8ulp: Configure XRDC PDAC and MSC for DBD owner=S400 only
authorYe Li <ye.li@nxp.com>
Tue, 31 Jan 2023 08:42:24 +0000 (16:42 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 29 Mar 2023 18:15:42 +0000 (20:15 +0200)
commitcf35290258e7c4f3893fa3a49120f2051209cfbb
treea875b48475826e692d4c5860f1462c5dcc9c4aa3
parent13a95dc81b805b7e8a0dae79bd84af4466b60667
imx: imx8ulp: Configure XRDC PDAC and MSC for DBD owner=S400 only

This patch is used to support DBD owner fuse changed to S400 only.
The XRDC PDAC2 for LPAV pbridge5 and MSC1/2/3 for GPIO and LPAV are not
configured by S400 default setting.  So these PDAC and MSC are invalid,
only DBD owner can access the corresponding resources.

We have to configure necessary PDAC and MSC for SPL before DDR
initialization.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx8ulp/rdc.h
arch/arm/mach-imx/imx8ulp/rdc.c
board/freescale/imx8ulp_evk/spl.c