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
19 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
-
Enable CONFIG_MPC8XXX_GPIO for SoC LS1043A
Signed-off-by: Biwen Li
-
Enable CONFIG_MPC8XXX_GPIO for SoC LS1012A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS208xA
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1088A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1046A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1043A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1028A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1012A
Signed-off-by: Biwen Li
-
Add gpio node for SoC LS1021A
Signed-off-by: Biwen Li
-
Fix a bug as belows,
=> gpio status -a
"Synchronous Abort" handler, esr 0x96000061
elr: 0000000082047964 lr : 0000000082047960 (reloc)
elr: 00000000fbd72964 lr : 00000000fbd72960
x0 : 00000000ffffffff x1 : 000000000000000a
x2 : 0000000000000020 x3 : 0000000000000001
x4 : 0000000000000000 x5 : 0000000000000030
x6 : 0000000000000020 x7 : 0000000000000002
x8 : 00000000ffffffe0 x9 : 0000000000000008
x10: 0000000000000010 x11: 0000000000000006
x12: 000000000001869f x13: 0000000000000230
x14: 00000000fbc23e9c x15: 00000000ffffffff
...
resetingSigned-off-by: Biwen Li