Commit graph

36379 commits

Author SHA1 Message Date
Linux Build Service Account
0ee010f290 AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4733
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl7n2a0ACgkQoUgPZYCpAfGsNgCghxuFBl9FMsemEDvc7FUxxopS
 NTMAn2XTclNdb3w5h4/+ZMe3cusPbx7U
 =Vu2N
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4733 on remote branch

Change-Id: I2a7d6038f0f80f7da95add04da8f7ca9d9681e78
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-06-15 19:18:12 -06:00
Linux Build Service Account
18d24a6dcb AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4729
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl7mxjwACgkQoUgPZYCpAfF+JwCfcYfSNAD8MOWsjYIg67ePd9uc
 44YAn2aK8ICCSnv9uwMNJx9sh573m6KG
 =yYjU
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4729 on remote branch

Change-Id: I77f23c5258b6f8b9768c13217f3a624c011745dd
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-06-15 03:32:40 -06:00
Sham Muthayyan
eb5312c9d4 ipq807x: Fix SFP port for HK10
Change-Id: Idca83bd96b6cd4cdcad45d15046805d251e7ea0d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-06-15 00:40:44 -07:00
Sham Muthayyan
ab206ea9f0 ipq807x: Fix AQ port for HK14
Change-Id: I3cc1e3b3ec1e9829e99485fc2e2b3c4eaf492d26
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-06-15 00:40:26 -07:00
Linux Build Service Account
190ddf15fc Merge "fdt: ipq5018: Add support for tiny nor fixup" 2020-06-14 19:46:46 -07:00
Linux Build Service Account
86047835c9 Merge "ipq5018: Fix usb3 ssphy sequence" 2020-06-14 16:46:15 -07:00
Linux Build Service Account
c0ae28a425 Merge "ipq5018: Fix usb3 configuration" 2020-06-14 16:46:14 -07:00
Md Sadre Alam
ae38a196ca driver: nand: qpic_nand: Fix NULL pointer dereference.
This change will fix NULL pointer dereference while reading
from spi nand flash in oobbuf.

The multipage read features is only to read with ecc for
raw read/write the the access is page wise due to mtd layer
will request only one page at a time. So don't increment oobbuf
for every page while reading if already bitflips are present in spi
nand flash. if so data abort will happen due to NULL pointer
dereference.

error:
NAND read: device 0 offset 0x4480000, size 0x1000
data abort
pc : [<4a9515ec>]          lr : [<44000e18>]
reloc pc : [<4a9515ec>]    lr : [<44000e18>]
sp : 4a77f6f4  ip : bbfff3dc     fp : 4a783510
r10: 4a97bb40  r9 : 4a77feb0     r8 : 44000e0c
r7 : 4a97ca2c  r6 : 0000000f     r5 : 00000004  r4 : 00000003
r3 : ffffffff  r2 : 000001f4     r1 : 000000ff  r0 : 44000e0c
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...
resetting ...

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I435f65183b56ceef64bad7d0df7ffebe02175a66
2020-06-14 04:37:14 -07:00
Manikanta Mylavarapu
65a09cf89e ipq5018: Fix usb3 ssphy sequence
This patch will tune ssuniphy to fixed
offset instead of SSC.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: Ieca1e079275092ea49fcc1ffa9ba1dadadd2a93a
2020-06-13 01:52:30 -07:00
Manikanta Mylavarapu
5c90c31be3 ipq5018: Fix usb3 configuration
This patch will update usb3 configurtaion
based on ssphy availability.

Since usb3 ssphy shared with pcie phy,
certain configuration need to be done based
on ssphy availability.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I474a6ea269e7778738ca9464dae510bb58e8bcea
2020-06-13 01:50:58 -07:00
Linux Build Service Account
55e06ab786 Merge "common: init: Add nor env support" 2020-06-12 15:10:06 -07:00
Linux Build Service Account
6d46daaae2 Merge "ipq5018: Enable run command support" 2020-06-12 15:10:04 -07:00
Linux Build Service Account
684330a875 Merge "ipq5018: Fix dump_to_flash hang issue." 2020-06-12 15:10:03 -07:00
Vandhiadevan Karunamoorthy
23db7fb51f fdt: ipq5018: Add support for tiny nor fixup
This changes fixup the mtdparts without support of
MTD framework,This code read the partition details from env
variable and patch to kernel dts.

Change-Id: I829808620c35b57973dc0ae015131bc5019c4844
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-06-12 05:44:40 -07:00
Vandhiadevan Karunamoorthy
bc34dddbfd ipq5018: Enable run command support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I681d7bed1b9d4386121928d11f77b41d64ca5b24
2020-06-12 05:42:01 -07:00
Vandhiadevan Karunamoorthy
7d9fa0c5e4 common: init: Add nor env support
This changes enable nor enviornemnt support if its no flash with
eMMC and NAND is disabled.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1ff389ed388fb7f72543cc87e852c360a965db48
2020-06-12 04:19:11 -07:00
Vandhiadevan Karunamoorthy
94aafe7429 ipq5018: Fix dump_to_flash hang issue.
This changes update the TLV offset as per the kernel tlv crash region.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I27d79d5f2d35c4b584292410ee76d26b123d301f
2020-06-12 03:48:31 -07:00
Vandhiadevan Karunamoorthy
f1341cb713 nor: Add GD25LB128D in device table.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia14393575d035525232e91ca32ffe4e7830365c0
2020-06-11 21:28:08 -07:00
Gokul Sriram Palanisamy
c8365407da ipq807x:Add support to avoid identical device-tree
We had identical device-tree for different RDPs
though they are the same except for machid.

This change enables reuse of a single device-tree
across RDPs with same configurations.

Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: If81b431e4a6afe54e427fe0a52de275fdd29df00
2020-06-10 20:49:54 -07:00
Linux Build Service Account
7a4fd1204d Merge "ipq807x: Removed HK05 dts files from u-boot" 2020-06-08 23:57:12 -07:00
Vandhiadevan Karunamoorthy
701787232f ipq5018: Fix GMAC clock source command register.
This change fixes setting dirty bit in CMD_RCGR and configure GMAC
to run on GPLL4 clock source.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I01bb0e3af2da93f0464d41a6bd571480b1a4e581
2020-06-04 22:06:22 +05:30
Manikanta Mylavarapu
e85ae5f50d ipq5018: mp03.1: dts: Fix pci0 node
Disable pci0 node based on board features.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: Ib39106f958ba9d2512d512941f8bb3990a29b8a6
2020-06-04 22:06:22 +05:30
Manikanta Mylavarapu
caaaddfa7a ipq5018: Fix usb configuration
Update usb controller and phy
configuration for enumeration.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I9e20fe5bf4c7abe7547f383ab58bff9b8dad64e0
2020-06-04 22:06:22 +05:30
Md Sadre Alam
bcb83aa168 arm: dts: ipq5018: Modify gpio pull value for eMMC CMD line.
This change will modify PULL value for eMMC CMD line.
with this change the pull value will be GPIO_PULL_UP.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Id884ef4742dca5f2f30c699aa2ab48c0d3c7cc97
2020-06-04 22:06:22 +05:30
Md Sadre Alam
bfeb556cf7 driver: nand: qpic: Fix serial training logic.
This change will fix serial training logic and enable
config to enable default qpic_io_macro clock @ 80MHz with
default phase delay valu 4 for all qspi serial line.

This change also fix the delay issue while writing to qpic
register via bam.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I345f736fdae9d48b6da0115ca7a8519b43fe9efd
2020-06-04 22:06:22 +05:30
Vandhiadevan Karunamoorthy
ef78642323 ipq5018: Add support for Gephy
This Gephy is internal phy driver for ethernet

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia4e744c0fbd990bdc94fe93263ac2ddbe4cecf61
2020-06-04 22:06:22 +05:30
Vandhiadevan Karunamoorthy
6150247ce2 ipq5018: Add S17C support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I657699e24b732e344ed7c109ec259c9144ace342
2020-06-04 22:06:22 +05:30
Vandhiadevan Karunamoorthy
c725f1c3c4 ipq5018: Add mp03.1 dts & remove sod dts.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I89f986a0d1dfb8080f21cc7e9f60a22d87c66afc
2020-06-04 22:06:22 +05:30
Vandhiadevan Karunamoorthy
d42f5e0c52 ipq5018: Add support S17C switch support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia3877ba97bc9cbe3b853c6f72ce6e5970395b43f
2020-06-04 22:06:21 +05:30
Md Sadre Alam
cd1b381f34 arm: dts: ipq5018: Add qspi_clk gpio pin configuration.
This change adds qspi_clk gpio configuration.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Iab59a35e919bb069531851ce441880dee61c2005
2020-06-04 22:06:14 +05:30
Vandhiadevan Karunamoorthy
7ed2145eb2 arm: dts: Add mp02.1(ap & db) support for tiny nor
This changes remove emulation dts and add mp02.1 dts support in
Makefile for tiny-nor build

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I99d28415442b4079d4e67e586b794b88aba403a2
2020-06-04 08:26:54 -07:00
Linux Build Service Account
ecc7ed379c AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4658
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl7UUOQACgkQoUgPZYCpAfEaugCggA2RoO0kyHnrP+7QwlVd9hpI
 sE0AoN0skUoj8gw0Z4iUa1a9CNgPCh6b
 =hDxt
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4658 on remote branch

Change-Id: Ifcbd04964c146b589392caf4b6a7bc890bc330f9
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-06-04 06:50:57 -06:00
Linux Build Service Account
fefe339183 AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4639
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl7ODh8ACgkQoUgPZYCpAfFuTACgtHKFbH04brSHF1nFrjCHkbGR
 8/kAoNfqw0yUfDWrYECUu+qpdJFpydZk
 =+k3u
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4639 on remote branch

Change-Id: I36188f6ddab41cbd301d619ba40e527e8d5010dc
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-05-29 07:00:31 -06:00
Balaji Prakash J
f6abeda4b2 configs: ipq6018: enable PRIVATE LIBGCC
Change-Id: Ifbdc116d8ddc43bb1a280690c10aeb27a5418570
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2020-05-28 19:14:45 +05:30
Linux Build Service Account
e5f34d94a0 Merge "configs: ipq807x: enable PRIVATE LIBGCC" 2020-05-26 16:25:45 -07:00
Linux Build Service Account
c2205e8cb1 Merge "Revert "u-boot: Remove soft-float compile flag"" 2020-05-26 16:25:44 -07:00
Linux Build Service Account
89358ce633 Merge "arm: Add a 64-bit division routine to the private library" 2020-05-26 16:25:44 -07:00
Karthick Shanmugham
229d01047a ipq807x: Removed HK05 dts files from u-boot
Remove support for hk05 since it is
marked as obsolete in default setting table

Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: I972af09f912c1f613b462cf2559d8a645a0bb270
2020-05-26 20:34:30 +05:30
Balaji Prakash J
da53aec0e4 Revert "u-boot: Remove soft-float compile flag"
This reverts commit 5edb59ceb2.

Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
Change-Id: Ib544d1301ad8cd15d6ecc73318e77e04b79fec7d
2020-05-26 13:52:29 +05:30
Balaji Prakash J
5d007cf62c configs: ipq807x: enable PRIVATE LIBGCC
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
Change-Id: I1b93133658b56975a288e1e8939fde1c6786914b
2020-05-26 13:38:59 +05:30
Simon Glass
3e712e8988 arm: Add a 64-bit division routine to the private library
This is missing, with causes lldiv() to fail on boards with use the private
libgcc. Add the missing routine.

Code is available for using the CLZ instruction but it is not enabled at
present.

This comes from coreboot version 4.0.

Signed-off-by: Simon Glass <sjg@chromium.org>
(cherry picked from commit 9ab60493c9)
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>

Change-Id: Id1d604819be2a98e1cc1ea306902a86323135679
2020-05-26 13:29:19 +05:30
Balaji Prakash J
66f6a50e58 arm: ipq806x: CP15BEN need not be enabled for IPQ806x
This config need not be defined for IPQ806x. U-boot in
IPQ806x, can run without this CP15BEN setting.

Change-Id: I1b95e2a06f72dcc763a885f81b591d7d529dd446
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2020-05-22 14:29:41 +05:30
Linux Build Service Account
198022b7d7 AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4614
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAl7F0o4ACgkQoUgPZYCpAfFpIQCgmj3Y5NFMcgxPXJmFPLobt9VY
 2O0AoMLFG/VyLBa9ihWz6ZWiCYJt1/v0
 =OhJc
 -----END PGP SIGNATURE-----

Merge AU_LINUX_QSDK_DATE_4.4_TARGET_ALL.12.0.4614 on remote branch

Change-Id: I76fa414abf9c4caf107b2ede20e97c7693b6bac3
Signed-off-by: Linux Build Service Account <lnxbuild@localhost>
2020-05-21 00:14:09 -06:00
Md Sadre Alam
63d0c33622 board: qca: ipq5018: Remove GCC_SDCC1_MISC register.
This change will remove GCC_SDCC1_MISC register from
SDCC clock configuration code path. Since in ipq5018 this
register is not available. so removining this register.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I980fc0f0ce24cd0da5610300608a5dd223c33941
2020-05-19 23:21:32 +05:30
Linux Build Service Account
7778ef70b9 Merge "driver: nand: qcom_nand: Fix xPU error for qspi register write." 2020-05-18 12:06:37 -07:00
Linux Build Service Account
3f5714cc45 Merge "ipq5018: ethernet: update clock configuration" 2020-05-18 06:09:20 -07:00
Linux Build Service Account
2a79f86344 Merge "tools: pack: add option to skip 4k nand images" 2020-05-18 06:09:19 -07:00
Md Sadre Alam
0b0d196901 driver: nand: qcom_nand: Fix xPU error for qspi register write.
This change will add support to write some ops group register via
BAM to avoid xPU error.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I65ea875f783b7254f01cb3cf43eb43295caa4ed9
2020-05-18 16:32:24 +05:30
Linux Build Service Account
3fbe57d2a1 Merge "ipq5018: Fix Uart src clock calculation" 2020-05-18 01:36:34 -07:00
Vandhiadevan Karunamoorthy
2d5526ad83 ipq5018: Fix Uart src clock calculation
This changes remove double calculation of N and D values.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1c8444b5f6dbbc06a2b676477599978d6a91a681
2020-05-16 17:50:18 +05:30