Commit graph

34898 commits

Author SHA1 Message Date
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
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
Linux Build Service Account
09cb3b08b7 Merge "MIPS: qca956x: enable the ethernet driver" into eggplant 2016-11-21 04:22:02 -08:00
Linux Build Service Account
f286af0057 Merge "ipq4019: Common dts support for nor and nor plus emmc" into eggplant 2016-11-17 01:47:40 -08:00
Linux Build Service Account
add1b4876b Merge "MIPS: qca956x: enable the flash driver" into eggplant 2016-11-17 01:33:01 -08:00
Linux Build Service Account
8c46bb2ecf Merge "MIPS: qca956x: initial changes for the AP152 target" into eggplant 2016-11-17 01:33:00 -08:00
Ajay Kishore
db05c5974f ipq806x: Added support for I2C diagnostics
Change-Id: I1287a66b25e437cd29feb755c034407ea1555ca5
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-11-16 12:21:11 +05:30
Aditya Kumar Patra S
6d2e7fc8a6 qca: ipq806x: Fixed timer driver
The logic used to calculate tick count in
_udelay() was always giving Zero. Updated
the logic to make it work across QCA boards.

Change-Id: Iebc5905003ad99e66b299de3beabb80ce40ce710
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-11-14 00:59:01 -08:00
Aditya Kumar Patra S
467a26184d qca: ipq806x: Added Ethernet support in devicetrees.
Added ethernet support to devicetrees of AP145,
AP160 and Ap161 boards.

Change-Id: Iad370852c4d3e2dc662627d2890198bb0747d03c
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-11-14 00:58:24 -08:00
Gokul Sriram Palanisamy
80391fae04 ARM: qca: ipq8074: Updated u-boot load address to 0x4A600000
Updated CONFIG_SYS_TEXT_BASE to 0x4A600000

Change-Id: Ifa8ff8e50db5d602e64b21c96964e41053bd50b1
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-11-09 20:57:41 -08:00
Gokul Sriram Palanisamy
73ded92b32 ARM: qca: Enabled command memtest
Change-Id: I2116df3b7d48819211252b1b1a4cf92dc0f285fb
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-11-09 05:42:11 -08:00
Aditya Kumar Patra S
12f0be0d05 qca: tools: Added pack.py tool support
Change-Id: Ic19f502d28525eb21c614f2ad55555a5a6ecbcf7
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-11-09 04:18:28 -08:00
Gokul Sriram Palanisamy
e178e9b65f ARM: ipq8074: Updated ipq8074 board config with ethmac count
Added CONFIG_IPQ_NO_MACS to ipq8074 board config.
Avoids compilation error in common code.

Change-Id: I45efe0d2cb92b5cfefc5f99cfcb7f94c18508e58
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-11-07 18:38:22 +05:30
Gokul Sriram Palanisamy
d92e8c6aa5 ARM: qca: Ported fuseipq command
This is required to blow the fuses in QFPROM using data at sec.dat file.
Fuseipq command is invoked with the address of sec.dat file as argument.
Fuseipq invokes scm_call to carry out this action.

Change-Id: Ib73ba61da7ad339859c4b7b4ea2378650cd96fbf
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-11-04 15:48:56 +05:30
Prabhu Jayakumar
cb833dd465 MIPS: qca956x: Fix gmac descriptor corruption issue
tftp transfer failed as gmac descriptor got corrupted.
GMAC descriptors gets addresses from malloc area that
were already used and made free by some other module.
There is a cache invalidate issue when tftp transfer
happens and gmac descriptors gets corrupted.
flush_cache is needed to avoid this.

Change-Id: I40ae7c771bcac3fade78de4454bfa3dafde4b70a
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 03:04:54 -07:00
Prabhu Jayakumar
8f7336f0a6 MIPS: qca956x: enable the pci driver
This change enables the PCI driver on u-boot for
the AP152 target

Change-Id: I7bce245595935cc844200801c24348f05054b238
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 03:04:29 -07:00
Prabhu Jayakumar
eef8109a37 MIPS: qca956x: enable the ethernet driver
This change enables the GMAC and PHY driver for
the AP152 target

Change-Id: I2d4155754092a4d04d46a40624a68296f9c8fee0
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 15:33:12 +05:30
Prabhu Jayakumar
aee2b6dbdd MIPS: qca956x: enable the flash driver
This change enables the flash driver on u-boot for
the AP152 target.

Change-Id: I9778adf4a4d347fdcce16fbfede87f765302595c
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 10:56:59 +05:30
Prabhu Jayakumar
c4c0122082 MIPS: qca956x: initial changes for the AP152 target
This change initializes the CPU PLL , configures the
timer, DRAM & enables the serial console for the
AP152 target.

Change-Id: If2a6884813250c09a856c3cb2e1783bf3940619c
Signed-off-by: Prabhu Jayakumar <pjayak@codeaurora.org>
2016-11-04 10:56:32 +05:30
Aditya Kumar Patra S
b917394e6f qca: ipq806x: Devicetree changes for ethernet support.
1. Added ethernet support for DB149
2. Added gmac_gpio node to aliases, to make
   it common across the boards

Change-Id: I18a3d3ebaac993635830d36bd7c51f91ebd6749b
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-11-02 11:45:27 +05:30