Commit graph

35394 commits

Author SHA1 Message Date
Linux Build Service Account
1aba896bf0 Merge "qca: Fix KW variable initialization issue" 2018-03-08 10:07:16 -08:00
Linux Build Service Account
8354991a76 Merge "env_nand: Updated erase size to partition size" 2018-03-08 08:06:04 -08:00
Linux Build Service Account
6dc756d7a8 Merge "ipq40xx: Disable audio clock registers in u-boot" 2018-03-08 08:06:03 -08:00
Linux Build Service Account
ed7b3de7eb Merge "ipq40xx: Replace strcpy with strlcpy" 2018-03-08 08:06:02 -08:00
Linux Build Service Account
27f397f5d2 Merge "ipq40xx: Add properties to gmac DT nodes for link detection" 2018-03-08 08:06:00 -08:00
Linux Build Service Account
7ca102793f Merge "ipq40xx: Enabled LAN port ID handling NSS and DK Switch" 2018-03-08 08:05:59 -08:00
Pavithra Palanisamy
79fd2cc72c qca: Fix KW variable initialization issue
Change-Id: I90363e8da0f1f3cf89e0e9635707a9b2fd555770
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-03-08 06:06:26 -08:00
Gokul Sriram Palanisamy
ee2ddf9dc2 env_nand: Updated erase size to partition size
erase complete partiton size, board_env_size.

Change-Id: Ib0f7e65f49fbd29cd265f5ff12cd03424db61227
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-08 18:46:30 +05:30
Linux Build Service Account
4df6e77a24 Merge "ipq40xx: Changed the assert sequence for pcie linkup" 2018-03-08 03:10:33 -08:00
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
Rajkumar Ayyasamy
6173c50c84 ipq40xx: Changed the assert sequence for pcie linkup
Changed the assert and deassert sequence to enable the pcie
linkup for peripheral specific devices.

Change-Id: I2f93f818fe9f85ffa43fb5dff1a9cc67ae393183
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-03-07 02:32:51 -08:00
Sasirekaa Madhesu
0f64876e84 ipq40xx: Disable audio clock registers in u-boot
Change-Id: I02386fb0a56d100f2d9bc63e242e6c8ac5a8c1d2
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-07 15:32:58 +05:30
Sasirekaa Madhesu
78c2c9bea7 ipq40xx: Add properties to gmac DT nodes for link detection
Modified the existing function to create and set values for
properties which is used for link detection in LAN port
ID handling.

Change-Id: I94cf0acf17b26567498c9f9c03a91e4e69519876
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-07 12:50:42 +05:30
Sasirekaa Madhesu
2d61b1f569 ipq40xx: Enabled LAN port ID handling NSS and DK Switch
Enabled a Function that patched the dtb with ethernet and gmac values
in the edma node.

Change-Id: Iee6495ab6e5336791419c79f4d93222f85962d3e
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-07 12:34:25 +05:30
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
Sasirekaa Madhesu
b3394e6891 ipq40xx: Replace strcpy with strlcpy
Change-Id: I0b1a6d66e7fa99f62dbd1d08602026fbb128694a
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-02 16:30:40 +05:30
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