Commit graph

13654 commits

Author SHA1 Message Date
Venkat Raju Sana
2e7684f3f9 ip1807x:Initial commit for Minidump
Change-Id: If08d31ebb009d6b37ee55861644ab1f11a46ac98
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2019-03-29 12:47:06 -07:00
speriaka
71b149cba9 ipq6018: Update SPI devices and SPI info idx
This patch modifies the SPI devices and SPI
info idx to 2. This is necessary because ipq6018
platform has support for both SPI NOR and
SPI NAND

Change-Id: I0fcdd4a43cd95e4c21b738fda193672fc51bf75f
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-02-25 12:53:58 +05:30
Antony Arun T
f5e48f3e59 ipq6018: Enabling Ethernet support
Change-Id: If49c5b86fb08bda0ab29d7663fa0f8fca9a9f5bb
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-02-15 18:55:16 +05:30
Gokul Sriram Palanisamy
9189ae97f1 ipq807x: Moved ethernet PHY configs
Moved Aquantia, QCA8033, QCA8075 and QCA8081
PHY configs to defconfig.

For tiny u-boot variant, except QCA8075 all
other PHYs are disabled.

Change-Id: Iaafa848bf7d578bfa3bcdaf0cfcb815ecfef067f
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-08 01:03:04 -08:00
Gokul Sriram Palanisamy
f7b08a8210 ipq807x: Moved Peripheral configs to defconfig
Moved PCI, USB and I2C configs to defconfig and
disabled for tiny variant to reduce image size.

Change-Id: I8dfdd75057527779e7af246bea796a22d50575fc
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-07 20:47:40 +05:30
Antony Arun T
871caf2276 ipq6018: Support for new smem version
Change-Id: I2e847eface6d5604ff30ce245e767b8a9d923500
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-01-30 19:38:01 +05:30
Antony Arun T
43a967f824 ipq6018: fixing u-boot start address
Change-Id: Id836daed76ac8ed3e15c0e1e78767c61bb53b6e8
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-01-18 09:53:26 +05:30
Linux Build Service Account
95ad2c8c6d Merge "ipq6018: enable reset support" 2018-12-23 20:47:42 -08:00
Antony Arun T
13cbfa1606 ipq6018: enable reset support
Change-Id: I617c1373dda9c3c384f29d5c0f8b089a42e332a1
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-12-20 15:14:09 +05:30
Linux Build Service Account
ca968ed9fc Merge "ipq6018: Added pcie support" 2018-12-19 22:08:56 -08:00
Rajkumar Ayyasamy
929e19e29e ipq6018: Added pcie support
Change-Id: Iff5db65fd2f4391f04c8c717fa7a75d35ef5b65a
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-12-17 17:47:17 +05:30
sameeruddin shaik
ff78f91dd7 ipq6018: Adding the config_no_reloc in cypress config
making one config for relocation disabling in u-boot,
rather  than specifying target name and checking for every target

Change-Id: I99895d0f0b1c750bbb796beb3a8f3e6cd5d1a20b
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2018-12-13 19:39:15 +05:30
sameeruddin shaik
44179982b6 ipq806x: change the tftp default load address
Adjust the tftp loading address, so that it wont
try to load the files to the u-boot region in ram.

Change-Id: I8b56ce8930c534b275c157c06033ba385ccb8a04
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2018-12-13 12:23:44 +05:30
Linux Build Service Account
def2d0cf7b Merge "ipq6018: Adding support for new read id command sequence for spi nand" 2018-12-07 07:05:20 -08:00
Linux Build Service Account
e307ba9c56 Merge "ipq6018: choose spi nand bus number and cs number from dts" 2018-12-07 07:05:20 -08:00
Antony Arun T
fc4ec308a0 ipq6018: Adding support for new read id command sequence for spi nand
Some spi nand flash uses single byte read id(9FH) command,
for those devices the sequence is
byte1	byte2	byte3	byte4
9FH	MID	DID	DID
some other spi nand flashes uses two byte read id(9F 00H) command
for those devices the sequence is
byte1	byte2	byte3	byte4
9FH	A7-A0	MID	DID
The first byte is the actual command and the second byte is a dummy byte.
For devices which uses new sequence, we need to pass
appropriate read id command with dummy byte.

Change-Id: Idf2e8740f8341596cd8f58d22d5e33a4b4972a31
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-12-06 15:19:46 +05:30
Antony Arun T
51eda13d9c ipq6018: Enabling SPI nand support
Change-Id: I72a20fc90343ee85b98f9b78d321ef85e4590eaa
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-12-06 11:54:47 +05:30
sameeruddin shaik
f2741fbe5a ipq806x: Disable relocation in uboot-2016
This change will resolve the "L2 Master port decode error"
 print in the Kernel log.

Change-Id: I12fd39a85093cc1d7fab336898e039a61eeb5565
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2018-11-29 10:54:48 +05:30
Linux Build Service Account
df527e6248 Merge "ipq6018: Enable USB support" 2018-11-23 07:34:53 -08:00
Linux Build Service Account
5b4c25156b Merge "ipq6018: enabling imxtract command support" 2018-11-22 11:06:46 -08:00
Balaji Prakash Jagadeesan
74f379e8db ipq6018: Enable USB support
Change-Id: Id663a2866355c2baa5455ce848ef08d16f6038e5
Signed-off-by: Balaji Prakash Jagadeesan <bjagadee@codeaurora.org>
2018-11-22 13:24:18 +05:30
Linux Build Service Account
b5a9df1a85 Merge "ipq6018: Enable ubi command support" 2018-11-20 22:15:58 -08:00
Linux Build Service Account
caac981e1b Merge "ipq6018: Enable i2c subsytem" 2018-11-20 22:15:57 -08:00
Antony Arun T
1ac37ce878 ipq6018: enabling imxtract command support
Change-Id: I4051a51139756e348328c12abaff08452869afb6
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-11-21 11:34:38 +05:30
Antony Arun T
4755d2f8c5 ipq6018: Enable ubi command support
Change-Id: I411b95f75c19ffff17727aa751f3a6a57285caaa
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-11-20 18:56:01 +05:30
Antony Arun T
40697c440e ipq6018: Enabling bootipq command
Change-Id: I5059a07b1a436cf732848009eaebb8c29b37a136
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-11-19 10:51:42 +05:30
Antony Arun T
81eda81fc4 ipq6018: Restricting scm calls for emulations
Change-Id: Ifb8db2348f8aa02c48d0dbfd263da94260849c51
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-11-19 10:49:08 +05:30
Venkat Raju Sana
a80c2f0118 ipq6018: Enable i2c subsytem
Change-Id: Ia727b07803f738588241b8406f125ec3f9ac1472
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2018-11-15 09:56:10 -08:00
Linux Build Service Account
d1673a3783 Merge "ipq806x: Change the minimum write protect region size for Micron eMMC" 2018-11-13 12:13:01 -08:00
Linux Build Service Account
69944cd95c Merge "ipq807x: Removed unused commands to reduce footprint" 2018-11-13 05:05:00 -08:00
Vinoth Gnanasekaran
c99a4a2099 ipq806x: Change the minimum write protect region size for Micron eMMC
This change is a workaround for Micron eMMC card. As per the card
extended CSD register value, the minimum size of a write protect
region is 0x8000 blocks (16MB). So the user should give start address
and size to align with 0x8000. But this eMMC part actually does
protect 32MB of memory.

We changing the minimum write protect region size from 0x8000 to
0x10000 for Micron eMMC card.

Change-Id: Id53c337374dfba8adb6bd550826337d8ecfe17f3
Signed-off-by: Vinoth Gnanasekaran <vgnana@codeaurora.org>
2018-11-13 14:31:35 +05:30
Gokul Sriram Palanisamy
dd315b2f72 ipq807x: Removed unused commands to reduce footprint
Change-Id: Idc83e732de310c63e8f8acba281b1bd2bf78828e
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-11-12 19:46:39 +05:30
Antony Arun T
4c6e82c553 ipq6018: Enabling bootm command support
FDTHIGH is moved to 0x48700000 because the FDT
should get loaded within the linux region.

Change-Id: Idabcdeb797fe0e39382b2d3fdb54a4758c495296
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-11-12 14:49:45 +05:30
Linux Build Service Account
8de8d3ba83 Merge "Revert "ipq807x: disable PCI"" 2018-11-09 06:04:40 -08:00
Sham Muthayyan
20197dbcca Revert "ipq807x: disable PCI"
This reverts commit afe76bd642.
2018-11-08 04:57:26 -08:00
Venkat Raju Sana
f015dd1bbb ipq6018:Enable eMMC
ipq6018 suppports only SDHCI mode.

Change-Id: I55246e3d994c6db7dd84c955c7186c256fc61bd5
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2018-11-02 09:52:17 -07:00
Linux Build Service Account
fd56657921 Merge "ipq6018: Enabling support for SPANSION SPI Flash" 2018-10-16 20:48:32 -07:00
Antony Arun T
5a8b5746d1 ipq6018: Enabling access to environment variables in flash
Change-Id: Ifa35b4794ab6c917b5da34a77587b27f0b9793b8
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-16 17:22:37 +05:30
Antony Arun T
cf035b1edb ipq6018: Enabling support for SPANSION SPI Flash
Change-Id: I7c259385cc27e05fd6a87794176b36464088bc6f
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-16 11:33:27 +05:30
Antony Arun T
cb7e1ff2ce ipq6018: Adding SPI NOR support
Change-Id: I647ef1358a5d509d58b4d9874ea386e9fa64594b
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-10-11 16:37:27 +05:30
Linux Build Service Account
fba2a4ea91 Merge "ipq807x: disable PCI" 2018-09-21 18:03:40 -07:00
Gokul Sriram Palanisamy
afe76bd642 ipq807x: disable PCI
Change-Id: Ib6884d462168222566e935671277ff8a49ee0952
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-21 23:59:33 +05:30
Rajkumar Ayyasamy
377c85ed8d qca: ipq6018: Adding support for IPQ6018
Added config, dts and initial board support code for ipq6018

Change-Id: I8cdc6d43f936179733c2c27e2b52dcf3477a892e
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2018-09-20 18:49:55 +05:30
Antony Arun T
6b53042f2d ipq40xx: adding support for ESMT(GIGADEVICE) nand flash
Change-Id: Iaf99a3dd0ee79fa75ee7ad97299dcd9fe36679bb
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-09-16 21:44:03 -07:00
Tom Rini
32fb0bdbc8 compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6
Copy these from Linux v4.5-rc6 tag.

This is needed so that we can keep up with newer gcc versions.  Note
that we don't have the uapi/ hierarchy from the kernel so continue to
use <linux/types.h>

Signed-off-by: Tom Rini <trini@konsulko.com>
(cherry picked from commit 9b2c282b34)
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-09-11 22:38:44 -07:00
Linux Build Service Account
6dc84dcba0 Merge "ipq: boot: Signed Rootfs authentication" 2018-08-02 11:06:26 -07:00
Praveenkumar I
eedc337301 ipq: boot: Signed Rootfs authentication
Rootfs's certificate is appended in kernel image. Read from
there, pack it with rootfs image and validate rootfs.

Change-Id: I2b40f88e23225c17362a02f6c7868edda2a8e8bd
Signed-off-by: Praveenkumar I <ipkumar@codeaurora.org>
2018-08-01 17:09:15 +05:30
Pavithra Palanisamy
316e48fb0d qca: Add uboot-CLI command "flash"
The "flash" command erases given partition and
writes the image to flash.

Change-Id: I059414fd3d7eefeac0c626e1980a70985f2de986
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-07-13 19:48:38 +05:30
Antony Arun T
74e17d6a35 arm: qca: enable dcache command
Change-Id: I1847b41ef9e55f0e18589cf3637d3f8dcc282562
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2018-07-05 18:08:11 +05:30
Santan Kumar
b7af9b06d2 ipq40x: Added multicore support
-Device IO commands are not supported
-CPU down is supported by waiting in loop
-Need reboot to execute bootipq command

Change-Id: Id10eef0c8e5feb636716461c58ba1640dfe46658
Signed-off-by: Santan Kumar <santank@codeaurora.org>
2018-06-25 05:55:03 -07:00