Commit graph

13506 commits

Author SHA1 Message Date
Rajkumar Ayyasamy
652b9213fa ipq40xx: Added Macros to support length check in tftp
Change-Id: Ib9e4f8109fae7627ac5db39a0e6f2c27f19e53ff
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2017-11-15 18:43:15 +05:30
Vasudevan Murugesan
7fd4f44ace ipq807x: mmc: Enabled SDHCI ADMA support
This patch enables SDHCI mode and also supports
data transfer using ADMA method.

Change-Id: Ia3187fec9024ad0972ca720cf0b9ddc6a59b906c
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-11-03 02:52:37 -07:00
Gokul Sriram Palanisamy
89051bc193 ARM: qca: Enabled config CONFIG_SYS_VSNPRINTF
Change-Id: I492d3ad9c83509c38f83f47e0897a4b6247e3ff8
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-11-01 05:51:40 -07:00
Sham Muthayyan
21c5c6af9f ipq807x: Fix the ethernet initialisation when crash dump occurs
Change-Id: Ic271165b1a708bb6f3a7d06051a9cc5b846604b6
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-10-30 02:48:57 -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
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
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
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
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
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
Stefan Wahren
b77ce142bb mmc: add MMC_VERSION_5_1
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
(cherry picked from commit 1a3619cf82)

Change-Id: I7884f7b58cadb6935ffa266d35af64a4e5ca68cb
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-09-12 15:25:15 +05:30
Sanjeev N
9908fc34a6 ipq807x: Added length check in tftp
Added length check in tftp to make sure that the image
can only be written in the Linux HLOS region and WLAN
area, so that it does not lead to Uboot stack corruption.

Change-Id: Ide3c62c1fbf09be24286b5536b41cfc56227eacc
Signed-off-by: Sanjeev N <nsanjeev@codeaurora.org>
2017-09-06 04:35:06 -07:00
Ramesh Muthusamy
0afdc8209b ipq807x : Enabling MDIO C45 and Uniphy3 support
Change-Id: I9236aa2861a004a030e7e88403302d5e09949ad7
Signed-off-by: Ramesh Muthusamy <rmuthusa@codeaurora.org>
2017-08-22 15:00:18 +05:30
Gokul Sriram Palanisamy
9dc890a648 ipq807x: Reset operation through PSCI
Change-Id: Ib1f2e8f7990101aaa48c3bc259ec293008efca02
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-17 00:02:58 -07:00
Venkat Raju Sana
71c93c6ee1 ipq807x: Increase size of CONFIG_SYS_MALLOC_LEN
UBI is memory greedy and needs more malloc area
while accessing  above 256M of Flash.

Change-Id: I2521eedaf483e104bcb37886003085ed74c8bf0c
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2017-08-14 13:38:32 -07:00
Gokul Sriram Palanisamy
fbc358204d ARM: eMMC: Updated number of alternate partitions
Updated number of alternate partitions and
alternate partition data structure to match
smem entry.

Change-Id: I62484e369ed3d35037237fde2d71f9af045e438a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-10 19:00:47 +05:30
Gokul Sriram Palanisamy
3f2b61ee41 ARM: qca: Updated support for crashdump onto flash
Increased context_dump size from 2K to 4K
for ipq8074 SoC.

Change-Id: I5f10c0f4081c6ebe155599bb2575b1347e1933d1
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-08 03:33:23 -07:00
Vasudevan Murugesan
7c6548ed00 ipq807x: Enabled FAT filesystem support
Change-Id: I343a063cc89f7a2c948a8f97c8be4ee43bfabe7e
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-07-24 05:12:23 -07:00
Gokul Sriram Palanisamy
66e7fc668e ARM: ipq8064: Added CONFIG_ENV_RANGE
Change-Id: I5150019b90d5b283b522ed34ccf9d43367fa15cf
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-11 08:04:11 -07:00
Gokul Sriram Palanisamy
c75090661c ARM: fdt_fixup: Enable multiple ethaddr
Enabled to set multiple ethernet mac addresses
from ART partition into u-boot environment which
in-turn will be patched-up into the kernel dts.

CONFIG_IPQ_NO_MACS should be set accordingly.

Change-Id: I72d1324789685d25adcb3f5c4fb1b54151098f62
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-11 08:03:30 -07:00
Gokul Sriram Palanisamy
622fd6199b ARM: qca: Added fdt-fixup for RPM version
Added fdt-fixup for patching RPM version string
to kernel device-tree that may be required for
test automation and build component information.

Change-Id: I6dedecbe17ecea1a211e3d0a8d64aa1f3835f821
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-03 15:37:13 +05:30
Gokul Sriram Palanisamy
0255772918 ARM: env: Added support for variable env sizes
Kernel fw_env config has statically defined env size
to 256KB on NAND and eMMC and 64KB on NOR flash which
requires u-boot also to be configutred the same way.

This change configures env to support differnt env sizes
and preserves the APPSBLENV and avoids CRC mismatch.

Change-Id: I55f33c17953beb8e97ebe89f215549b6eefc1a48
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-28 12:21:20 +05:30
Gokul Sriram Palanisamy
86f7fe94c9 ARM: Enabled DEVICE_NULLDEV
Enabled DEVICE_NULLDEV to redirect
unwanted console prints.

Change-Id: I6ca436686860d938cdd6dd28cd4da545c91f09c8
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-24 07:41:05 -07:00
Gokul Sriram Palanisamy
ef29fc660d ARM: env: Removed write protection to 'ethaddr'
By default, u-boot enables write protection to
environment variable 'ethaddr'. However, we need
it configurable by the software.

Defining CONFIG_ENV_OVERWRITE enables this feature.

Change-Id: I1f17ce7769dc09ef42cfb09933e01a1bd5f2bb86
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-21 02:55:14 -07:00
Linux Build Service Account
025bb86829 Merge "ARM: ipq8074: Updated u-boot text base address" 2017-06-13 09:50:33 -07:00
Gokul Sriram Palanisamy
1a3b94d78b ARM: ipq8074: Updated u-boot text base address
Change-Id: I2c226a2e1c748d59189bdcfc7bc6c98afe874c7f
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-12 04:31:32 -07:00
Jaiganesh Narayanan
67e7d1b728 ipq807x: Initialize ethernet only if it is needed
Initialize ethernet module only if network communication is needed.
This change is introduced to save the boot up time of the AP.

Change-Id: I318a3e897fe511accef37667af1a6c46ae31db6e
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-06-12 03:33:51 -07:00
Saravanan Jaganathan
d5b694bc11 ARM: qca: Enabled run command
Change-Id: Iab94a30cfb4b4460b2a6430db2c7c8e81e4df32a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-06-11 23:54:26 -07:00
Gokul Sriram Palanisamy
a869486d29 ARM: dumpqca: Fixed aligned access issue
Fixed aligned access issue with RPM MSGRAM.

Change-Id: Ia9718dced1eaa897cca8e56bfbe525fec3a624bb
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-10 21:31:52 -07:00
Gokul Sriram Palanisamy
7e3a647968 Revert "ipq: Enabled crc32 command"
This reverts commit adc145b30e.

Change-Id: Ica9583b32b1d228469926e8888b03ab3d8814946
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-08 17:15:24 +05:30
Gokul Sriram Palanisamy
3a93d3ccb9 ARM: qup_spi: Enabled bam support for spi-nor
Change-Id: I7bf9335ed5c0e6a439c5a4169319f1d422e1ae7d
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Signed-off-by: Gopinath Sekar <gsekar@codeaurora.org>
2017-06-08 12:45:42 +05:30
Gokul Sriram Palanisamy
ac91142257 ARM: ipq8074: Fixed multiple declaration warning
Removed multiple declaration of CONFIG_QCA_APPSBL_DLOAD

Change-Id: I3be27adc588cb7615925913ed984261de4123806
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-06 15:09:59 +05:30
Saravanan Jaganathan
adc145b30e ipq: Enabled crc32 command
Change-Id: I07c406aacefc335e7f31e1f1c610dce6bde67967
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-06-04 00:24:09 +05:30
Gokul Sriram Palanisamy
c0ee616f63 ARM: ipq8074: Added scm_call support for crash dump
Change-Id: I47f7192a464f92dbd8c2332767030ec04da9fc47
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-01 07:18:09 -07:00
Jaiganesh Narayanan
6fe9db26ac ipq807x: enable net, qca8075 phy reset and link detection code
Change-Id: I978f5a16da7ecf56f006e0e7757a52c7d31b22cf
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-05-29 20:15:48 -07:00
Jaiganesh Narayanan
428fc1d379 ipq: move qca8075 mdio, phy driver into common directory
ipq40xx, ipq807x hardware share the qca8075 phy. So the qca8075 phy
mdio, driver has been moved to common directory for use by both the
hardware.

Change-Id: Id6e9342438ffbdf8599860df6fbb39bba30429b3
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-05-29 08:02:40 -07:00
Sham Muthayyan
cad4eba461 mmc: eMMC add Secured Trim command support
Secured Trim command does eMMC erase for  unalligned block size.

Change-Id: I4dc7bea15c8fcb57e07d19c398b1c8e2289da100
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-04-11 23:55:40 -07:00
Aditya Kumar Patra S
335c21b1a2 ipq807x: Added ethernet support
Added the ipq807x ethernet edma, ppe driver support

Change-Id: Ibcac04d8a60c1ca74549834b70735a6f15b58358
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-02-09 10:25:56 +05:30
Vasudevan Murugesan
781e610f87 ipq807x: Enabled SDCC support
Change-Id: I383e65d0eba0cdc11b1694fbb2493596d3b8d626
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-02-02 02:00:23 -08:00
Vasudevan Murugesan
f96d461a27 ipq806x: Enabled SDCC support
This patch enables qca_mmc driver and
also has the changes required for emmc
support

Change-Id: Icc8d807caffced79d6ca576fe6220c522ebda3f7
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-02-01 21:23:50 -08:00
Saravanan Jaganathan
322b2ebaf8 Revert "ARM: net: ipq807x: Added ethernet support for hk-01 h/w"
This reverts commit 290b4e0b2d.

Change-Id: I9213daec575a426443681759f28c38b943fc001c
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-01-27 17:33:30 +05:30
Linux Build Service Account
58524e17b5 Merge "MIPS: qca955x: Modify target files to use compile flags directly" 2017-01-20 04:21:09 -08:00
Linux Build Service Account
6acddff960 Merge "MIPS: qca953x: Modify target files to use compile flags directly" 2017-01-20 02:10:38 -08:00
Prabhu Jayakumar
4f520fbf29 MIPS: qca953x: Modify target files to use compile flags directly
Changes to use the C Flags pushed by the openwrt package directly
from within the qca953x target sources is done.

Change-Id: Ib66cdf88ccef33e7805cc7a6831200502d7f1c23
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-19 19:22:10 +05:30
Prabhu Jayakumar
32be07e796 MIPS: qca956x: Modify target files to use compile flags directly
Changes to use the C Flags pushed by the openwrt package directly
from within the qca956x target sources is done.

Change-Id: I4bacf9eb23ed442413d4b4f0833e8d1143aea77f
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-19 19:19:30 +05:30
Prabhu Jayakumar
56de11b873 MIPS: qca955x: Modify target files to use compile flags directly
Changes to use the C Flags pushed by the openwrt package directly
from within the qca955x target sources is done.

Change-Id: I4f9e6a3e4e919ab01399a803349e79f57573988d
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-19 19:12:09 +05:30
Jaiganesh Narayanan
290b4e0b2d ARM: net: ipq807x: Added ethernet support for hk-01 h/w
Added the ipq807x ethernet edma, ppe, gmac driver support
in the u-boot

Change-Id: I1d8ddd19f2c3d3765adda2253d3b71876142aa59
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-01-16 14:37:51 +05:30
Prabhu Jayakumar
97c3087906 qca: move ARM specific files to another sublevel
As the U-boot source is going to be common between ARM and MIPS
architecture , it is required to pick only the files specific
to the respective architectures during the build.

So, move the qca arm target specific common files to another
sub level by specifying the ARCH arm.

Change-Id: I06b538834109981f21fef6270bfb8e437a2f5a7e
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-06 12:33:30 +05:30
Linux Build Service Account
1bcde63ae1 Merge "MIPS: qca953x: Enable Support for AP147 Target" 2016-12-22 20:29:02 -08:00