Commit graph

13583 commits

Author SHA1 Message Date
speriaka
2802f9f1ec ipq807x: uboot: Updated FDT_HIGH value
This change is necessary as an additional 2 MB is
allocated as reserved memory for TZ_APPS exposed
in qseecom driver and we must notify the same
boundary as FDT_HIGH to uboot.

Without this change, the board gets stuck in uboot
with starting kernel message during boot up.

Change-Id: I6653d3c3dbac97cdf38a41d84d0b401d462cf5ce
Signed-off-by: speriaka <speriaka@codeaurora.org>
2018-04-04 23:36:30 -07:00
Linux Build Service Account
e29cf10dc6 Merge "ipq807x: Enable 4-byte address mode for flash W25Q256JW" 2018-04-04 03:16:31 -07:00
Sasirekaa Madhesu
e44601f1f7 ipq40xx: Removing CONFIG_SYS_DCACHE_OFF macro to enable dcache
During kernel bootup, dcache is enabled to reduce boot time.
When CONFIG_SYS_DCACHE_OFF macro is defined, dcache will not
be enabled.

Change-Id: I1830b467f2948250f5e7a676dd0f16a025e7b229
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-04-02 11:42:14 +05:30
Santan Kumar
98b37b1dd8 ipq807x: Enable 4-byte address mode for flash W25Q256JW
Software SPI reset mode can be trigger from 4-Byte Address mode
in flash W25Q256JW.

Change-Id: I3f8ec46c2732c07a7af0cc7331102334413067ba
Signed-off-by: Santan Kumar <santank@codeaurora.org>
2018-03-30 17:44:43 +05:30
Linux Build Service Account
89d6ac669e Merge "mmc protect: Handled invalid GPT" 2018-03-21 13:01:09 -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
Gokul Sriram Palanisamy
17e842fd9b mmc protect: Handled invalid GPT
Change-Id: Ie68e278230cb3ccfbd60cc03a7936ff1e226d47a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-03-21 04:44:14 -07:00
Linux Build Service Account
103305720e Merge "ipq807x: spi: Enable 4K sector size support" 2018-03-14 07:02:10 -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
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
Linux Build Service Account
6ef13d4878 Merge "Revert "qca: Disabling dcache before scheduling secondary cores"" 2018-03-12 10:49:59 -07:00
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
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
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