05 Mar, 2021
1 commit
-
The GICv3 RM requires "The first 1KB of memory for the LPI Pending tables
must contain only zeros on initial allocation, and this must be visible
to the Redistributors, or else the effect is UNPREDICTABLE".And as the following statement, we here clear the whole Pending tables
instead of the first 1KB.
"An LPI Pending table that contains only zeros, including in the first 1KB,
indicates that there are no pending LPIs.
The first 1KB of the LPI Pending table is IMPLEMENTATION DEFINED. However,
if the first 1KB of the LPI Pending table and the rest of the table contain
only zeros, this must indicate that there are no pending LPIs."And there isn't any pending LPI under U-Boot, so it's unnecessary to
loading the contents of the Pending table during the enablement, then set
the GICR_PENDBASER.PTZ flag.Signed-off-by: Hou Zhiqiang
Tested-by: Vladimir Oltean
05 Feb, 2021
8 commits
-
Enable GIC_V3_ITS config to initialize the GIC redistributor
tables.Signed-off-by: Hou Zhiqiang
-
Enable GIC_V3_ITS config to initialize the GIC redistributor
tables.Signed-off-by: Hou Zhiqiang
-
Enable GIC_V3_ITS config to initialize the GIC redistributor
tables.Signed-off-by: Hou Zhiqiang
-
Move GIC redistributor tables initialization to CPU setup function.
This patch introduces a GIC redistributor tables init function, and
moves the function of reserving memory for GIC redistributor tables
to soc.c and adds a argument for the memory size to reserve, BTW
rename the function so that it is more readable.Signed-off-by: Hou Zhiqiang
-
The GIC redistributor tables initialization depends on RESV_RAM config,
so select RESV_RAM if GIC_V3_ITS is enabled.Signed-off-by: Hou Zhiqiang
-
As the lower 16bit of the redistributor pending table is reserved
for describing the memory attributes, we must give a 64KB aligned
address to the GIC LPI initialization function.Signed-off-by: Hou Zhiqiang
-
Program the GIC redistributor tables only when succeeded to reserve memory
for them, otherwise kernel will lose the chance to program them using
allocated memory.Signed-off-by: Hou Zhiqiang
-
The initialization of gd->arch.resv_ram pointer should depend on if the
RESV_RAM config is enabled.Signed-off-by: Hou Zhiqiang
28 Jan, 2021
1 commit
-
Includes DT definition for the following serdes protocols using various
PHY cards: 85xx, 13xx, 65xx, 9999, 7777.Note that the default device tree for QDS now uses 85xx.
Enabling any of the others requires patching the fsl-ls1028a-qds.dtsi
file (the includes at the bottom of the file).Signed-off-by: Alex Marginean
Signed-off-by: Vladimir Oltean
27 Jan, 2021
2 commits
-
We have encountered circumstances when a board design does not include
pull-up resistors on the external MDIO buses which are not used. This
leads to the MDIO data line not being pulled-up, thus the MDIO controller
will always see the line as busy.Without a timeout in the MDIO bus driver, the execution is stuck in an
infinite loop when any access is initiated on that external bus.Add a timeout in the driver so that we are protected in this
circumstance. This is similar to what is being done in the Linux
xgmac_mdio driver.Signed-off-by: Ioana Ciornei
-
Multiple LX2(LX2160A/LX2162A SoC) personality variants
exists based on CAN-FD and security bit in SVR.Currenly SVR_SOC_VER mask only security bit.
Update SVR_SOC_VER to mask CAN_FD and security bit
for LX2 products.Signed-off-by: Wasim Khan
13 Jan, 2021
3 commits
-
When A-050382 errata is enabled, ECAM and EDMA have
conflicting stream id 40. This patch fixes the same.Signed-off-by: Nipun Gupta
-
Add COMMON_ENV(kernel_addr_r, fdt_addr_r and so on)
to fix a bug that faild to boot to ubuntu, failed
log as follows,
## Executing script at 80000000
load - load binary file from a filesystemUsage:
load [ [ [ [bytes [pos]]]]]
- Load binary file filename from partition part on device
type interface instance dev to address addr in memory.
bytes gives the size to load in bytes.
If bytes is 0 or omitted, the file is read until the end.
pos gives the file byte position to start reading from.
If pos is 0 or omitted, the file is read from the start.
...
Bad Linux ARM64 Image magic!
SCRIPT FAILED: continuing...Signed-off-by: Biwen Li
-
Program GIC LPI configuration table:
1. Redistributor PROCBASER configuration table (which is common for all
redistributors)2. Redistributor pending table (PENDBASER), for all the available
redistributors.3.Reserve DDR memory region used for GIC LPI configuration table.
Signed-off-by: Nikhil Gupta
10 Dec, 2020
2 commits
-
timeout should be in "millisecond" instead of second,
so divided it by 1000 when calculate the load value.Signed-off-by: Zhao Qiang
-
drivers/usb/host/xhci-ring.c: In function 'xhci_bulk_tx':
drivers/usb/host/xhci-ring.c:726:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
726 | if ((void *)le64_to_cpu(event->trans_event.buffer) != last_transfer_trb_addr) {
| ^Signed-off-by: Ran Wang
19 Nov, 2020
2 commits
-
This reverts commit db5e48bab9ef90b05da8c4ad396a9a959506b2fe.
The changes needs rework to work on i.mx devices
LFU-40Signed-off-by: Priyanka Jain
-
This reverts commit ef959d695523c391a68093550a3bfb8714ab7ac9.
The changes needs rework to work on i.mx devices
LFU-40Signed-off-by: Priyanka Jain
09 Nov, 2020
6 commits
-
Add prarantheses to fix build warning as follows,
if (!strict_strtoul(argv[1], 10, &override))
^~
board/freescale/common/vid.c:976:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the if
if (ret < 0)Signed-off-by: Biwen Li
-
Read PFE ESBC header flash with spi_flash_read API
- logs as follows,
Net: SF: Detected s25fs512s with page size 256 Bytes, erase size 256
KiB, total 64 MiB
"Synchronous Abort" handler, esr 0x96000210
elr: 000000008206db44 lr : 0000000082004ea0 (reloc)
elr: 00000000b7ba6b44 lr : 00000000b7b3dea0
x0 : 00000000b79407e8 x1 : 0000000040640000
x2 : 0000000000000050 x3 : 0000000000000000
x4 : 000000000000000a x5 : 0000000000000050
x6 : 0000000000000366 x7 : 00000000b7942308
x8 : 00000000b76407c0 x9 : 0000000000000008
x10: 0000000000000044 x11: 00000000b7634d1c
x12: 000000000000004f x13: 0000000000000044
x14: 00000000b7634d98 x15: 00000000b76407c0
x16: 0000000000000000 x17: 0000000000000000
x18: 00000000b7636dd8 x19: 0000000000000000
x20: 00000000b79407d0 x21: 00000000b79407e8
x22: 0000000040640000 x23: 00000000b7634e58
x24: 0000000000000000 x25: 0000000003800000
x26: 00000000b7bdd000 x27: 0000000000000000
x28: 0000000000000000 x29: 00000000b7634d10Code: d2800003 eb03005f 54000101 d65f03c0 (f8636826)
Resetting CPU ...Signed-off-by: Biwen Li
-
Update kernel_size_sd variable with correct value for lx2160a.
Signed-off-by: Manish Tomar
-
Update kernelheader_addr and kernelheader_addr variables with correct values
for ls1043a.Signed-off-by: Manish Tomar
-
Make sure are RGMII internal delay modes are covered.
Signed-off-by: Madalin Bucur
-
Signed-off-by: Madalin Bucur
05 Nov, 2020
3 commits
-
Update address length argument
Signed-off-by: Biwen Li
-
Starting with commit 7d9701db4089 ("cmd: mdio/mii: add Kconfig help and
allow break dependency"), CMD_MDIO depends on the PHYLIB Kconfig which
should be enabled properly from the Kconfig and not through any define
from a header file.Move all LS1088AQDS configs to enable PHYLIB and related through
Kconfig options. Also, remove the defines from the header file so that
we do not redefine the same symbol.Signed-off-by: Ioana Ciornei
-
Starting with commit 7d9701db4089 ("cmd: mdio/mii: add Kconfig help and
allow break dependency"), CMD_MDIO depends on the PHYLIB Kconfig which
should be enabled properly from the Kconfig and not through any define
from a header file.Move all LS1088ARDB configs to enable PHYLIB and related through
Kconfig options. Also, remove the defines from the header file so that
we do not redefine the same symbol.Signed-off-by: Ioana Ciornei
03 Nov, 2020
3 commits
-
Check for NULL return value from fdt_getprop() in fdt_fixup_remove_jr()
Signed-off-by: Priyanka Singh
-
Add check for return value of adjust_vdd()
Signed-off-by: Priyanka Singh
-
The sdhc peripheral clock support for lx2162aqds was missed.
Fixes: 1f9ecf088930 ("armv8: lx2162a: Add Soc changes to support LX2162A")
Signed-off-by: Yangbo Lu
29 Oct, 2020
9 commits
-
This adds default environment variable for ls1012aqds
Signed-off-by: Biwen Li
-
Add support of distro boot for ls1046aqds
Signed-off-by: Biwen Li
-
Drop useless environment variable installer and qspi_bootcmd
for ls1012afrwy.
Only 2 MB nor flash in ls1012afrwy. So cannot get kernel(30 MB) from
the nor flash, then drop it.Signed-off-by: Biwen Li
-
Initialize variable 'i2caddress' in adjust_vdd() to zero
Signed-off-by: Priyanka Singh
-
Enable writes to all commands for LTC3882
Signed-off-by: Biwen Li
-
Enable CONFIG_MPC8XXX_GPIO for SoC LX2160A
Signed-off-by: Biwen Li
-
Enable CONFIG_MPC8XXX_GPIO for LS208xA
Signed-off-by: Biwen Li
-
Enable CONFIG_MPC8XXX_GPIO for LS1088A
Signed-off-by: Biwen Li
-
Enable CONFIG_MPC8XXX_GPIO for SoC LS1028A
Signed-off-by: Biwen Li