Commit graph

13569 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
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
5f9bb09d0d Merge "ipq806x: Enabled DEVICE_NULLDEV" 2018-03-02 13:51: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
Linux Build Service Account
98f2ad5788 Merge "ipq40xx: Add support for Micron 1GB NAND flash" 2018-03-01 06:00:38 -08:00
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
Linux Build Service Account
0c2dda72a5 Merge "ipq807x: Enabled dcache" 2018-02-20 08:31:03 -08:00
Linux Build Service Account
9e50bbd593 Merge "ipq806x: Customized environment size handling" 2018-02-20 02:38:09 -08:00
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
Linux Build Service Account
4f4928b94d Merge "ipq40xx: Added support for spansion SPI NOR" 2018-02-19 06:04:03 -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
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
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
Sasirekaa Madhesu
6924926bbd ipq40xx: Added support for spansion SPI NOR
Change-Id: Ifac5a550715836c439563b848de11fb26d28aa5c
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-16 10:36:41 +05:30
Linux Build Service Account
bfa4e09dd3 Merge "ipq806x: Enabled HW Watchdog" 2018-02-12 10:12:15 -08:00
Linux Build Service Account
164f621923 Merge "ipq806x: Add run command support" 2018-02-12 10:12:12 -08:00
Linux Build Service Account
bb13bb1878 Merge "ipq40xx: Add run command support" 2018-02-12 07:18:32 -08:00
Antony Arun T
a87141b204 ipq806x: Enabled HW Watchdog
Change-Id: I0850c1082be7dcbd1301acca5ed345d6db72aa2e
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-02-12 16:18:59 +05:30
Balaji Jagadeesan
99baf3f2c0 ipq806x: Add run command support
Change-Id: I6c7d338b7a98a8d85eff16d3fd683b5f48397aa3
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-02-12 12:57:23 +05:30
Linux Build Service Account
58f99d4204 Merge "qca: Add logic to restrict runmulticore command on secondary cores" 2018-02-08 18:36:15 -08:00
Linux Build Service Account
3221496969 Merge "qca: spi-nor: Store the probe information to avoid unnecessary probes" 2018-02-08 15:43:34 -08:00
Linux Build Service Account
abdb324398 Merge "ipq40xx: Update emmc pin configs" 2018-02-08 05:06:22 -08:00
Santan Kumar
a0dd6f4332 qca: spi-nor: Store the probe information to avoid unnecessary probes
Change-Id: If7260e4a4065d6406d9a8554f43853663f0e8f3b
Signed-off-by: Santan Kumar <santank@codeaurora.org>
2018-02-08 15:58:22 +05:30
Santan Kumar
bf90754ab4 qca: Add logic to restrict runmulticore command on secondary cores
Change-Id: Ibe1bf89614ddadb770cda2216b696152534daaf7
Signed-off-by: Santan Kumar <santank@codeaurora.org>
2018-02-08 01:37:20 -08:00
Linux Build Service Account
463c793088 Merge "ipq40xx: spi: Added support for GD25Q256" 2018-02-06 10:51:56 -08:00
Balaji Jagadeesan
557c2904de ipq40xx: Add run command support
Change-Id: Ib727d7ec3807baa86ea82947a9567b4296d57fa3
Signed-off-by: Balaji Jagadeesan <bjagadee@codeaurora.org>
2018-02-06 18:18:08 +05:30
Rajkumar Ayyasamy
8ac98b5fd9 ipq40xx: spi: Added support for GD25Q256
Change-Id: Iefc667c95558234e54111e6052f16e0f035b24ab
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-02-06 14:46:09 +05:30
Antony Arun T
eac8f169b0 ipq806x: Enable BOOTZ command
Change-Id: Ic4feb49d67600ca70000226ba06c28a03cda07b3
2018-02-06 12:53:54 +05:30
Sasirekaa Madhesu
dfa6f8e40b ipq40xx: Add support for Micron 1GB NAND flash
CONFIG_SYS_MALLOC_LEN has been increased from 256K to 2048K to
support memory requirements of MT29F8G08ABABA Micron
1GB NAND flash.

Change-Id: I7d5af023d2a8bd2a0f11b28ef75eee2f5c38f6be
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-02 12:52:17 +05:30
Sasirekaa Madhesu
50a9b7dd3c ipq40xx: Update emmc pin configs
Updated the drive strength and pull up values for
the emmc pins.

Reference commit id:185a9ad97acb1d0ee18b9af45a17e1d183af2674

Change-Id: I1e38a51eb1a4c1701866c1f45c8189eea9cd1337
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-02-02 12:19:16 +05:30
Antony Arun T
4b79b9c406 ipq806x: Clear L2 error status register before linux boots.
Previous pending L2 cache errors are cleared during the
cleanup phase before transferring the control to linux.

Change-Id: I3a54c64049135e150c2b49b0d6de1667511b6a14
2018-02-02 11:54:11 +05:30
Linux Build Service Account
66f395836e Merge "ipq807x: Added support for secure pshold" 2018-01-29 18:58:58 -08:00
Linux Build Service Account
39186094e7 Merge "ipq806x: make diagnostics feature configurable." 2018-01-29 14:06:25 -08:00
Rajkumar Ayyasamy
46bc61999d ipq806x: make diagnostics feature configurable.
This patch makes diagnostics feature configurable and
in the standard config diagnostics feature is disabled

Change-Id: Ib5478701075591369c14e1a4d1200d792e434df4
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-01-29 05:59:06 -08:00
Saravanan Jaganathan
216b4fdcfe ipq807x: Added support for secure pshold
Change-Id: Ie6369013611eabc6e67a30347cb0e9d87d3ce067
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2018-01-29 04:23:51 -08:00
Rajkumar Ayyasamy
5c5f733e6e ipq40xx: make diagnostics feature configurable.
This patch makes diagnostics feature configurable and
in the standard config diagnostics feature is disabled

Change-Id: Ie3ad2248446043744057a656dab03d44d1e005df
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-01-29 12:50:18 +05:30
Linux Build Service Account
68e5a86eb8 Merge "ipq806x: remove the unnecessary configs" 2018-01-24 08:38:26 -08:00
Rajkumar Ayyasamy
50dee6ee1a ipq806x: remove the unnecessary configs
Change-Id: I634ccb26e27c54cef6e009a4e7d1cb1c537542d9
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-01-23 12:28:30 +05:30
Kathiravan T
0d1c54ce8c ipq40xx: remove the unnecessary configs
Change-Id: Id16e2a5615252c74a08d124349cd4cd7ce79fb6c
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-01-23 12:13:04 +05:30
Linux Build Service Account
13929edd71 Merge "ipq40xx: Defer ethernet initialization till autoboot is stopped" 2018-01-19 08:27:49 -08:00
Antony Arun T
113f4367d4 ipq40xx: Defer ethernet initialization till autoboot is stopped
Initialize Ethernet module only if network communication is needed.
This is introduced to save the boot up time of the AP.

Change-Id: I210f3eb911621d22f476d7927854c008cef2eb9c
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-01-19 12:12:37 +05:30
Rajkumar Ayyasamy
8d368edb1a ipq40xx: enable SPI NAND support
This patch enables SPI-NAND support for DK and making
chip select gpio configurable from DTS.

Change-Id: I2ca7d3021fa27da1d83e2a787a1dc626919124f8
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-01-08 20:31:35 +05:30
Linux Build Service Account
f2d892333f Merge "ipq40xx: move to spi dma driver from fifo driver" 2018-01-03 10:35:24 -08:00
Rajkumar Ayyasamy
d96ce76277 ipq40xx: move to spi dma driver from fifo driver
Enabling spi dma driver for ipq40xx. This patch
also enables rx and tx pipe configurable from dts.

Change-Id: Id6009f6e9863ab2cdf8b105461d62aa68e3d004b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-01-03 04:34:54 -08:00
Gokul Sriram Palanisamy
e5b2b114f8 qca: psci: Added support to enable secondary cores
Change-Id: I1211577b7bbaf3fefba3613e46d25c7724e4d555
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-01-02 02:20:45 -08:00
Kathiravan T
2e4f4226e6 ipq806x: enabled USB support
Change-Id: I621d9de5c33dc78fb8121194eb1560ac817afe7a
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2017-12-27 09:32:30 +05:30
Kathiravan T
f83751a0a2 ipq806x: enable secure dump collection
Change-Id: I07e422262a8b77b7aded2a1f093126306e3c7450
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2017-12-21 20:24:34 -08:00