Commit graph

35434 commits

Author SHA1 Message Date
Linux Build Service Account
76e2fcb6b3 Merge "ipq806x: enabled dcache support" 2018-03-21 13:01:07 -07:00
Antony Arun T
0ecdac3fea ipq806x: enabled dcache support
Change-Id: Ibfb0cfeb2e6b1919f4debc4d689426ee3ba29702
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-03-21 17:22:32 +05:30
Antony Arun T
2281952673 mmc: waiting for the card to exit from busy state
Since OCR value is changed,1ms delay is added to
give cards time to respond.

Change-Id: I18bddbc9d01ab2c62529c9f2065331f83b7ecca9
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-03-21 17:16:54 +05:30
Avinash Pandey
a14e102f05 Sysupgrade: Fixing kw issues for buffer overflow.
Kw issues occurred with below message:
 "Array 'buf'of size 256 may use index value(s) -2..0".
In order to fix this issue, error message will be
returned with array index out of index if buffer
size isless than 0 or if it increases buffer size.

Change-Id: I5a7885b0ee2fd6e9c0ac3083b28366f1ae5ceaee
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
2018-03-20 13:07:36 +05:30
Linux Build Service Account
900f4e4d7d Merge "ipq807x: Modified IMEM region size" 2018-03-19 10:08:26 -07:00
Pavithra Palanisamy
7d9d048140 ipq807x: Modified IMEM region size
This change modifies the size of IMEM region during dump
collection in secured and non-secured boots.

Change-Id: If418a353ff8fa37bdad20730f9dfcc46cddd5491
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-03-19 17:17:22 +05:30
Linux Build Service Account
861030e771 Merge "ipq806x: set 48MHz clk for mmc data transfer mode" 2018-03-19 04:35:17 -07:00
Linux Build Service Account
db129ed7bf Merge "ipq40xx: Updated the SMEM_MAX_SIZE" 2018-03-19 04:35:15 -07:00
Linux Build Service Account
fce9409c9a Merge "arm: qca: Remove redundant mmc_deinit" 2018-03-19 04:35:14 -07:00
Linux Build Service Account
a8846fcf25 Merge "ipq40xx: Changed the dumpinfo name for secure board In non-secured boards the dump save size is set to be the size of RAM buffer. Since the name field of dumpinfo was same for both secured and non-secured boards,the dump save size for secured board is also set to RAM buffer size which causes data abort during secure crashdump collection. This patch retains the actual save size of secure board." 2018-03-19 04:35:13 -07:00
Rajkumar Ayyasamy
14fe9facff ipq806x: set 48MHz clk for mmc data transfer mode
As 52Mhz clk does not have 50% dutycycle, setting
48MHz clk for mmc data transfer mode

Change-Id: Id9c0ce07fe652df7d575c5ea11f1d83eab0fb24c
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-03-19 11:47:02 +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
Sasirekaa Madhesu
d9d5ded3e5 ipq40xx: Changed the dumpinfo name for secure board
In non-secured boards the dump save size is set to 
be the size of RAM buffer. Since the name field of
dumpinfo was same for both secured and non-secured 
boards,the dump save size for secured board is also
set to RAM buffer size which causes data abort during
secure crashdump collection. This patch retains the
actual save size of secure board.

Change-Id: Ib26fc4730355a7f0cb131dee61983a15c1825f6f
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-15 12:39:30 +05:30
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
Sasirekaa Madhesu
76bb7b4e33 arm: qca: Remove redundant mmc_deinit
Since mmc_deinit is invoked in ft_board_setup, removing the 
redundant call.

Change-Id: I9ce0c6cf2f6ae197eaf77718dc6097d5a0070b76
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-13 15:33:48 +05:30
Sasirekaa Madhesu
45a818cfb1 ipq40xx: Updated the SMEM_MAX_SIZE
Change-Id: Ia0beb16135d6bd17d06b1bbbc7c440a26ee1f0e7
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-03-13 15:29:06 +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