Commit graph

13452 commits

Author SHA1 Message Date
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
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
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
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
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
b9b1d68387 Merge "MIPS: qca956x: enable the pci driver" into eggplant 2016-11-21 04:22:02 -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
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
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
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
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
Gokul Sriram Palanisamy
13e938b53d ipq806x: Added support for compressed dtb images
This commit lays a foundation for packing multiple dtb
images in a single itb image, by supporting compressed dtb
images. This is basically to support all boards across
different soc versions in a single itb image.
The plan is to compress the dtb images, so as to save flash space.

Change-Id: Iba81e311cfda55696209cf99c81e062980629871
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-26 17:04:12 +05:30
Manoharan Vijaya Raghavan
f6e3a7cfb2 ipq8064: Increased malloc size to an additional 256KB
Single image flashing fails with error: memory not allocated.
Increasing the malloc size to overcome this error.

Change-Id: If3e365ebd949eaf1e1d8153c63177099360a8f98
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-19 16:32:04 +05:30
Gokul Sriram Palanisamy
9915ab836d arm: dts: ipq8064: Added support for DB149, AP145 and AP145_1xx.
Added device tree to extend support for DB149, AP145, AP145_1xx.

Change-Id: Ief0fdcc521bb3c884ada04dfece27bce47d00c9f
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-17 02:56:45 -07:00
Sham Muthayyan
7da9e191b4 mtd: nand: Fixed the nand controller for IPQ806x
Change-Id: I3d5ca487d809f72f3b2015f7dd02eb5b4daf536d
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-10-17 02:34:24 -07:00
Sham Muthayyan
55a105ea74 qcom: ipq: Add nand specific header files
Change-Id: Ie3a269d67589a3eaa2805212ec15fd6ddeac120a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-10-14 06:58:18 -07:00
Ajay Kishore
e11ebd407d ipq806x: enable saveenv command
Change-Id: If57cde6fb84da52dfb9cb21d1018dcfd82773989
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-14 18:26:59 +05:30
Linux Build Service Account
8db2cb33b6 Merge "ipq806x: Fixed compilation errors" into eggplant 2016-10-14 02:54:32 -07:00
Ajay Kishore
b3ba04edb8 ipq806x: Enabled board late init support
Change-Id: Ic5705320231f88b2249ed40d2158a8382669121b
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-14 13:17:21 +05:30
Ajay Kishore
3411acc4a9 ipq806x: Enabled default boot delay time
The default timeout is 2 seconds.

Change-Id: Ife40362e9afab668c42cb025ab1bc453334cd01e
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-14 13:14:18 +05:30
Ajay Kishore
84fd1890ce ipq806x: Fixed compilation errors
Change-Id: I00bc9fdc5fb58a0b4d63b90c416508e07ab49f25
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-14 13:05:41 +05:30
Gokul Sriram Palanisamy
c5d203be8e ipq806x: Creates u-boot.mbn by adding mbn header
Adds support to add mbn header to u-boot.bin as mbn header is needed by
sbl of all boards with ipq806x soc. A python script at tools/mkheader.py
is included which creates u-boot.mbn from u-boot.bin.

Change-Id: I070d82d9af0ed772cd4970b8fde152a8e3068823
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-12 08:58:50 -07:00
Gokul Sriram Palanisamy
f5c7ca631b ipq806x: Enables bootipq support
This gerrit adds missing configs and config_name
device tree entry to enable bootipq support for AP148.

Change-Id: If1fb4aa1a3d7d7091b31f882a24f775ced6df52f
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-10-12 20:22:03 +05:30
Ajay Kishore
0effc6b7f9 ipq806x: Fixed compilation warning
Change-Id: Ifbabe06bdad546d70018448253cb7df107f9001a
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-12 13:02:40 +05:30
Ajay Kishore
623a60fb2a ipq806x : Enable crashdump support
Change-Id: I0d0d45ad3f35f6d7e49ec96c9b29b6a9dcdc919e
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-12 10:28:19 +05:30
Aditya Kumar Patra S
d2639a4f08 qca: ipq806x: Adding ethernet init sequence.
1. Added Ethernet and switch init calls.
2. Added GMAC config info to Devicetree.
3. Enabled Network components in config file.

Change-Id: I1704b01ca9f991934045a2d23f52d1af0f490aab
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 01:41:29 -07:00
Aditya Kumar Patra S
f8b348e00b qca: Made IPQ806x specific changes to common boardinit and bootipq files.
1. Modified common bootipq command file to support IPQ806x.
    2. Modified common board initialization file to support IPQ806x.

Change-Id: I1fdd93037b885eefea0c5ddede9436861dd485b3
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-10-07 14:09:49 +05:30
Ajay Kishore
55ae0d19fb ipq807x: Enable crashdump support
Change-Id: Ie404c042c6222c12f25632078b3db96af2522fc7
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-05 11:30:05 +05:30
Ajay Kishore
3491df2edd ipq40xx : Enable crashdump support
Change-Id: Ibd3b04dcc7870be1922409f81f3011b7edac35bc
Signed-off-by: Ajay Kishore <akisho@codeaurora.org>
2016-10-04 06:52:29 -07:00
Akila N
39d25efe1d Adding support for imxtract command
Change-Id: I786b46f256592d8311c2f9e0f9a971b36436a3cb
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-30 02:35:36 -07:00
Sham Muthayyan
ef5b429ab2 ipq807x: Add PCIE support for IPQ807x
Change-Id: Iba6db5caf405b4fe4f1668dc6462504e41d5d219
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 02:00:01 -07:00
Sham Muthayyan
dbc99acc0c qcom: pci: Enable PCI support for ipq40xx
Change-Id: I32506cf862a0ab83a05070fa9cfba9f09a96ddd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2016-09-29 14:29:01 +05:30
Akila N
d3cefa47c5 ipq40xx: Adding ethernet init sequence
Change-Id: I3401f99e89e9dd3af952f70437524eadf3a1a80a
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-13 14:41:41 +05:30
Akila N
d054154f3c ipq40xx: Add edma config info to dts files
Change-Id: Ib30993cb637315d1c9967a1b5297e48101bb7e09
Signed-off-by: Akila N <akilan@codeaurora.org>
2016-09-13 14:24:42 +05:30
Gokul Sriram Palanisamy
19737c0717 ipq8074: Adding configs to enable board initialization routines
This gerrit enables the common code to work for ipq8074.

Change-Id: I41d550ae31bf2c32af2279cac8b59f136a17f6f8
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-09-01 22:14:21 -07:00
Gokul Sriram Palanisamy
234dc3a733 qca: Moving fdt fixup related routines to a common file
Adding a common file fdt.c and moving fdt fixup related routines
to this file to keep them generic.

Change-Id: I863135fc79f52eb35789605b8e240c637db0e02a
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-09-01 06:50:13 -07:00
Gokul Sriram Palanisamy
35ee65208c qca: Moving board initialization routines to a common file
Adding a common file board_init.c and moving board initialization
related routines here to keep them generic.

Change-Id: I0694d8db9d7c5a7f745c623d12551bf112f11b78
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-30 16:37:43 +05:30
Gokul Sriram Palanisamy
ddd2d641fe qca: GPIO: Moved GPIO bit value macros to dt-bindings
1. Moved gpio structure declaration to gpio.h
2. Moved gpio configuration bit value macros to dt-bindings

Change-Id: I9da1cc3703a92e02cfa86765c8d4afe5321fed35
Signed-off-by: Gokul Sriram Palanisamy <gpalan@codeaurora.org>
2016-08-12 15:15:01 +05:30
Aditya Kumar Patra S
69d8838ba5 qca: ipq: Added common GPIO driver.
Added device tree based IPQ common GPIO driver.
Updated device tree with uart_gpio data.

Change-Id: I4752609a766716d3bdd97f6ca1c1c20ffa3caa47
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-09 00:14:30 -07:00
Aditya Kumar Patra S
d28e6f633f qca:ipq806x: Added board configurations
Change-Id: Ibb9abe23daf78b5a7098240e86a58458e32a4775
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-05 03:01:42 -07:00
Aditya Kumar Patra S
c56a3e8e2a qca: ipq806x: Adding support for IPQ806x
Added files are taken as is from coconut/collard branch.
arch/arm/cpu/armv7/qca/ipq806x/clock.c:
https://source.codeaurora.org/quic/qsdk/oss/boot/u-boot/commit/arch/arm/cpu/armv7/ipq/clock.c

Note: The path of clock.c file is changed in eggplant branch
from "arch/arm/cpu/armv7/ipq" to "arch/arm/cpu/armv7/qca/ipq806x/"

include/configs/ipq806x.h:
https://source.codeaurora.org/quic/qsdk/oss/boot/u-boot/commit/include/configs/ipq806x_cdp.h

Note: In eggplant branch the name of board configuration header file
is changed from "ipq806x_cdp.h" to "ipq806x.h".

Change-Id: If0ca7ad8277c022f8967a1a189798f965b63ea29
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2016-08-05 03:00:56 -07:00
Gowtham Siddarth Dhandapani
2a12ef637f qca: ipq40xx: Enabled full boot chain for eMMC
Change-Id: I5e795ff87d2c7a28ef5bd6cf2bbaabdc26cd48e7
Signed-off-by: Gowtham Siddarth Dhandapani <gdhandap@codeaurora.org>
2016-08-05 14:54:10 +05:30
Linux Build Service Account
77a3314d88 Merge "Revert "env_mmc: add mmc_get_env_addr() prototype"" into eggplant 2016-08-05 00:13:52 -07:00