Commit graph

35381 commits

Author SHA1 Message Date
Rajkumar Ayyasamy
0effee2f25 ipq40xx: mmc: Enabled SDHCI ADMA support
This patch enables SDHCI mode and also supports
data transfer using ADMA method.

Change-Id: Idafb0ecd6cb3ddf28e18681f8823134be99574cd
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-03-08 17:57:03 +05:30
Linux Build Service Account
f46ee781bf Merge "ipq806x: spi: Enable 4K sector size support" 2018-03-07 12:38:07 -08:00
Linux Build Service Account
81cb6f71c4 Merge "ipq40xx: spi: Enable 4K sector size support" 2018-03-07 12:38:06 -08:00
Linux Build Service Account
5521d116bc Merge "ipq: spi: Increased performance of spi erase" 2018-03-07 06:34:11 -08:00
Balaji Jagadeesan
72b7f8a6fb ipq806x: spi: Enable 4K sector size support
Change-Id: I0faecf5c7aa67854752ff51aed90114c6238428f
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-03-07 04:13:31 -08:00
Balaji Jagadeesan
3cbda7c5d5 ipq40xx: spi: Enable 4K sector size support
Change-Id: Ibb1c2a444f3d6167504f94624824f0dae0a1cb82
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-03-07 04:13:15 -08:00
Linux Build Service Account
32c5a8e4e6 Merge "qca: fix kw issues" 2018-03-07 02:44:06 -08:00
Linux Build Service Account
9c178b7ecf Merge "ipq807x: Changes for fixing kw issues" 2018-03-07 02:44:05 -08:00
Balaji Jagadeesan
a47b19fc2b ipq: spi: Increased performance of spi erase
When 4K sector size support is enabled for spi, always
4K sector erase command is passed for all the erase operations.
To increase the performance, 64K erase command is
passed to the command buffer based on length and offset.

Change-Id: Ia762d192ba5d424f0ba3538fff8aff4954050bf7
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-03-06 09:29:48 -08:00
Linux Build Service Account
318f41e4e4 Merge "ipq40xx: Fix for USB 3.0 detection" 2018-03-06 05:49:12 -08:00
Santan Kumar
94fb410d53 qca: fix kw issues
Change-Id: I25b62362e28ee64329a9a587491e69cf0e358334
Signed-off-by: Santan Kumar <santank@codeaurora.org>
2018-03-06 15:27:44 +05:30
Nikhil Prakash V
e47694ebe8 ipq807x: Changes for fixing kw issues
Adding nullpointer condition checks before the pointer
is accessed or passed to a function as argument.

Change-Id: I6848c132076708f69fad00a75e42a1c2f33b6215
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-03-06 14:06:48 +05:30
Gokul Sriram Palanisamy
a201972ba1 scm: kw: non-void function must return a value
Change-Id: I59c31f062320bb467c24aaad257462e781b2b802
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-06 11:42:26 +05:30
Linux Build Service Account
5f9bb09d0d Merge "ipq806x: Enabled DEVICE_NULLDEV" 2018-03-02 13:51:54 -08:00
Linux Build Service Account
3ed609897f Merge "ipq40xx: Enabled DEVICE_NULLDEV" 2018-03-02 13:51:53 -08:00
Linux Build Service Account
6efdb60f4b Merge "sysupgrade: Read the files whose names starts with section type" 2018-03-02 13:51:52 -08:00
Linux Build Service Account
8d658855d7 Merge "USB: xHCI: Fixed abort_td failure for usb start command" 2018-03-02 10:33:26 -08:00
Linux Build Service Account
932c29bf3c Merge "sysupgrade: Add SBL_NAND_PREAMBLE if preamble bytes exist in image" 2018-03-02 02:04:54 -08:00
Linux Build Service Account
8775f69613 Merge "sysupgrade: Add support to process SBL for ipq806x nand boot" 2018-03-02 02:04:54 -08:00
Rajkumar Ayyasamy
29c1a71b49 ipq806x: Enabled DEVICE_NULLDEV
Enabled DEVICE_NULLDEV to redirect unwanted console prints.

Change-Id: Ic6f7527ced1adb635a41c4f293f3fc06c5d4b623
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-03-02 14:32:27 +05:30
Rajkumar Ayyasamy
a94cce3a6d ipq40xx: Enabled DEVICE_NULLDEV
Enabled DEVICE_NULLDEV to redirect unwanted console prints.

Change-Id: I0248ba05b959171a534e4ecd8441e6462968813f
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-03-02 14:28:04 +05:30
Avinash Pandey
745ead5b92 sysupgrade: Read the files whose names starts with section type
Currently we are reading the .bin files who are having the type
in their image names, but this has problem when the image type
is overlapping in two file names ex. wififw_ubi.bin and ubi.bin.
To avoid this problem, we will take files whose names starts
with our image type.

Change-Id: Ib3ab64fb2bbf5c9c59b1ec644c409dee31be77a1
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
2018-03-02 12:57:59 +05:30
Pradeep Das
02f249949e USB: xHCI: Fixed abort_td failure for usb start command
With specific USB storage device, usb start command causing
system reboot. This change avoids queuing any new URB on a
halted endpoint.

The failure log is given below:

------------------------ ERROR MESSAGE ---------------------------
scanning bus 1 for devices...
WARN halted endpoint, queueing URB anyway.
Unexpected XHCI event TRB, skipping... (87244c70 00000000 13000000 01008401)
BUG: failure at drivers/usb/host/xhci-ring.c:489/abort_td()!
BUG!
------------------------------------------------------------------

Change-Id: I0735b89832416ebd4b8d80129572afec4bb950a4
Signed-off-by: Pradeep Das <pkdas@codeaurora.org>
2018-03-01 22:09:01 -08:00
Kathiravan T
6186c29910 ipq806x: Reset S17C switch during soft reboot
In case of AP148 , the S17C switch has to be additionally reset using
GPIO 63. This is done for soft reboot cases.

This change is ported based on commit e1c6cd2c07

Change-Id: I31ce8a34797ae353035a7b3fa05ad2783f78aece
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-03-01 08:14:17 -08:00
Kathiravan T
ea17792263 ipq806x: Fix the 8033 mii init
This change is ported based on commit b83c56c4d4

Change-Id: Ia4cdf26368d238ea3fcdb808f1446f010408a78c
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-03-01 08:13:41 -08:00
Linux Build Service Account
480c11c94d Merge "ipq806x: Dump CPU1 register contents as part of crash dump" 2018-03-01 06:00:53 -08:00
Linux Build Service Account
98f2ad5788 Merge "ipq40xx: Add support for Micron 1GB NAND flash" 2018-03-01 06:00:38 -08:00
Linux Build Service Account
a702837d3a Merge "ipq807x: Removing unused node from HK07 DTS." 2018-03-01 03:30:03 -08:00
Linux Build Service Account
6a11f0db3f Merge "ipq806x: Add "cpu_type" to root node of the devicetree" 2018-03-01 03:30:01 -08:00
Linux Build Service Account
f88ff6844b Merge "tools: Added ipq806x packing support" 2018-03-01 03:30:00 -08:00
Rajkumar Ayyasamy
5af0067f28 tools: Added ipq806x packing support
Change-Id: Id9becc59f3ecde2a262eaf91882c21650a6f90fa
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-03-01 11:25:59 +05:30
Antony Arun T
a3303e7b23 ipq806x: Dump CPU1 register contents as part of crash dump
Invokes TZ (via scm call) to pull Core-1 out of reset if
crash magic is set. TZ saves the register contents in the
NSS TCM, which is saved from U-Boot as CPU1_REG.BIN as part
of the crash dump saving procedure.

Change-Id: I8e1404fb354a47ae69d70d13a79f45bd4eb1c450
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-03-01 10:27:30 +05:30
Nikhil Prakash V
315d0023f3 ipq807x: Removing unused node from HK07 DTS.
Removing I2C and PCIe nodes from HK07 Uboot
DTS as these are not used.

Change-Id: I6ad642fe574b7cd1bd1369cd8baa92d6ccdcad00
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-02-28 17:55:25 +05:30
Linux Build Service Account
220d52fc46 Merge "qca: Modify pack.py script" 2018-02-28 03:32:33 -08:00
Linux Build Service Account
36268c264d Merge "ipq40xx: Enable USB device mode through dts patching" 2018-02-27 23:40:27 -08:00
Linux Build Service Account
3174e97d20 Merge "ipq40xx: Replace sprintf with snprintf" 2018-02-27 23:40:26 -08:00
Linux Build Service Account
5de0f7a7fd Merge "ipq40xx: Reduce time b/w qca8075 assert and deassert to 1ms" 2018-02-27 23:40:24 -08:00
Linux Build Service Account
eaf20104f1 Merge "ipq40xx: Enabled Ethernet initialization for DK07-C2 board" 2018-02-27 23:40:22 -08:00
Linux Build Service Account
e32fb8ece9 Merge "ipq40xx: Add maximum timeout for BAM interrupt" 2018-02-27 23:40:21 -08:00
Sasirekaa Madhesu
256f5ce7d1 ipq40xx: Fix for USB 3.0 detection
During usb start, all the hub initialization happens,
before scanning the bus for devices. In DK, bus 0 has 
2 NbrPorts and bus 1 has 1 NbrPorts. Since there are
two ports(USB0 and USB1) available, such initialization 
overwrites the NbrPorts of the hub descriptor. Hence it
fails to detect the USB 3.0.

This patch modifies the logic to scan for devices in the 
hub before initializing the next hub.

Change-Id: I1071d7c38a896864fe15d8b07bdb2a84ddcac7bf
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-28 11:37:30 +05:30
Linux Build Service Account
861e0d2938 Merge "drivers: phy: support AQR111B0 chip." 2018-02-27 11:49:29 -08:00
Linux Build Service Account
861f9900d7 Merge "tools: add snapshot of pack.py tool" 2018-02-27 09:08:38 -08:00
Liu Zhongjian
6a4904ef88 drivers: phy: support AQR111B0 chip.
Change-Id: I238e5263ff9e194f958fd6ef217c26654513216e
Signed-off-by: Liu Zhongjian <zhongjia@codeaurora.org>
2018-02-27 04:08:03 -08:00
Linux Build Service Account
9dbc4f95f1 Merge "ipq40xx: nand: Initialize nand flash device before flashing" 2018-02-27 02:16:52 -08:00
Rajkumar Ayyasamy
72d8969c0e tools: add snapshot of pack.py tool
This is a snapshot of the pack.py as of uboot-1.0
commit:

1fb1d5910acd0cf3950084b5d10b443af9803a05(ipq40xx:
Write actual file size in nand in case of NOR+NAND boot)

Change-Id: I85a3ffef3a17c0989d315777ff70c8e03114b6b7
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-02-26 22:53:12 -08:00
Nikhil Prakash V
d44c0cb818 ipq807x: Removing Aquantia PHY node from HK07 DTS.
Remove aquantia PHY specific properties from HK07 uboot DTS.

Change-Id: Id64c86a4163dd275a7c8e0dd44ebbc5f0a2e46a6
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-02-26 20:55:27 -08:00
Sham Muthayyan
469897d6d1 ipq807x: Fix malibu phy reset
Malibu phy reset doesnot happen, once the cache is enabled.
Fix the malibu phy reset sequence.

Change-Id: Iad69294fd92c9198b329e5d15d4b2e72e50fe426
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-02-26 03:03:51 -08:00
Linux Build Service Account
64b3c8f03a Merge "Sysupgrade: Add signature certificate size check as warning." 2018-02-26 00:14:45 -08:00
Linux Build Service Account
cc3d85c7ef Merge "runmulticore: Added cache flush before enabling" 2018-02-23 22:30:24 -08:00
Linux Build Service Account
6aca692685 Merge "Revert "dcache: Invalidated dcache before enabling"" 2018-02-23 22:30:23 -08:00