Commit graph

35264 commits

Author SHA1 Message Date
Linux Build Service Account
4dcba1bb54 Merge "sysupgrade: Add support to authenticate image using TZ" 2018-02-08 23:34:03 -08:00
Linux Build Service Account
68f0e9fb64 Merge "ipq806x: Enabling pci for AP160 and Ap160_2xx board" 2018-02-08 18:36:16 -08:00
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
7be2d06674 Merge "mtd: nand: qcom: erased page bitflips detection." 2018-02-08 15:43:35 -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
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
Avinash Pandey
bcfcba7eb2 sysupgrade: Add support to authenticate image using TZ
This change will look for existence of file /sys/sec_upgrade/sec_auth
if the file exists, it performs image authentication with the new
approach i.e TZ enabled mechanism.

It reads all the sections of the single image and writes each
section's type and image file path in /sys/sec_upgrade/sec_auth.
If a written section image is a proper signed image, then it will
return success else will cause the failure.

Change-Id: I649581e0ab74a66d677e5bfbf1c34fd83cb2465d
Signed-off-by: Avinash Pandey <avinasv@codeaurora.org>
2018-02-08 16:14:32 +05:30
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
ce563c425c Merge "Revert "qca: restricts 'runmulticore' command on secondary cores"" 2018-02-07 10:06:55 -08:00
Santan Kumar
6d18b009c7 Revert "qca: restricts 'runmulticore' command on secondary cores"
This reverts commit a3dd633252.
2018-02-07 02:06:29 -08:00
Nirmala Devi Mal Nadar
0f24b749d6 ipq806x: Skip adding mtdid for invalid mtd device
Modified function to skip adding mtdid list if mtd device is
not found rather than completely returning error.

Change-Id: I515db87802721c1fa1d87b3422eb17eff049e345
Signed-off-by: Nirmala Devi Mal Nadar <nmalna@codeaurora.org>
Signed-off-by: Kirthik Srinivasan <kirthik@codeaurora.org>
Signed-off-by: Nisar Ahamed Khan <nkhan@codeaurora.org>
(cherry picked from commit 4b0ccfab10)
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
2018-02-06 23:55:50 -08:00
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
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
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