Merge tag 'fsl-qoriq-2022-10-18' of https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriq
Layerscape update - support sysreset, - de-select FSL_IFC when booting from SD - disable unused parts of ICID tables - reduce ns_dev size for csu - enable dma snooping for ls104x - nand driver fixups for ls1043ardb rev 7.0 boards.
This commit is contained in:
@@ -12,11 +12,15 @@
|
||||
#include <asm/armv8/sec_firmware.h>
|
||||
|
||||
struct icid_id_table {
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
const char *compat;
|
||||
u32 id;
|
||||
u32 reg;
|
||||
phys_addr_t compat_addr;
|
||||
#endif
|
||||
phys_addr_t reg_addr;
|
||||
u32 reg;
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
u32 id;
|
||||
#endif
|
||||
bool le;
|
||||
};
|
||||
|
||||
@@ -31,6 +35,13 @@ int fdt_set_iommu_prop(void *blob, int off, int smmu_ph, u32 *ids, int num_ids);
|
||||
void set_icids(void);
|
||||
void fdt_fixup_icid(void *blob);
|
||||
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#define SET_ICID_ENTRY(name, idA, regA, addr, compataddr, _le) \
|
||||
{ .reg = regA, \
|
||||
.reg_addr = addr, \
|
||||
.le = _le \
|
||||
}
|
||||
#else
|
||||
#define SET_ICID_ENTRY(name, idA, regA, addr, compataddr, _le) \
|
||||
{ .compat = name, \
|
||||
.id = idA, \
|
||||
@@ -39,6 +50,7 @@ void fdt_fixup_icid(void *blob);
|
||||
.reg_addr = addr, \
|
||||
.le = _le \
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYS_FSL_SEC_LE
|
||||
#define SEC_IS_LE true
|
||||
|
||||
@@ -383,6 +383,7 @@ struct ccsr_gur {
|
||||
#define SCFG_SNPCNFGCR_SATAWRSNP 0x00400000
|
||||
#define SCFG_SNPCNFGCR_USB1RDSNP 0x00200000
|
||||
#define SCFG_SNPCNFGCR_USB1WRSNP 0x00100000
|
||||
#define SCFG_SNPCNFGCR_EDMASNP 0x00020000
|
||||
#define SCFG_SNPCNFGCR_USB2RDSNP 0x00008000
|
||||
#define SCFG_SNPCNFGCR_USB2WRSNP 0x00010000
|
||||
#define SCFG_SNPCNFGCR_USB3RDSNP 0x00002000
|
||||
|
||||
Reference in New Issue
Block a user