Commit graph

35193 commits

Author SHA1 Message Date
Linux Build Service Account
41d043fcf2 Merge "ipq807x: Add support for fail-safe boot on WIFI FW partition." 2018-01-09 03:18:21 -08:00
Venkat Raju Sana
2b68fba7af ipq807x: Add support for fail-safe boot on WIFI FW partition.
Change-Id: I82a541555298a589e6acf9a57d56304af441a0ce
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2018-01-04 04:28:28 -08:00
Sasirekaa Madhesu
cc3573b68a ARM: qca: dts: Adding support for DK04 and DK07 boards
Adding support for DK04-C2,C3,C4,C5 and
DK07-C1,C2,C3 boards.

Change-Id: I2727645086328331deffd63849bedbf119d163c8
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-01-04 02:29:30 -08:00
Linux Build Service Account
f2d892333f Merge "ipq40xx: move to spi dma driver from fifo driver" 2018-01-03 10:35:24 -08:00
Linux Build Service Account
07e4cea9c0 Merge "qca: psci: Added support to enable secondary cores" 2018-01-03 07:33:07 -08:00
Linux Build Service Account
190a7c71c3 Merge "ipq40xx: Add SPI NAND support" 2018-01-03 04:36:58 -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
Rajkumar Ayyasamy
f44fe93184 ipq40xx: Add SPI NAND support
Change-Id: I74de22fcea6455f73f263672b72b30b796f6c820
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-01-02 14:57:16 +05:30
Gokul Sriram Palanisamy
8e2326232d Revert "ipq806x: use proper partition for env varibales in eMMC"
This reverts commit 6345e2888c.
2017-12-29 16:30:47 +05:30
Linux Build Service Account
de84bbb6b5 Merge "eth: Moved eth_initialize to end of autoboot" 2017-12-28 04:32:22 -08:00
Linux Build Service Account
3e3685a601 Merge "ARM: sdhci: Added auto increment for command timeout" 2017-12-28 01:33:53 -08:00
Gokul Sriram Palanisamy
a23d322ca1 eth: Moved eth_initialize to end of autoboot
If autoboot command fails, it returns to prompt
without ethernet initialized. Hence, moved it to
the end of autoboot to make sure ethrernet is
initialized before entering the prompt.

Change-Id: I79ea6f51842c544e9eb3b97bf7658c45feb34f0b
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-12-28 10:51:35 +05:30
Linux Build Service Account
adaaa17195 Merge "ipq806x: enabled USB support" 2017-12-27 15:35:42 -08:00
Linux Build Service Account
b2d362e64d Merge "ipq806x: use proper partition for env varibales in eMMC" 2017-12-27 07:53:53 -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
Linux Build Service Account
0f0347f694 Merge "ipq40xx: add snapshot of spi_nand driver" 2017-12-26 06:59:33 -08:00
Gokul Sriram Palanisamy
0c3cc6d7e7 ARM: sdhci: Added auto increment for command timeout
Change-Id: I79a2ec29e5623e12838e82581324c41dab78b872
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-12-22 03:44:23 -08:00
Kathiravan T
6345e2888c ipq806x: use proper partition for env varibales in eMMC
In eMMC flash, whenever we save the env variables, it is updated in
the wrong offset instead of using the APPSBLENV partition, which leads
to the system hang in the next reboot. This patch addresses the same.

Also, moved the function board_mmc_env_init to common/env.c, since
the same functionality is used across ipq806x/ipq40xx/ipq807x.

Change-Id: I7e85cbb004ab1ca4d7c926359a8d9a1912922971
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2017-12-22 00:09:37 -08:00
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
4ffdd3caaf Merge "ipq807x: uboot: spi : code clean up" 2017-12-21 03:57:58 -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
Sham Muthayyan
91b49b6910 ipq807x: Enable the PPE tx_mac only if the phy link is up
Enable the PPE tx_mac only if the phy link is up else disble
the PPE tx_mac.

Change-Id: I7226a104fa287f8378b98923a00d0caa3f91079d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-19 22:56:58 -08:00
speriaka
77fef22256 ipq807x: uboot: spi : code clean up
This patch involves changes which makes
sure that spi related functionalities are
used only when the config corresponding
to it is defined.

This change will allow us to disable or
enable spi as per our need.

Change-Id: I6c3865a6028b9f2a50fe0bface35b1695b17b515
Signed-off-by: speriaka <speriaka@codeaurora.org>
2017-12-19 13:48:41 +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
Sham Muthayyan
a1aa6395b0 ipq807x: Added the 8033 port for uniphy instance 0
Change-Id: I34005349d1dbb74246dbf812f6dbe1ff9024a827
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-17 21:39:13 -08:00
Sham Muthayyan
102d8097d4 ipq807x: Fixed 8033 clocks to improve performance
Change-Id: I53d658b4ab47ba26117f10f7dd34f95cb9cd0cf5
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-17 21:39:00 -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
bbfe68e787 ipq807x: Enable Ethernet for HK06
Change-Id: I78571834387d12f84b979b34809b4c817f014ab6
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-13 19:52:55 +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
Vasudevan Murugesan
46632823a3 Revert "ARM: qca: Skipping u-boot prompt during crashdump"
This reverts commit 7e12e80ba8.

Change-Id: Ib5b47336577e84a4033e8bdb079f34939e5045df
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-12-12 16:03:12 +05:30
Sham Muthayyan
3e1a092e67 ipq807x: Fixed the i2c register and data
Change-Id: Ib0f63da02d80430893a34b4f45a303c6cb307558
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-11 19:30:00 -08:00
Rajkumar Ayyasamy
d6bee58b4f ipq806x: qca: Enabled Signed image boot
Change-Id: I048c7cf1c4e83f52f518dc829be0146029ad2531
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2017-12-08 12:34:23 +05:30
Linux Build Service Account
37c790976a Merge "ipq806x: command mtest enabled" 2017-12-07 07:28:25 -08:00
Rajkumar Ayyasamy
d7294fbcca ipq40xx: add snapshot of spi_nand driver
This is a snapshot of the spi_nand as of uboot-1.0
commit:

e6434d80905a219860c8ede78377221ded2510f2 (ipq40xx:
Add bit-flip threshold for QPIC NAND)

Change-Id: I91db5822cc450e9d7eb52fca9eab213784547206
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2017-12-07 20:01:08 +05:30
Linux Build Service Account
48cb38ecf2 Merge "sf: params: Added the GD25Q128 flash support" 2017-12-07 03:00:20 -08:00
Linux Build Service Account
6c497bab12 Merge "ipq807x: fix compilation issue" 2017-12-07 00:15:34 -08:00
Linux Build Service Account
3db4cdde4d Merge "ipq806x: Add PCIE entries for AP148 board" 2017-12-07 00:15:32 -08:00
Linux Build Service Account
67dc876bc6 Merge "ipq40xx: fixed CONFIG_ENV_RANGE macro" 2017-12-06 13:51:14 -08:00
Linux Build Service Account
95b15c94b6 Merge "mtd: nand: fixed the 8 bit NAND ECC support" 2017-12-06 07:04:06 -08:00
Linux Build Service Account
12cf6d0a23 Merge "ARM: qca: Added check for dcache status" 2017-12-06 04:03:03 -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
431372a078 sf: params: Added the GD25Q128 flash support
Change-Id: I57504aa1bca17023476980a3fb474613b3d786ca
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2017-12-06 00:28:23 -08:00
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
Rajkumar Ayyasamy
8ee53b0702 mtd: nand: fixed the 8 bit NAND ECC support
1. This driver is directly being registered with MTD
   layer.So for OOB operations, the device OOB size will be
   passed. NAND controller can’t handle the complete OOB so
   calculate NAND Controller supported OOB size and overwrite
   the device OOB size with that.

2. Enabling 8 bit ECC support in dev0_ecc_cfg register

Change-Id: I5f4297932eea6bed47182d235d081cbe30d1b85c
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2017-12-05 21:01:32 -08:00
Sham Muthayyan
62ab0ec6a6 ipq807x: Issue sf command to read the AQ FW if the partiton is in nor boot
using nand command will change the default nand device to 1. This will
try to read the nor patitions so one if user tries to read the nand partitions.

Change-Id: Id73e89f479b5735fd5b28a871680190f48a76f0e
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-12-05 19:10:01 +05:30
Gokul Sriram Palanisamy
bda1a9d8a9 ARM: qca: Added check for dcache status
Added check for dcache status before flushing.

Change-Id: I69462aa7852f96611e663acdf43aecd005a50c38
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-12-04 14:59:18 +05:30
Kathiravan T
761ccc961d ipq807x: fix compilation issue
board_pcie_clock_init() is not defined for ipq807x platform, which leads
to compilation issue. This change addresses the same.

Change-Id: I63bee5e731005966940b95ac7c3cf5d8c54f5d58
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2017-12-04 11:03:19 +05:30
Kathiravan T
a12f313e9c ipq806x: Add PCIE entries for AP161 board
Change-Id: If4da38e78d11c9fbdfce4967063462d5226e9098
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2017-12-04 11:01:59 +05:30