Commit graph

35421 commits

Author SHA1 Message Date
Sasirekaa Madhesu
9400a07874 ipq40xx: spi: Add support for 4Gb Toshiba-TC58CVG2S0F SPI NAND flash
Change-Id: I6c7427fec4bd486c572547a844f22d941f777bf5
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-19 16:21:32 +05:30
Linux Build Service Account
7bb2910d6a Merge "ipq806x: fixed the fdt_path_offset return value check" 2018-03-15 09:00:22 -07:00
Rajkumar Ayyasamy
cddf515afc ipq806x: fixed the fdt_path_offset return value check
fdt_path_offset function will return zero or positive
value for success case.So fixed the return value check
accordingly.

Change-Id: Iafacdaf7c12cecdb882f3795f6145730efe938a6
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-03-15 11:35:24 +05:30
Linux Build Service Account
103305720e Merge "ipq807x: spi: Enable 4K sector size support" 2018-03-14 07:02:10 -07:00
Linux Build Service Account
ddcfcc21c1 Merge "Revert "ipq806x: gmac: Fixed buffer overflow while reading ART"" 2018-03-13 10:29:45 -07:00
Pavithra Palanisamy
51bcbfd276 ipq807x: spi: Enable 4K sector size support
Change-Id: I82f04a93b889b59bb076a947334db816426c1cf1
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-03-13 20:03:58 +05:30
Linux Build Service Account
e54ef4546f Merge "ipq40xx: Disable audio clock registers in u-boot" 2018-03-13 06:41:36 -07:00
Linux Build Service Account
531a6157f6 Merge "ipq40xx: Support for SPI NOR not listed in vendor ID table" 2018-03-13 06:41:35 -07:00
Gokul Sriram Palanisamy
75aa767949 Revert "ipq806x: gmac: Fixed buffer overflow while reading ART"
This reverts commit b79f60774c.

Change-Id: I0a7e5e9cfd3881285bc45034b2e38a4be8d415c2
2018-03-13 18:36:59 +05:30
Balaji Jagadeesan
6086a41473 ipq40xx: Support for SPI NOR not listed in vendor ID table
Do generic flash structure initialization, for the devices
not listed in the SPI NOR flash lookup table, so that
we can access the flash even before the support is added.
Block size and density are obtained from smem.

Change-Id: I568eb538615bb36124c43a2509bcfce2e4a1188a
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-03-13 11:49:29 +05:30
Gokul Sriram Palanisamy
f355dbceb7 ess: Set MAC mode to PSGMII
Change-Id: I1013bcbcaad8e064d3c0c87f9ae7cb3d898d735a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-13 10:21:46 +05:30
Gokul Sriram Palanisamy
74624feb6a qca: Added support for AP.HK01-C3
Change-Id: If678f274b6290967f33939f0c40f1bfbff03942c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-12 20:21:35 -07:00
Linux Build Service Account
6ef13d4878 Merge "Revert "qca: Disabling dcache before scheduling secondary cores"" 2018-03-12 10:49:59 -07:00
Linux Build Service Account
5d37330644 Merge "ARM: qca: mmc protection based on gpt attribute" 2018-03-12 10:49:57 -07:00
Gokul Sriram Palanisamy
4bc21f9796 Revert "qca: Disabling dcache before scheduling secondary cores"
This reverts commit 9b5374d10a.
2018-03-12 19:48:03 +05:30
Gokul Sriram Palanisamy
58a2a17f7b Revert "runmulticore: Added cache flush before enabling"
This reverts commit 2f6db324fb.
2018-03-12 19:47:41 +05:30
Gokul Sriram Palanisamy
37a47837a4 Revert "qca: cache: Enabled dcache on board initialization"
This reverts commit 19a90604e9.

Change-Id: I7f8056f24854e9df9338384ee73e516517bb8175
2018-03-12 19:43:16 +05:30
Linux Build Service Account
5f7df006ff Merge "ipq806x: spi: Avoid reading cs_gpio from dts everytime" 2018-03-12 06:30:49 -07:00
Gokul Sriram Palanisamy
735b05f59c ARM: qca: mmc protection based on gpt attribute
If readonly bit of gpt attribute is set,
power-on write protection will be enabled.

Change-Id: I7dd9250fd592988626e889f92f07c6839585eb7d
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-12 05:26:08 -07:00
Gokul Sriram Palanisamy
201def52b9 ARM: mmc: Added power-on write protection support
Change-Id: Iba7e4bfcbee3f5106ef7d0ecc64e8af175732f7c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-12 05:25:56 -07:00
Sasirekaa Madhesu
b5be3aacce ipq40xx: Disable audio clock registers in u-boot
Change-Id: I83f208324c00b775ef518b69494317f2b44a4aba
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-12 17:10:42 +05:30
Gokul Sriram Palanisamy
c0270eedf1 Revert "ipq40xx: Disable audio clock registers in u-boot"
This reverts commit 0f64876e84.

Change-Id: I7439b0e1b240a5ef885a69539d08dcbaabd9d45c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-09 17:51:31 +05:30
Linux Build Service Account
bd0e779085 Merge "ipq40xx: kw fix: Avoid Null pointer dereferencing" 2018-03-09 01:48:35 -08:00
Antony Arun T
14e100632e ipq806x: spi: Avoid reading cs_gpio from dts everytime
This patch will improve the spi flash read/write
performance.

Change-Id: I3939d202bf504a3386a4ae44644c715ec17f01ab
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-03-09 13:05:37 +05:30
Linux Build Service Account
979de81692 Merge "ipq40xx: mmc: Enabled SDHCI ADMA support" 2018-03-08 23:11:23 -08:00
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
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
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
Sasirekaa Madhesu
bdd1bd46d6 ipq40xx: kw fix: Avoid Null pointer dereferencing
Pointer 's' returned from call to function 'getenv' may be
NULL and will be dereferenced.

Change-Id: Ia6800c2eb36029e8db5a0869c0969e9c90ab0ab7
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-07 17:54:45 +05:30
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