Commit graph

35225 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
ebfe553da8 QCA: Crashdump data to flash
If the dump_to_flash environment variable is set with the proper
offset in u-boot, crashdump data will be stored to flash memory.
Otherwise it will be stored in tftp server.

Change-Id: I10ac1016e3dfe6a2fa11a0a67c5774b29c3df67a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-01-29 13:18:16 +05:30
Linux Build Service Account
68e5a86eb8 Merge "ipq806x: remove the unnecessary configs" 2018-01-24 08:38:26 -08:00
Linux Build Service Account
6f032d687c Merge "ipq40xx: remove the unnecessary configs" 2018-01-24 08:38:25 -08:00
Linux Build Service Account
08f6ce9aa6 Merge "ipq40xx: fix emmc erase timeout issue" 2018-01-23 23:41:51 -08:00
Antony Arun T
ea2ca09563 ipq40xx: fix emmc erase timeout issue
This patch fixes the erase timeout issue in emmc.

Change-Id: I35031d834fda4ee7560e84787e18e8bc0a3f28fe
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-01-23 15:10:35 +05:30
Linux Build Service Account
1d3e4eb8bc Merge "ipq40xx: Adding support to DK06 board" 2018-01-22 23:57:29 -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
Gokul Sriram Palanisamy
a3dd633252 qca: restricts 'runmulticore' command on secondary cores
Change-Id: Ia5f316476556b4cff97dd023d594beaaee939cc4
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-01-23 01:34:44 +05:30
Sasirekaa Madhesu
d57e5f977c ipq40xx: Adding support to DK06 board
This patch adds support to DK06_1_C1 board.

Change-Id: Ib4fcbdfe7e2e0ce08d5aa08aad4dc168c83a3583
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-01-22 01:44:31 -08:00
Sasirekaa Madhesu
c8af13c595 ipq40xx: Adding support to DK01-S1 board
This patch adds support to DK01_1_S1 board.

Change-Id: I4a97f809766513da05f167b48923986c0860384e
Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
2018-01-22 00:04:02 -08:00
Linux Build Service Account
ce3c581f24 Merge "ipq806x: use proper partition for env varibales in eMMC" 2018-01-19 23:59:42 -08:00
Gerrit - the friendly Code Review server
c1c688d925 Merge changes 2018-01-19 10:36:21 -08:00
Linux Build Service Account
13929edd71 Merge "ipq40xx: Defer ethernet initialization till autoboot is stopped" 2018-01-19 08:27:49 -08:00
Kathiravan T
747d931340 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: I4c446dad583089fb2515e13267aa7b4724c16fba
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-01-19 03:15:08 -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
Linux Build Service Account
290e544e19 Merge "ipq807x: Add the debug log for the tftp died issue" 2018-01-18 05:41:00 -08:00
Linux Build Service Account
adb6b986e0 Merge "ipq40xx: Register SPI nor as mtd device" 2018-01-18 05:40:58 -08:00
Sham Muthayyan
35c8790688 ipq807x: Add the debug log for the tftp died issue
Change-Id: Ie81a360ecefe3999b893c815ace21b425a0e96e1
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-01-18 14:09:05 +05:30
Sasirekaa Madhesu
77907d6fd3 ipq40xx: Register SPI nor as mtd device
Registering SPI nor flash as mtd device was based
on 'spi_gpio' entry in dts, whereas it will be done
based on 'spi_nor_available' in this patch as spi_gpio
entry is not required in some of the SPI nor
supported boards.

This patch also enables the spi nand support
in DK04-c5 board.

Change-Id: I2d70a6c108321d0f504daab7bc4e74739499582a
2018-01-18 12:09:39 +05:30
Sham Muthayyan
be6400b9d7 ipq807x: Add ipq_mdio commands
This command helps to debug the phy issues.

Change-Id: If8354d6826795d9ef9d44112582d3b911963bda5
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-01-16 21:32:50 +05:30
Sham Muthayyan
47bbd2ea51 ipq: qca: Fixed AQ-FW for ipq40xx and ipq806x
The AQ-FW support is used only in ipq807x. Add the __weak for
ipq806x and ipq40xx boards.

Change-Id: If5b13b1a9c98d7b74decd15450377f8e866d33e2
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-01-16 15:05:01 +05:30
Linux Build Service Account
c2cf85a1ad Merge "ipq807x: usb: gadget: Restricting usb gadget device to work only on "high-speed"" 2018-01-10 19:36:55 -08:00
Linux Build Service Account
a6319f1486 Merge "ipq806x: fix i2c issues on AK" 2018-01-10 08:36:56 -08:00
Gokul Sriram Palanisamy
e1b9106107 ARM: qca: Skipping u-boot prompt during crashdump
If crashdump magic is found, should not allow user
to access u-boot prompt as tz will be in unsecure state.

Change-Id: Icdc94c33fb87664857bafa981950f9768794cf11
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-01-10 04:27:44 -08:00
Tushar Nimkar
7f88586a6e ipq807x: usb: gadget: Restricting usb gadget device to work only on "high-speed"
This patch will change the default "super-speed" mode to "high-speed"
If 'usb_mode' is setting to "peripheral" in u-boot it will set with
"high-speed" as 'maximum-speed'. Changes are only for USB port 0.
Affected features : diag, USB console.

Change-Id: I60708cfb4706eea77f00cb5c2bedc7e7b77989f5
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2018-01-09 06:26:15 -08:00
Sham Muthayyan
897bc3b2a4 ipq807x: Fixed the AQ phy reset
Removing the delay for boot time.

Change-Id: Iab968986d58aa5bc930b7c03bb16f5b1041be3b1
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2018-01-09 06:17:13 -08:00
Linux Build Service Account
e85f60b2d8 Merge "ipq: qca: move smem_ram_ptable structure to board specific" 2018-01-09 03:18:37 -08:00
Linux Build Service Account
3a57e86711 Merge "ipq40xx: enable SPI NAND support" 2018-01-09 03:18:36 -08:00
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
Antony Arun T
07f112afaf ipq806x: fix i2c issues on AK
This patch fixes the issues in below i2c commands.
i2c probe , i2c md and i2c mw commands.

Change-Id: I3dd99e8846452b20a71b0664d325b309f3564579
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-01-09 00:11:38 -08:00
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
Kathiravan T
083a3f7efb ipq: qca: move smem_ram_ptable structure to board specific
ipq806x has different alignment of smem_ram_ptable structure when
compared to ipq40xx / ipq807x, which leads to fetching of wrong
information.

This patch addresses the issue by moving the above structure to
board specific.

Change-Id: If7bf2fc54243fc38d1b0a5c9e6f6ba6f9641c700
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-01-04 20:52:52 -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