Commit graph

34916 commits

Author SHA1 Message Date
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
Linux Build Service Account
0fe6e3659a Merge "ipq40xx: dts: Add i2c gpios and clk frequency" 2016-12-20 18:08:46 -08:00
Gokul Sriram Palanisamy
5c0dd6970e ARM: qca: ipq8074: Added support for NOR+NAND
Change includes
1. Device tree entry for SPI_NOR GPIO configuration
2. Register SPI_NOR as psudo NAND

Change-Id: I4d271dcd2970af370975e4a8d9a78199e1cfd2a2
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-12-02 15:17:35 +05:30
Linux Build Service Account
de5e74d1b9 Merge "qca: common: include the correct headers for global descriptor data size" into eggplant 2016-12-01 22:22:42 -08:00
Prabhu Jayakumar
d870612af5 qca: common: include the correct headers for global descriptor data size
The macro GENERATED_GBL_DATA_SIZE is available in "generic-asm-offsets.h"
which is already included from the file "include/asm-offsets.h". So ,
removing the unneccessary include from the common files.

Change-Id: Ib6a820357f5f830ab3cc12b5bced6c62a2016d95
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-30 14:15:49 +05:30
Linux Build Service Account
2cb7ce9d73 Merge changes I8d729e8d,I960300c3,I20517eb6 into eggplant
* changes:
  ipq807x: Initialize TLV and CPU context dump size
  ipq806x: Initialize TLV and CPU context dump size
  ipq40xx: Added flash crashdump data support
2016-11-25 05:34:39 -08:00
Linux Build Service Account
64e15b5a30 Merge "ipq40xx: Remove mmc_init call during board init" into eggplant 2016-11-24 22:29:31 -08:00
Akila N
005e4c761d ipq40xx: dts: Add i2c gpios and clk frequency
Change-Id: I62e5acb28c6369149119cc0d7a1f0aff619f698a
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-11-24 16:21:32 +05:30
Ajay Kishore
07d4e892a9 ipq807x: Initialize TLV and CPU context dump size
This patch initialize TLV and CPU context dump size,
required for crashdump collection in flash.

Change-Id: I8d729e8dbbb25159bb0b7978c7cbb08ae6043767
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-11-23 20:22:20 +05:30
Ajay Kishore
3522095242 ipq806x: Initialize TLV and CPU context dump size
This patch initialize TLV and CPU context dump size,
required for crashdump collection in flash.

Change-Id: I960300c3ea6c97481a7c5fd551b648454c13deef
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-11-23 06:42:52 -08:00
Akila N
1ef9b1b6a1 ipq40xx: Added flash crashdump data support
This patch will support storing crashdump data
in flash with the following command from u-boot.

	dumpipq_flash_data <offset_in_flash>

It reads the TLV (Type Length Value) data passed
through kernel (from a DRAM location), extracts the
required information and writes to boot flash in the
provided offset.

This change provides a reference to add any other
information needed to be saved.

Signed-off-by: Akila N <akilan@codeaurora.org>
(cherry picked from commit 68ac327ce760c8a6b5ce1f35def3d0c4ccc0d00f)

Change-Id: I20517eb6e6fdb941101a3aa55af4cc4ee875779b
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-11-23 06:41:16 -08:00
G Dhivya
70dde8bf2e ipq40xx: Remove mmc_init call during board init
This fix removes the mmc_init that is being called during
board init to prevent error message in cases where eMMC
card is not connected.

Change-Id: I918c71c391002d24e704be30043ff0cc8dfd4f83
Signed-off-by: G Dhivya <gdhivya@codeaurora.org>
2016-11-23 15:08:29 +05:30
Gopinath Sekar
b041a1b83e ARM: qca: ipq8064: Updated smem FLASH_DENSITY field ID
Updated SMEM_BOOT_FLASH_DENSITY for a new entry in the sbl table.

Change-Id: I637457a9d93305cd13c80bb460d4e73aec4a29e6
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-11-22 21:37:50 -08:00
Akila N
327d3f1918 ipq40xx: Add support for mtest command
Change-Id: I7cdec79c27ee745538058e7884fd62ee7b29df6f
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-11-22 12:40:52 +05:30
Linux Build Service Account
46a3cf234e Merge "ipq806x: Added support for I2C diagnostics" into eggplant 2016-11-21 05:30:47 -08:00
Linux Build Service Account
decf90f8ca Merge "MIPS: qca956x: Fix gmac descriptor corruption issue" into eggplant 2016-11-21 04:22:03 -08:00
Linux Build Service Account
b9b1d68387 Merge "MIPS: qca956x: enable the pci driver" into eggplant 2016-11-21 04:22:02 -08:00