Commit graph

35099 commits

Author SHA1 Message Date
Linux Build Service Account
636aa76e04 Merge "ipq807x: Add 4byte mode support for Winbond nor flash" 2017-10-25 10:55:29 -07:00
Sham Muthayyan
23f9381f86 ipq807x: Add 4byte mode support for Winbond nor flash
Change-Id: I4f31612091bff4f03527fbfd41f02f4a7267f248
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-25 04:25:04 -07:00
Sham Muthayyan
921da8d0b2 ipq807x: Add SMEM_SPI_ADDR_LEN support for SPI flash
This SMEM type is to determine the spi flash addr is in 3 byte
or 4 byte.

Change-Id: I705a9c5c6f760b93e112a873ead41cd76520501b
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-25 16:53:30 +05:30
Gokul Sriram Palanisamy
fd7111aa24 ARM: qca: socinfo: Fixed soc_version_minor
Change-Id: Iaefb3b3c6554408e3d635fb55568aaed9b78a164
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-25 16:25:59 +05:30
Linux Build Service Account
a6333cab32 Merge "ipq807x: Fixed port mac for qsgmii mode" 2017-10-24 12:51:57 -07:00
Sham Muthayyan
0ed8d4aa87 ipq807x: Fixed port mac for qsgmii mode
Change-Id: I190eb0e11ba17724b5bd6fa7ccf85c5dad9afb09
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-24 08:33:31 -07:00
Sham Muthayyan
5ea7c14b64 ipq807x: Fixed the aquantia gpio
Change-Id: I160632ee56fd874b97a9eba8a6af9945d591e79d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-24 08:29:54 -07:00
Gokul Sriram Palanisamy
0017eddff3 ipq807x: Reset support for 32 bit TZ
Change-Id: I16bd7fe2541a9093a4a6417091a854e6dfea92e3
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-24 11:29:37 +05:30
Linux Build Service Account
527c7c22d6 Merge "sysupgrade: Use memcmp() instead of strcmp()" 2017-10-23 02:01:19 -07:00
Saravanan Jaganathan
6f9aa43a88 ipq807x : Added support for AQR111
Change-Id: I06ccac361c71d6bd9868fc4c3230c13088123e1f
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-10-21 07:04:36 -07:00
Pavithra Palanisamy
0e3043fd78 sysupgrade: Use memcmp() instead of strcmp()
Currently our sysupgrade is comparing the calculated hash,
and referenced hash using strcmp(), A valid binary hash can
contain zeros or null, this can make strcmp() to stop when it
encounters a zero or null. To check the entire hash, not just
the bytes of the hash up to the first zero, we will use memcmp().

The existing code uses mbn_header->code_size for calculating
source offset from the image, this change adds mbn_header_size
for the calculation.

Change-Id: Iaae39d04e8e4aafc686a5acbc499b11b2b8d6602
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2017-10-16 10:59:25 +05:30
Gokul Sriram Palanisamy
09628e67ad ipq8074: Support for TZT execution
Change-Id: I59a1659893783db9dec8b23c53c34ba7b87f83b0
Signed-off-by: Gopinath Sekar <gsekar@codeaurora.com>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-16 09:54:28 +05:30
Ramesh Muthusamy
040da09949 IPQ807x: AQ Phy Fw download from flash
Change-Id: I55ecb7ab61476c497ae565597396556e4f074e8e
Signed-off-by: Ramesh Muthusamy <rmuthusa@codeaurora.org>
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-10-13 10:50:23 -07:00
Linux Build Service Account
b22b421ccf Merge "sysupgrade: Add support to process 64 bit image" 2017-10-13 09:57:55 -07:00
pavip
fb8e307bbc sysupgrade: Add support to process 64 bit image
The existing sysupgrade treats all images as 32-bit image.
This change adds a check to signify the image class and
adds functions to process the headers respectively.

Change-Id: I04040fdc6e1a9c6c2df2407cd4b26dddaf4a008c
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2017-10-13 20:05:52 +05:30
Gokul Sriram Palanisamy
a6206a5074 ARM: qca: Enabled reset when skipping crash dump
Change-Id: I43b585a04e040229fe16b1ed6c992cbb5dc18192
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-13 14:33:43 +05:30
Gokul Sriram Palanisamy
453d3d213b ARM: qca: fdt_fixup: Added major and minor version
Change-Id: If312cf881c2f7b9aceca5f12db017125ffdfff18
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 11:05:39 -07:00
Gokul Sriram Palanisamy
f9ad5ac9d7 ipq807x: Modified scm calls to support both 32 bit and 64 bit
Change-Id: Iee99423239f7de49a9fc7a4c2e6244df385f5f09
Signed-off-by: Gopinath Sekar <gsekar@qti.qualcomm.com>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:46:15 -07:00
Sham Muthayyan
e216c7f3ab ipq807x: Added the support for aquantia firmware download
Change-Id: Iebef6426e6ffdef7e3c5fb8c6a04c2c6f494a664
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:46:10 -07:00
Saravanan Jaganathan
7d086407d3 tools: Added support for APSS only single images
Change-Id: I6dfce00e629a9e34e95a88d4031bb117c539aeab
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:46:06 -07:00
Gokul Sriram Palanisamy
e0e7c2116a ARM: dumpqca: Added entry for secure boot
Added a separate dumpinfo entry for
Secure boot to skip secure region.

Change-Id: Ib3836a851e8b0603a9c08013de293dcbe8e3c0fb
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:45:57 -07:00
Gokul Sriram Palanisamy
0f0ae124bb ARM: QCA: Fast MDIO support for Aquantia port
MDIO clock divider is set to 0x7 (counts to 8)
to produce 12.5MHz (100MHz/8) MDC frequency.

Change-Id: Ic7969aebf9fcbb14601ba8e56563959ab0b25657
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 04:45:52 -07:00
Gokul Sriram Palanisamy
c1264c6cc8 ARM: qca: Added fdt-fixup for machid
Change-Id: Ie4a26dfcd2063a5fba5a256e6a373c21180900ce
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-12 17:12:28 +05:30
Gokul Sriram Palanisamy
c8c916b499 ARM: qca: Fixes ram_size data overflow
Change-Id: Ibce6d84c303d9a39083b51ab5b8e3b5449c5fc05
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-10-09 18:33:07 +05:30
Visweswara Kumar
27a4831cf3 Merge branch 'caf/u-boot-2016/eggplant' into master 2017-10-06 13:54:47 -07:00
Git User
36365659e7 Initial empty repository 2017-10-04 03:31:26 -07:00
Linux Build Service Account
9c8d38b2f9 Merge "ARM: qca: Included dynamic IMEM dump address support" 2017-09-23 12:20:14 -07:00
Gokul Sriram Palanisamy
c6b251a55e ARM: qca: Included dynamic IMEM dump address support
NSS-IMEM region is copied to a dynamic address
region in DRAM during kernel crash to avoid
NSS dump corruption.
This patch includes support to save the NSS dump
from the dynamic DRAM region to file in host machine.

Change-Id: I6131da890dc8bde382a3d2511ea930cd76c1f79e
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2017-09-22 01:21:44 -07:00
Sham Muthayyan
1f804c9dc8 ipq807x: Initialize ethernet if boot failure
Initializing the ethernet when there is a failure in boot ie the
u-boot does not jump to kernel.

Change-Id: Id89c9e4285a2d68515ac463a027e0aa1d67c9ebd
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-21 15:50:13 +05:30
Sham Muthayyan
a5b2a4c4cb ipq807x: Padding minimum packets before send to EDMA
The EDMA HW is unable to process packets less than MIN_PKT_SIZE(33) bytes,
then the EDMA stalls. This is to pad the packets up to MIN_PKT_SIZE.

Change-Id: I473831a759ad6a764fefa095cf7ab347ba95ee97
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-20 11:50:22 +05:30
Linux Build Service Account
a7e05d55af Merge "ipq807x: Added the W25Q256JW flash support" 2017-09-15 10:27:53 -07:00
Linux Build Service Account
678e436e6f Merge "ipq807x: usb: Added SSPHY support" 2017-09-15 10:27:29 -07:00
Sham Muthayyan
da2e958e58 ipq807x: Added the W25Q256JW flash support
Change-Id: Iee648d783567ed2b6ff09addbb000709fa6461ff
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-14 01:56:40 -07:00
Sham Muthayyan
36d71f4217 ipq807x: Enabled the device entries for UXSGMII and PSGMII mode
Change-Id: Iaaf784bd12aaf6af5836ae021d36777e569d1d01
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:45 -07:00
Sham Muthayyan
b89040defa ipq807x: Added the USXMII speed and clock
Change-Id: Ieb3e01eef27807091e0a1670d6b7c25334bed396
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:38 -07:00
Sham Muthayyan
92f52b796e ipq807x: Aquantia phy init support
Change-Id: I0f714e0862c8002aa49497af0b65e5d5e61a8b64
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:33 -07:00
Sham Muthayyan
f08292a724 ipq807x: Added the UXSGMII mode support
Change-Id: I69363bd2c8f2fcaf5a41f63b7d509799353ac686
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:26 -07:00
Sham Muthayyan
546ffbe6c8 ipq807x: Added the Aquantia phy support
Change-Id: I4c61cd57cf02a97b6410ac4488e2dbe6e6a3cfd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:20 -07:00
Sham Muthayyan
b5a3729df6 ipq807x: Aquantia phy out of reset
Change-Id: I1f13873387e7a5d5ef3242e7cf0798a08ffd0336
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:07 -07:00
Sham Muthayyan
643f0acddf ipq807x: Enabled the 8033 phy support for DB-HK02
Change-Id: Ifa9fcb7ee3f9263e97d81dd8ea984a2c9923af2a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:24:00 -07:00
Sham Muthayyan
20da321f4a ipq807x: Enabled the 8033 in DB-HK01 board
Change-Id: I3ad840997473ae41a5383e42834d1e9ce116af95
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:55 -07:00
Sham Muthayyan
a3abb0f382 ipq807x: Add the 8033 phy support
Change-Id: If834f2ec2424a05c7ec2b6b26224a1d753551af8
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:49 -07:00
Sham Muthayyan
6a012e63d6 ipq807x: Add the multiple phy support
Change-Id: I8d22e267ccad0f8f14532e46f379e45faf32bad5
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:44 -07:00
Sham Muthayyan
11d70f9af5 ipq: Fix the 8033 phy driver
Change-Id: I99462cf2cfe820bb2b59b186dd9c13317c780670
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:37 -07:00
Sham Muthayyan
37be3e378e ipq: Move qca8033 phy driver into common
ipq40xx, ipq807x hardware share the qca8033 phy. So the qca8033 phy
driver has been moved to common directory for use by both the
hardware.

Change-Id: Ic972f00770c9e3cbaf4d727df21f19cd926ddce2
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:29 -07:00
Sham Muthayyan
856945d0de ipq807x: Add the PPE interface mode support
This patch added the uniphy interface mode and port mux select
for PSGMII and SGMII.

Change-Id: I26f18a855b9972a358583d706d3f8a8bf09401cc
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-09-13 23:23:19 -07:00
Linux Build Service Account
23f6546a5d Merge "ARM: env_nand: Updated env to use complete partition" 2017-09-13 10:04:49 -07:00
Linux Build Service Account
3f381d7b20 Merge "Test change for QSDK single dispatcher" 2017-09-13 06:18:24 -07:00
Gokul Sriram Palanisamy
8a3c619b47 ARM: env_nand: Updated env to use complete partition
nand env size was restricted to 256KB out of
the available 512KB to keep it compatible with
kernel. When a badblock is introduced,
env fails to save due to the restricted range.

With this patch, it can now use upto the end
of partition upon skipping any badblocks
but only saving 256KB.

Change-Id: I27f6932fe537fa4c63d890bfe583c48e45fe156b
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-09-13 15:48:06 +05:30
Vasudevan Murugesan
b94509eaa9 ipq807x: usb: Added SSPHY support
Change-Id: I0fc72c80e2631bad6fb587f951a03e0ef8deea0b
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-09-12 16:15:38 +05:30