Commit graph

35332 commits

Author SHA1 Message Date
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
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
Linux Build Service Account
e7718e6193 Merge "SF: Bulk Erase command support for spansion" 2018-02-23 11:55:58 -08:00
Avinash Pandey
5432bb2a0b Sysupgrade: Add signature certificate size check as warning.
For ipq807x, signature certificate size is dynamic and it is not fixed.
Hence we will treat signature certificate size check as warning. 

Change-Id: I6528212aaf9297217b19cb34311fc96500a7f38f
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
2018-02-23 19:52:13 +05:30
Gokul Sriram Palanisamy
2f6db324fb runmulticore: Added cache flush before enabling
Change-Id: I1b1470cdd6fc04700112f0f54e087f548baee29f
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-02-23 16:51:30 +05:30
Gokul Sriram Palanisamy
80cea89e0e Revert "dcache: Invalidated dcache before enabling"
This reverts commit a3ee77558d.
2018-02-23 16:51:15 +05:30
Antony Arun T
4ca40fa90d SF: Bulk Erase command support for spansion
Change-Id: Ida70d167cafc6af823f31c660d108cc25be6edff
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-02-23 13:10:34 +05:30
Avinash Pandey
7eeddceddf Sysupgrade: Fixing kw issues in string functions.
This change replaces banned function namely, strncat and 
strncpy to strlcat and strlcpy respectively.

Change-Id: Ic02f59b29d1e58a937670f5e53dd1199cb55e53e
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
2018-02-22 22:39:07 -08:00
Linux Build Service Account
d8c656785c Merge "ipq807x: Adding ESS node in Uboot DT for HK07" 2018-02-22 08:00:13 -08:00
Linux Build Service Account
dcf42096fc Merge "ipq806x: Added ar8033_gpio entry in AP160.2 board" 2018-02-22 08:00:12 -08:00
Linux Build Service Account
48304f7987 Merge "ipq806x: gmac: Fixed buffer overflow while reading ART" 2018-02-22 08:00:11 -08:00
Nikhil Prakash V
b4440573a6 ipq807x: Adding ESS node in Uboot DT for HK07
Support for ESS switch node in uboot device tree
for HK07.

Change-Id: I4f5e53a713cc8c257bbc5694c434a28625720062
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-02-22 19:16:30 +05:30
Balaji Jagadeesan
23dfc73b5b ipq40xx: nand: Initialize nand flash device before flashing
The DK01 board will be bricked if a nand image is flashed onto it.
Because it supports only nor and nor_plus_nand flash types.
So, this patch detects the nand flash before flashing.

Change-Id: I0e0ce2f4d72bcd6724847729170562068a00394d
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-02-22 15:47:51 +05:30
Antony Arun T
b79f60774c ipq806x: gmac: Fixed buffer overflow while reading ART
Buffer overflow was happening during read from ART
partition. MMC reading API uses block count so this
patch allocates required size temp buffer and copies
the ethernet MAC address data from this temp buffer.

Change-Id: If9ad01f20651b1b6f48128abc8828f303cde003b
2018-02-22 12:14:45 +05:30
Gokul Sriram Palanisamy
6cca4bdfa9 ARM: qca: Removed unused file hk_pack.py
Change-Id: I9a3df73a8a9523cc815f51c0a87052e34f0b593e
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-02-22 11:03:18 +05:30
Linux Build Service Account
1fbb054c7e Merge "ipq:Increase bootp timeout to support dhcp during stress" 2018-02-21 10:37:26 -08:00
Linux Build Service Account
2c3843028a Merge "ipq40xx: Add ethernet support for DK07-C3 board." 2018-02-21 06:01:13 -08:00
Linux Build Service Account
dff8f7d0dd Merge "ipq807x: Device tree support in u-boot for HK07" 2018-02-21 06:01:12 -08:00
Rajkumar Ayyasamy
dd9a2df071 ipq806x: Added ar8033_gpio entry in AP160.2 board
Change-Id: I537a9cdbe25b4c357cc5d6e8ae55b98a6d732162
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-02-20 21:17:57 -08:00
Linux Build Service Account
0c2dda72a5 Merge "ipq807x: Enabled dcache" 2018-02-20 08:31:03 -08:00
Pavithra Palanisamy
7427356e03 ipq:Increase bootp timeout to support dhcp during stress
Change-Id: I7df8387a096a417e6850694e2107f9260b7afe58
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-02-20 19:03:28 +05:30
Linux Build Service Account
9e50bbd593 Merge "ipq806x: Customized environment size handling" 2018-02-20 02:38:09 -08:00
Linux Build Service Account
276a30716d Merge "driver: usb:Increase timeout for XHCI events by 1000ms" 2018-02-20 00:28:00 -08:00
Nikhil Prakash V
fc67dc00a8 ipq807x: Device tree support in u-boot for HK07
Adding device tree support for HK07 in u-boot-2016.

Change-Id: Ib1ea4ffe1df241d2c2cbd3fac4fff3f157eae077
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2018-02-20 13:25:49 +05:30
Gokul Sriram Palanisamy
bfabe17cdf ipq807x: Enabled dcache
Change-Id: I6b574801e56ae3c5b6ceccb20981813160ca699e
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-02-20 11:23:34 +05:30
Gokul Sriram Palanisamy
a3ee77558d dcache: Invalidated dcache before enabling
Change-Id: Ic4756624e077111243c2c1c9b3124a2e9f90c91a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-02-20 11:21:40 +05:30
Linux Build Service Account
4f4928b94d Merge "ipq40xx: Added support for spansion SPI NOR" 2018-02-19 06:04:03 -08:00
Linux Build Service Account
b7435142c8 Merge "ipq40xx: Add DK01-C3 config support for Standard profile" 2018-02-19 06:04:02 -08:00
Linux Build Service Account
2a332b2c0c Merge " ipq807x: fixed secure pshold API name" 2018-02-19 06:03:59 -08:00
Santan Kumar
55a83d0640 driver: usb:Increase timeout for XHCI events by 1000ms
Change-Id: Icfa9994db2445d6a365b309fb009de1832de3755
Signed-off-by: Santan Kumar <santank@codeaurora.org>
2018-02-19 17:55:15 +05:30
Linux Build Service Account
11b1596619 Merge "qca: cache: Enabled dcache on board initialization" 2018-02-19 03:08:13 -08:00
Antony Arun T
1279dad923 ipq806x: Customized environment size handling
To save space in NOR flash, environment loading from flash is
handled differently for NOR and NAND. The size for NOR flash
environment is taken from partition size itself.

Change-Id: I588471b679fad0e96b836d43dc1a0136c5400fc1
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-02-19 16:11:21 +05:30
Saravanan Jaganathan
5fd15748ea ipq807x: fixed secure pshold API name
Change-Id: I448a1341bec82b1a35d671eb12b2ba94f29cdc1d
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2018-02-19 00:03:17 -08:00
Sasirekaa Madhesu
612713b37f ipq40xx: Add ethernet support for DK07-C3 board.
This patch enables ethernet initialization in
DK07-C3 board.

Change-Id: I70bf4dd2917b0fc02f937b236e68ebcb6b1c423c
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-19 12:02:27 +05:30
Gokul Sriram Palanisamy
19a90604e9 qca: cache: Enabled dcache on board initialization
dcache is enabled only during boot from flash.
During JTAG recovery, dcache_enable is skipped
to avoid cache issues in recovery environment.

Change-Id: Ie3003f67c787cbc6b88dc42017aeb2a9508d2ff9
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-02-18 22:15:40 -08:00
Gokul Sriram Palanisamy
4a788032d8 ipq807x: dcache support for mmc driver
This patch makes mmc driver dcache aware to keep
the mmc functionality intact, with or without dcache
is enabled.

flush_cache used here does both clean and invalidate
cache thus preventing data loss during unaligned access,
if any.

Change-Id: I0910bd17678d3855bba27e9f8f7c08606774b28d
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-02-18 22:15:34 -08:00
Gokul Sriram Palanisamy
a9998014f9 ipq807x: dcache support for spi nor driver
Change-Id: Ic1c9319655dd937ce3345228a749bd08fccb572f
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-02-18 22:15:30 -08:00
Gokul Sriram Palanisamy
a0ff1642d4 ipq807x: dcache support for nand driver
This patch adds the support on nand driver to work
when dcache is on.
flush_dcache_range will do both clean and invalidate.
To avoid any data loss when an un-aligned buffer used
in RX path, before giving buffer to bam and after bam
updates the data in buffer, buffer will be flushed.

Change-Id: Ib38d68726efe1692ae94c2be1af61cf29d1c2e50
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-02-18 22:15:23 -08:00
Sham Muthayyan
7d7aa70559 ipq807x: Add Cache support for ethernet
Change-Id: I58bf5e992175e73635f35b2b4bcbb44b501bd799
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-02-19 11:19:09 +05:30
Linux Build Service Account
e703375fa3 Merge "qca: Disabling dcache before scheduling secondary cores" 2018-02-17 14:00:39 -08:00
Linux Build Service Account
0f5b9a078e Merge "sf: params: Add MX25U12835F part support" 2018-02-17 03:54:30 -08:00