Commit graph

9292 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
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
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
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
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
Linux Build Service Account
a44535ff2f Merge "ipq: qca: Enabled the SF env" 2017-12-21 03:57:58 -08:00
speriaka
27e5321543 ipq: qca: Enabled the SF env
Change-Id: I040e4de74c7e7fffcfcef416a4772351deb7a79b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-21 10:44:12 +05:30
Kathiravan T
c2ecb4a159 ipq806x: update CONFIG_ENV_SIZE with proper size
kernel fw_env config has statically defined env size
to 256KB on NAND and eMMC which requires u-boot also
to be configured the same way.

Change-Id: If463896ff861036bc856ef7bd342f6233cd82d7a
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2017-12-19 00:18:35 -08:00
Kathiravan T
3527e1e29a ipq806x: Added length check in tftp
Added length check in tftp to make sure the image file address
cannot start in u-boot reserved memory (RAM start + ~32MB) and
the image size cannot exceed (RAM end - ~4MB), so that it cannot
lead to Uboot stack corruption.

Change-Id: Ia045cc57d22c2e6eb7999b2e461a0e652ce2e3ae
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2017-12-15 14:37:39 +05:30
Sham Muthayyan
a60121fe0a ipq807x: Add SF env support
Change-Id: I4ddf96b965e22c980a4c4ea02307afb361d639ec
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-13 18:37:34 +05:30
Linux Build Service Account
37c790976a Merge "ipq806x: command mtest enabled" 2017-12-07 07:28:25 -08:00
Linux Build Service Account
3db4cdde4d Merge "ipq806x: Add PCIE entries for AP148 board" 2017-12-07 00:15:32 -08:00
Antony Arun T
43387c63db ipq806x: command mtest enabled
Change-Id: I0d09e85926ff96c8d7a6ff0dabe583daf35a1096
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2017-12-06 14:10:51 +05:30
Rajkumar Ayyasamy
0380e1845a ipq40xx: fixed CONFIG_ENV_RANGE macro
Change-Id: I5e0dccf8df2d77d99760633bf6647b4bbfc7b7ee
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2017-12-05 23:27:53 -08:00
Kathiravan T
54e3b91a72 ipq806x: Add PCIE support for IPQ806x
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
(cherry picked from commit 76d73b57020b06e556c058735f1cc4c55413a7ce)

Change-Id: Icc10df8483940a1735ccdb3a3ffa6723d3be2aa6
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2017-12-04 10:27:05 +05:30