Merge changes from topic "bug-fix" into integration

* changes:
  fix(nxp-crypto): refine code to avoid hang issue for some of toolchain
  build(changelog): add new scope for nxp crypto
  fix(lx2): drop erratum A-009810
This commit is contained in:
Madhukar Pappireddy 2022-02-23 15:34:57 +01:00 committed by TrustedFirmware Code Review
commit 176717989f
4 changed files with 6 additions and 14 deletions

View file

@ -738,6 +738,9 @@ subsections:
- title: QSPI
scope: nxp-qspi
- title: NXP Crypto
scope: nxp-crypto
- title: Renesas
scope: renesas-drivers

View file

@ -60,8 +60,8 @@ void desc_add_ptr(uint32_t *desc, phys_addr_t *ptr)
#ifdef CONFIG_PHYS_64BIT
ptr_addr_t *ptr_addr = (ptr_addr_t *) last;
ptr_addr->m_halves.high = PHYS_ADDR_HI(ptr);
ptr_addr->m_halves.low = PHYS_ADDR_LO(ptr);
ptr_addr->high = PHYS_ADDR_HI(ptr);
ptr_addr->low = PHYS_ADDR_LO(ptr);
#else
*last = ptr;
#endif

View file

@ -187,9 +187,7 @@ struct jobring_regs {
((value) & JRINT_JRE)
/* Macros for manipulating JR registers */
typedef union {
uint64_t m_whole;
struct {
typedef struct {
#ifdef NXP_SEC_BE
uint32_t high;
uint32_t low;
@ -197,7 +195,6 @@ typedef union {
uint32_t low;
uint32_t high;
#endif
} m_halves;
} ptr_addr_t;
#if defined(CONFIG_PHYS_64BIT)

View file

@ -563,14 +563,6 @@ endfunc _soc_sys_reset
*/
func _soc_sys_off
/* A-009810: LPM20 entry sequence might cause
* spurious timeout reset request
* workaround: MASK RESET REQ RPTOE
*/
ldr x0, =NXP_RESET_ADDR
ldr w1, =RSTRQMR_RPTOE_MASK
str w1, [x0, #RST_RSTRQMR1_OFFSET]
/* disable sec, QBman, spi and qspi */
ldr x2, =NXP_DCFG_ADDR
ldr x0, =DCFG_DEVDISR1_OFFSET