Commit graph

35797 commits

Author SHA1 Message Date
Balaji Prakash J
c27270dc2e ipq6018: usb: Skip usb deinit in emulation
In emulation, during full boot chain, usb clocks are
disabled during usb deinit in uboot. In kernel,
we are using dummy clock driver for emulation.
In order for the usb clocks to be enabled while
kernel boot up, skipped usb deinit in uboot.

Change-Id: I47de9da5a6afbed524659e936eb8215e03a99ac0
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2019-02-20 08:39:18 +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
Md Sadre Alam
0164b14f3e ipq807x: Add fixed HW key support.
This change will add to support "qce_fixed_key" as
environmen variable. If "qce_fixed_key" environmen variable
set then "qce,use_fixed_hw_key" dts property set in kernel.

This property will use for fixed HW key selection.

Change-Id: I9b94d0a2b4e48dac92eccd95f42bedd8b990b723
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2019-02-13 17:07:25 +05:30
Nikhil Prakash V
18c7f6a7c9 ipq807x: Support for warm reset.
Added support for warm reset to retain IMEM state.

If dload_warm_reset environment variable is set, then dload_status and
dload_warm_reset dts entry in kernel will be set to 1. This will be used for
disabling crashdump and sdi and also to set crashdump magic to 0x20.

Change-Id: Ie8c32e9d619c910d0f12f93374ee45bc1c8379a0
Signed-off-by: Nikhil Prakash V <nprakash@codeaurora.org>
2019-02-12 18:46:02 +05:30
Linux Build Service Account
8dc1dfe500 Merge "ipq807x: Add dts support for AC03 and AC04" 2019-02-11 07:34:16 -08:00
Gokul Sriram Palanisamy
02f0b79baa pack.py: Updated base addr 64-bit kernelboot image
Change-Id: I48bcb258b42a8746e462cb27810d65300562a585
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-09 02:25:28 -08:00
Linux Build Service Account
ebec6a21fd Merge "ipq807x: Moved ethernet PHY configs" 2019-02-08 15:34:13 -08:00
Linux Build Service Account
9289c77393 Merge "ipq807x: Moved Peripheral configs to defconfig" 2019-02-08 15:34:13 -08:00
Linux Build Service Account
c6c331646d Merge "pack: ipq807x: Enable norplusnand single-image for 4K pagesized NAND" 2019-02-08 09:06:32 -08:00
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
Pavithra Palanisamy
023b054b07 ipq807x: Add dts support for AC03 and AC04
Change-Id: I97ec4d0569d9441055b6b929cd6e05e564658feb
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-02-08 12:01:06 +05:30
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
Pavithra Palanisamy
6b627e2d3f ipq807x: Add dts support for HK10
Change-Id: Ib0ecca91b70d1fd26d1a9cbc018f42b9ed37d77d
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-02-07 17:42:21 +05:30
Linux Build Service Account
b2c0e2c88f Merge "ipq807x: Added new defconfig" 2019-02-06 00:34:26 -08:00
Gokul Sriram Palanisamy
29c196b0ae ipq807x: Added new defconfig
Added a new defconfig ipq807x_tiny_defconfig
for a smaller footprint.

Change-Id: I01f6ed468b90717cc608bd108356f2ebe6dcc7e2
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-04 21:27:16 -08:00
Linux Build Service Account
e6fb823d5e Merge "ipq6018: Remove SDCC_MCI_POWER register write" 2019-02-04 21:04:48 -08:00
Antony Arun T
c7dac12ed5 ipq6018: Remove SDCC_MCI_POWER register write
As ipq6018 is not supporting MCI mode, removing MCI register write.

Change-Id: I330cd20b5b967992e86969ab6005a81e48e62506
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-02-04 17:58:01 +05:30
Pavithra Palanisamy
8bf2bc5bdf pack: ipq807x: Enable norplusnand single-image for 4K pagesized NAND
Change-Id: If3d2971d2edb9c2770cea8e0f3cefbc004a72241
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-02-04 15:55:56 +05:30
Gokul Sriram Palanisamy
c95c32e1dc pack.py Fixed kernelboot image file path
Change-Id: I15bc640c4d0df03e4b8f9372fedc39356327dd07
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-02-04 12:35:51 +05:30
Linux Build Service Account
4658cc1170 Merge "ipq6018: Ading BLSP1 SPI DEASSERT Register" 2019-02-01 07:05:26 -08:00
Linux Build Service Account
3eaa13f338 Merge "pack.py: Fixed missing '/' in the file path" 2019-01-31 11:06:36 -08:00
Linux Build Service Account
685d5e6d3f Merge "ipq6018: Support for new smem version" 2019-01-31 11:06:36 -08:00
Antony Arun T
56185bd524 ipq6018: Ading BLSP1 SPI DEASSERT Register
Change-Id: Id219000f53a6eb91f249d7c4465c076a203135a0
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-01-31 10:05:51 -08:00
Gokul Sriram Palanisamy
ac4c2b0ec7 pack.py: Fixed missing '/' in the file path
Change-Id: Ifd781c6748987e531657567291933a124ed9a478
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-01-31 14:45:14 +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
speriaka
f6b5d2b5fd ipq6018: Add support for ipq6018 ARCH in pack.py.
Change-Id: I867162d366976b8ec29635ded425fd4f1936a3b3
Signed-off-by: speriaka <speriaka@codeaurora.org>
2019-01-30 00:48:45 -08:00
Pavithra Palanisamy
e4c52487fd pack: Add check to remove tmp directory only if it exists
Change-Id: Id0d2fc419a632d4bc24258d636285348db82d15b
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-01-29 18:01:27 +05:30
Gokul Sriram Palanisamy
d917f0032a pack.py: Updated section name to reflect 'lkboot'
Updated section name to 'lkboot' that will be
used to display while flashing the image.

Change-Id: I38e66f03963bc008bdee3036e980fb4c6b930ec0
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-01-24 05:41:14 -08:00
Gokul Sriram Palanisamy
ae79231f1e pack.py: Added Kernel image packing using skales
lkboot doesn't understand FIT image and requires
kernel image to be packed using skales.

Change-Id: I27d746b459571fe15f837f08196a219fb1fa9082
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-01-24 05:40:47 -08:00
Gokul Sriram Palanisamy
41eae48e0d pack.py: Updated to support lkboot single image
LK bootloader needs kernel image with a different
image header format. Hence, we need to pack the
single image with a custom kernel image.

Change-Id: I326fa92a72beace40f92753eac13b638705aeb14
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2019-01-24 05:38:11 -08:00
sameeruddin shaik
8338952d77 ipq807x: Fix compiler warnings in u-boot
Change-Id: Icd0c082fcc5d191745e4e4242dda5a7f3b22c4f0
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-01-22 12:57:57 +05:30
Linux Build Service Account
676c973e0d Merge "Revert "ipq806x: Initialize complete ethernet subsystem for AP161"" 2019-01-20 09:34:45 -08:00
Linux Build Service Account
35beed23e7 Merge "ipq6018: fixing u-boot start address" 2019-01-20 09:34:44 -08:00
Ram Chandra Jangir
3f24ba08bc Revert "ipq806x: Initialize complete ethernet subsystem for AP161"
This reverts commit 5fe8aa41a3.

Change-Id: Ie6a7ff0e4a7b5ca40b1fcb770eac3ae8bdf7a45a
Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
2019-01-18 15:25:20 +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
Antony Arun T
b538ae8411 ipq6018: Disabling PCIe in emulation platform
Change-Id: I6b408bc4b545257eb1f211717ce0bb38080c1879
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
2019-01-17 14:44:58 +05:30
Gerrit - the friendly Code Review server
8d00a32132 Merge changes 2019-01-11 06:00:18 -08:00
Linux Build Service Account
32d3567f78 Merge "ipq806x: Initialize complete ethernet subsystem for AP161" 2019-01-11 03:04:27 -08:00
Linux Build Service Account
352d213a0a Merge "ipq807x: Fix compiler warnings for PCI driver" 2019-01-09 07:57:55 -08:00
Linux Build Service Account
1dd11d2137 Merge "ipq807x: Enable support to generate apps-only images." 2019-01-09 07:57:42 -08:00
Sham Muthayyan
168f7cdb7f ipq807x: Fix compiler warnings for PCI driver
Change-Id: I616ae06fe058b6bcfb1f9404625af002214650d1
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-01-04 04:14:10 -08:00
Sham Muthayyan
0195f6b90d ipq807x: Fix compiler warnings in Ethernet drivers
Change-Id: Ife293bc31c919aba00c30a83424d9b5114f485ba
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2019-01-04 04:14:05 -08:00
Pavithra Palanisamy
fb64e6ded8 ipq807x: Enable support to generate apps-only images.
Change-Id: I678d621be99d07321b05f34cfe626607785c882f
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-01-04 12:44:17 +05:30
Linux Build Service Account
b38b3905e6 Merge "pack.py: included lkboot in single image" 2018-12-31 13:04:35 -08:00
Linux Build Service Account
1bde547522 Merge "pack.py: included lkboot in single image" 2018-12-31 13:04:35 -08:00
Gokul Sriram Palanisamy
44cffe4325 pack.py: included lkboot in single image
Added an additional option '--lk'.
With this option '--lk' included, pack script will
use lkboot.mbn instead of u-boot.mbn for APPSBL.

This option applies to 'emmc' only image.
Other flash types will discard this option.

Applies to ipq806x and ipq40xx SoCs.

Change-Id: Ic3b5a3398e3d007fe1d144e069e62a6157b9a2ef
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-12-27 11:38:38 +05:30
Gokul Sriram Palanisamy
7b83f68369 pack.py: included lkboot in single image
Added an additional option '--lk'.
With this option '--lk' included, pack script will
use lkboot.mbn instead of u-boot.mbn for APPSBL.

This option applies to 'emmc' only image.
Other flash types will discard this option.

Applies to ipq807x SoCs.

Change-Id: Id2b6f6946f66d26e1d6c9c1c5dcec0d0fb5d26a8
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2018-12-26 21:33:04 -08:00
Saravanan Jaganathan
93d70cd30f tools: pack: Choose nand-4k only for nand
nand-4k is auto picked only for nand and not for norplusnand.

Change-Id: Id78940ebebde7d8e814a8334d11b65f69ac1520e
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2018-12-26 16:56:55 +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