Commit graph

35246 commits

Author SHA1 Message Date
Rajkumar Ayyasamy
fd01d1b29b ipq806x: Enabling pci for AP160 and Ap160_2xx board
1. Added pci entries in AP160 and AP160_2xx dts

2. The wifi pcie card requires to be powered on from GPIO
pins. This patch also adds the same in AP160 dts file and
enable it during PCIe configuration.

Change-Id: Icd8f5741d5df38d46640c78a7475853e77b873a9
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-02-08 18:06:48 +05:30
Linux Build Service Account
463c793088 Merge "ipq40xx: spi: Added support for GD25Q256" 2018-02-06 10:51:56 -08:00
Linux Build Service Account
33ce927444 Merge "ipq806x: Enable BOOTZ command" 2018-02-06 08:19:00 -08:00
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
Rajkumar Ayyasamy
34abc3d3aa ipq806x: pcie: Fix PCI 2.0 cards probing
This patch putting pci into reset and waiting
for 2ms.

Change-Id: Ied3863f50956f5c099f3c4c0ed7f2df55573ca0b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-02-05 19:57:45 +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
5a5d4fb198 Merge "ipq806x: xhci: Changing max packet size as per the spec" 2018-02-01 02:36:07 -08:00
Gokul Sriram Palanisamy
3ad3c2e50c QCA: Enable board reset after crashdump to flash
Added board reset command after crashdump to flash. Also,
updated with valid return values in do_dumpqca_flash_data function.

Change-Id: Ib89ee06cd6e34c0a56090284983534f107c97ea7
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-01-31 19:49:35 -08:00
Gerrit - the friendly Code Review server
b5939020fe Merge changes 2018-01-31 06:28:07 -08:00
Linux Build Service Account
d82fe7ce10 Merge "QCA: Crashdump data to flash" 2018-01-31 04:02:44 -08:00
Antony Arun T
e089699438 ipq806x: xhci: Changing max packet size as per the spec
Change-Id: Ieab47fbc39f12deeda22d7870a63e4cfc178b064
2018-01-30 12:46:46 +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
Linux Build Service Account
5836c01947 Merge "ipq40xx: make diagnostics feature configurable." 2018-01-29 06:31:37 -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
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
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
ff83336bcd Merge "ipq806x: support to add the boot version to the device tree" 2018-01-25 03:30:48 -08:00
Kathiravan T
58da5b1a55 ipq806x: support to add the boot version to the device tree
Made the necessary changes to retrieve the boot version through
SMEM call and append the same to device tree.

Change-Id: I627b108935995212520794d12d6f9af64641a96f
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-01-24 22:22:41 -08:00
Kathiravan T
4d784a580a ipq806x: support to add the tz version to the device tree
Made the necessary changes to retrieve the tz version through
SCM call and append the same to device tree.

Change-Id: I890f82a4ec03bb9c24eccce09fdeba9d948e1c71
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-01-25 10:46:17 +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