Commit graph

34932 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
aece84674c ARM: dts: spi: Updated tlmm values
Change-Id: I8ebb883d2c7c219bbe1dd1682c638157e78cd53c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-25 08:28:31 -07:00
Vasudevan Murugesan
fdcfb6366d ipq807x: serial : Support to handle serial_gpio configurations
Change-Id: Ic928981198c69eb8d68db13553b7222e90de8c8c
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-05-23 12:26:50 -07:00
Sham Muthayyan
0a3aa1330a ipq807x: Fixed the HKW01 peripherals
Change-Id: I1abe6ffccf633e7f2c37350961a64192cc07cf70
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-05-23 12:26:14 -07:00
smuthayy
c8d864ebd1 ipq807x: Disable PCI NAND EMMC and NET
Change-Id: Ifcb56a569f1bb68b816fc7bad15fe1b8ac9951f2
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-05-22 23:32:32 -07:00
Gokul Sriram Palanisamy
b815cbe2a7 ARM: dts: Updated HK01 machid and kernel config
Updated HK01 machid and kernel config to reflect
HK01 board machid and kernel configuration.

Change-Id: Iabbda090ff595318686040ba4a3c1d1960f1b877
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-05-22 19:09:42 +05:30
Aditya Kumar Patra S
57c087df8d qca: tools: Standardize arguments passed to pack script
Change-Id: I61c1ae44d50ae358c8bbe8e1fc9a4a13b08beaff
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-05-16 05:38:49 -07:00
Aditya Kumar Patra S
46b4a1d90b qca: tools: update for ipq806x in pack script
Added ipq806x support to new single-image package
styled pack script

Change-Id: I7c6518da38e1be01182d120c33aeff4d8a69ad55
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-04-25 21:48:51 -07:00
Linux Build Service Account
ae15ec2f6a Merge "mmc: eMMC add Secured Trim command support" 2017-04-25 15:34:13 -07:00
Gokul Sriram Palanisamy
0dedd94f33 ARM: qca: Added support for flashless boot
U-boot uses APPSBLENV partition on flash to save environment variables.
During flashless boot, there cannot be any dependency over a flash partition.
This patch revokes the support for this flash partition for flashless boot.

Change-Id: Id387ec3af52c597f3fd408e022446c9b600ecf1d
Signed-off-by: Gopinath Sekar <gsekar@codeaurora.org>
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-04-24 14:08:40 +05:30
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
Gokul Sriram Palanisamy
d8973d0871 ARM: qca: Remove compiler warning
Change-Id: Ib277a580134255ee571077890bef853dc29fead0
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-04-11 02:37:49 -07:00
Gokul Sriram Palanisamy
757ae11af9 ARM: qca: ipq8064: Secondary flash type setting is board specific
flash_secondary_type is specific to ipq8064. Initialization of this
parameter is moved into boards specific file.

Change-Id: If1a0e44e3d0a674ce497de045d9c5095b67bc913
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-04-11 14:23:24 +05:30
Gokul Sriram Palanisamy
e697c8f7e2 ARM: env: qca: Update parameters for mmc env patition
This change adds mmc init code to update mmc env parameters
such as env offset and size in case of env is in mmc.

Change-Id: I27b5a68b47cab8090ad1a56d452b3211d92d1e21
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-03-29 21:26:49 +05:30
Gokul Sriram Palanisamy
c61f26e363 ARM: qca: bootipq: Removed multiple occurance of run_command
Avoids multiple mmc read for HLOS partition.

Change-Id: I1ac9b5c9c97a3702dec3beb521b3c190e07969dc
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-03-27 09:24:04 -07:00
Aditya Kumar Patra S
0e8178e9ea qca: tools: pack script for new single-image package
supports ipq40xx, ipq807x, ipq807x-64bit boards

Change-Id: I4f29dc8eed62c471b797b5b4d021b6ccdf8dbecc
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-03-22 14:39:46 +05:30
Aditya Kumar Patra S
117caa3ffb Revert "qca: tools: Modified pack.py to support new single-image package"
This reverts commit b68f13eae8.

Change-Id: I8cabf4f636d4e5a69f656a2142ee78b5fa4630d0
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-03-21 12:19:27 +05:30
Aditya Kumar Patra S
dc9ccafd96 qca: tools: Support for IPQ807x 64 bit mode in pack.py
1. User has to invoke the pack.py with mode(32 or 64) as the
third parameter.
2. If third parameter is empty, default 32 bit files will be
fetched to create single image.

Change-Id: I9aa589e88995b8f82cf6d39871f3db63235aa808
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-03-16 05:15:27 -07:00
Gokul Sriram Palanisamy
c75b95d121 ARM: dts: ipq8074: Removed timer base from device tree
We have timer enabled by default. We don't want the
register re-written as it is write protected by the
underlying layer.

Change-Id: Ided26b1e41e9e44872f224c9f91cbb0c6e984701
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-03-15 10:22:29 +05:30
Gokul Sriram Palanisamy
674e652750 ARM: qca: qup-spi: Removed unused registers from structure
Change-Id: I028018a6d9bc237ce257ee9f60bbe1ebc662eca7
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-03-14 22:51:51 +05:30
Linux Build Service Account
4723ae873c Merge "qca: tools: Modified pack.py to support new single-image package" 2017-03-10 18:10:46 -08:00
Linux Build Service Account
457fb80fcc Merge "qca: ipq806x: Fix SPI-NOR flash option value." 2017-03-10 18:10:45 -08:00
Aditya Kumar Patra S
b68f13eae8 qca: tools: Modified pack.py to support new single-image package
Change-Id: Ic791fead3f4fa64bfeb35f8b2d713aab6de38bfc
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-03-09 16:54:29 +05:30
Aditya Kumar Patra S
b55f8a1e4c ipq806x: Detach ubi on ubi volume read error.
Detach the ubi and the associated mtd device on error conditions.

Change-Id: I7b1fc798b5e03e4b2a39370697a4615139273c15
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-03-01 22:40:37 -08:00
Gokul Sriram Palanisamy
9349111a4c ARM: qca: smem: ipq8074: Update platform structure
Added a new entry in platform structure to align with smem entry.

Change-Id: I41b0e69536a625aaf791d39722b781698cffa5b6
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-02-23 15:30:27 +05:30
Aditya Kumar Patra S
35f3264a1e qca: ipq806x: Fix SPI-NOR flash option value.
SPI-NOR flash option field was uninitialized which was
giving improper flash information during sf probe.
Initialized to zero during spi initialization.

Change-Id: I26df0a491e96071d598cc281c42e32408f34d29f
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-02-21 17:39:02 +05:30
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
Gokul Sriram Palanisamy
f71a48c2df ARM: qca: ipq8074: Updated smem entry table macros
Change-Id: Ic2885f63ac7144c7d75d9ec3b0c5c2fe2f97b6f2
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2017-02-01 15:17:36 +05:30
Linux Build Service Account
d58684b93a Merge "MIPS: qca956x: Fix AP151 and AP152 target ping issues" 2017-01-30 21:09:28 -08:00
Prabhu Jayakumar
98a81200a7 MIPS: qca956x: Fix AP151 and AP152 target ping issues
This change fixes the ping issue on the AP151 and AP152
targets. The issue happens when ping is attempted for
more than one time on the same port either LAN or WAN.

Change-Id: Iad8b0da3ef15bdf12f73645625167f0ff5106df0
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2017-01-27 18:52:06 +05:30
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
Gokul Sriram Palanisamy
fbfc4db4c3 ARM: qca: bootipq: Updated to look for SoC specific config name
As ipq8064 SoC v1.0 support is now suspended, bootipq fails to
fetch the config node as it was looking for v1.0 config name.
With this change, bootipq will look for config name with SoC version.

Change-Id: I8cf7c6e279609e21a4c53e229d38aa0e2049c6b1
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-12-29 16:48:09 +05:30
Gokul Sriram Palanisamy
b023acbe25 ARM: dts: ipq8064: Added support for AK01
Change-Id: I8a466246deb119ef29cb48991b932a78480d5cd2
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-12-28 21:11:18 +05:30
Linux Build Service Account
7dea0252c3 Merge "qca: ipq806x: Removed "bootdelay" data from dtb." 2016-12-23 21:49:05 -08:00
Linux Build Service Account
1bcde63ae1 Merge "MIPS: qca953x: Enable Support for AP147 Target" 2016-12-22 20:29:02 -08:00
Linux Build Service Account
d0ce39f770 Merge "MIPS: qca956x: Enable AP151 target support" 2016-12-22 20:29:02 -08:00
Aditya Kumar Patra S
0165626534 qca: ipq806x: Removed "bootdelay" data from dtb.
Change-Id: I1aa8e7ec53e306db004a421d2c26e2a6a695f5bd
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-12-22 02:10:16 -08:00
Prabhu Jayakumar
a700195ae9 MIPS: qca953x: Enable Support for AP147 Target
this change enables the support for the AP147 target

Change-Id: Ia9dd0f63578107eb127410d752598081e9be2d85
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-12-21 22:20:30 -08:00
Prabhu Jayakumar
44bdfc09e8 MIPS: qca955x: Enable Support for AP135 target
this change enables the support for the AP135 target

Change-Id: I772cdf3a135ac327fec21c42be6248f22d3d3f83
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-12-21 22:20:10 -08:00
Gokul Sriram Palanisamy
3d9bb6e8f1 ARM: qca: ipq8064: Added support for NOR+NAND
Updates mtdparts and mtdids to add secondary NAND partition.

Change-Id: Iddf7dd7507a4c531c8247b07ff7d244db7091ef2
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-12-21 15:29:22 +05:30
Prabhu Jayakumar
b0333e0960 MIPS: qca956x: Enable AP151 target support
The following features are enabled ,
1) AP151 target specific configs are added ( mainly ethernet )
2) AP151 and AP152 share a common configuration file & Makefile
with minimal changes between them. Support for avoiding the conflict
between them is implemented.

Change-Id: Ia71b20199d43cd29ff214c1258e4b15fcd55cb6b
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-12-21 14:49:27 +05:30
Aditya Kumar Patra S
0ce2cb2d44 qca: ipq806x: SPI-NOR driver support
Change-Id: I0e6a664d825991780c03d18c8b5c0fc85bd67f66
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-12-21 01:10:03 -08:00