Commit graph

35007 commits

Author SHA1 Message Date
Gokul Sriram Palanisamy
c2a95f152f ARM: ipq8074: Added support to patch soc_id
This patch enables reading soc_id form smem required by
thermal deamon in kernel and patches it to kernel dtb.

Change-Id: If4d68d10e47eeed26a9c2867f40abc18d9027812
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-24 18:45:31 +05:30
Gokul Sriram Palanisamy
908aefaa1b ARM: qca: ipq8074: Added support for HK05 and HK06
Added device tree to support for HK05 and HK06 boards
based on ipq807x SoC.

Change-Id: I78a49340cbfc6c4f6c4ee5a3171cc1b6dd6ad1ed
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-19 15:18:13 +05:30
Linux Build Service Account
6833bab340 Merge "ARM: ipq8064: Added CONFIG_ENV_RANGE" 2017-07-15 17:55:29 -07:00
Aditya Kumar Patra S
75bf44bef1 tools: Fixed rootfs partition name for norplusnand and emmc images
Change-Id: Ibb684dc288460f0d1e8719b093766d80f535db18
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-07-12 17:22:10 +05:30
Gokul Sriram Palanisamy
66e7fc668e ARM: ipq8064: Added CONFIG_ENV_RANGE
Change-Id: I5150019b90d5b283b522ed34ccf9d43367fa15cf
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-11 08:04:11 -07:00
Gokul Sriram Palanisamy
c75090661c ARM: fdt_fixup: Enable multiple ethaddr
Enabled to set multiple ethernet mac addresses
from ART partition into u-boot environment which
in-turn will be patched-up into the kernel dts.

CONFIG_IPQ_NO_MACS should be set accordingly.

Change-Id: I72d1324789685d25adcb3f5c4fb1b54151098f62
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-11 08:03:30 -07:00
Sham Muthayyan
07bc207dcb ipq40xx: Enable the additional uart in ipq40xx
Change-Id: I00113845731b679472fe0e0224b69560673e8bd3
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-10 11:02:01 +05:30
Sham Muthayyan
956b528723 ipq806x: Enable the additional uart in ipq806x
Change-Id: I34d8f6dbb904fbee9b1fb453e968a5ac932320bf
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:58:25 -07:00
Sham Muthayyan
b5f4069981 ipq807x: Enabled Second UART for IPQ807x
Change-Id: I85c365afb506e631d3dc2a6128a328b1f6710731
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:58:18 -07:00
Sham Muthayyan
9841ffefc8 ipq807x: Added the baud rates support
Change-Id: I099488e7a0a74669b974c6892022922c3f14610a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-06 23:57:02 -07:00
Sham Muthayyan
7195fa74b2 ipq807x: Added the 2nd UART clocks
Change-Id: I057848f175778c08187fad1991d5ae00422c0793
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-05 06:03:06 -07:00
Sham Muthayyan
129c2856e1 qca: Add additional UART support
Change-Id: Iddcf30d232f1a7767e3523791b5f34d4d2cbcc0c
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-05 06:02:51 -07:00
Gokul Sriram Palanisamy
622fd6199b ARM: qca: Added fdt-fixup for RPM version
Added fdt-fixup for patching RPM version string
to kernel device-tree that may be required for
test automation and build component information.

Change-Id: I6dedecbe17ecea1a211e3d0a8d64aa1f3835f821
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-03 15:37:13 +05:30
Gokul Sriram Palanisamy
e700f9ba7e ARM: qca: Moved boot_version and tz_version
Moved properties boot_version and tz_version
to root node to make it compatible with other
board configurations to facilitate consistent
test automation across boards.

Change-Id: I3046a571f75eb5430f4b50b00f9fd8a7467724fe
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-07-03 12:05:30 +05:30
Vasudevan Murugesan
2e6fe13ebc ipq807x: Added USB de-initialization functions
Change-Id: Ia6877dfd96a65c2808cc67baa1eaa53afb924e80
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-06-30 06:15:57 -07:00
Vasudevan Murugesan
69c3fa2774 ipq807x: usb: Enabled USB2 phy support
Change-Id: I7753c866aafe5c9ec8d4ccf0daa7210b24ed2c95
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-06-30 06:15:32 -07:00
Linux Build Service Account
2613c4d9f4 Merge "qca: scm_call: Added wrapper for image authentication" 2017-06-30 02:53:55 -07:00
Sham Muthayyan
6f1452c953 ipq807x: Deinit pcie before loading kernel
Change-Id: I22fe87dac2fd8f55978481fae71ee65281dfd204
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-06-29 08:53:06 -07:00
Manoharan Vijaya Raghavan
e47e3e516c qca: scm_call: Added wrapper for image authentication
Added a scm_call wrapper for kernel image authentication
required during secure boot flow.

Change-Id: I3c2853219128d24131aa6113f35d6998f2303a34
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-28 15:03:46 +05:30
Gokul Sriram Palanisamy
0255772918 ARM: env: Added support for variable env sizes
Kernel fw_env config has statically defined env size
to 256KB on NAND and eMMC and 64KB on NOR flash which
requires u-boot also to be configutred the same way.

This change configures env to support differnt env sizes
and preserves the APPSBLENV and avoids CRC mismatch.

Change-Id: I55f33c17953beb8e97ebe89f215549b6eefc1a48
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-28 12:21:20 +05:30
Gokul Sriram Palanisamy
86f7fe94c9 ARM: Enabled DEVICE_NULLDEV
Enabled DEVICE_NULLDEV to redirect
unwanted console prints.

Change-Id: I6ca436686860d938cdd6dd28cd4da545c91f09c8
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-24 07:41:05 -07:00
Linux Build Service Account
7d99c6a2ca Merge "qcom: nand: configure QPIC XFER STEPS registers" 2017-06-24 02:46:25 -07:00
Linux Build Service Account
cfccdd00d5 Merge "sysupgrade: Add sysupgrade support for signed images." 2017-06-23 19:13:40 -07:00
Abhishek Sahu
4d61ddbda3 qcom: nand: configure QPIC XFER STEPS registers
The QPIC XFER STEPS will not be configured in non NAND boot
mode and the data transfer speed will be very slow. Now this
patch reads the timing parameter from ONFI page and configures
the NAND XFER STEPS registers for highest supported ONFI mode.
For NON ONFI device, it will configure to default mode.

Change-Id: I2daf4a92255307efc53db9bb7fe2f02e8c00c3fa
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
2017-06-22 23:48:48 -07:00
Gokul Sriram Palanisamy
b225631e62 ARM: dts: ipq8074: Added device tree for DB boards
Added individual device trees for DB.HK01 and DB.HK02
boards to manage their configurations individually.

Change-Id: I5846b08a11febd5e7559b08b558245dc4f75c70e
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-21 02:56:08 -07:00
Gokul Sriram Palanisamy
ef29fc660d ARM: env: Removed write protection to 'ethaddr'
By default, u-boot enables write protection to
environment variable 'ethaddr'. However, we need
it configurable by the software.

Defining CONFIG_ENV_OVERWRITE enables this feature.

Change-Id: I1f17ce7769dc09ef42cfb09933e01a1bd5f2bb86
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-21 02:55:14 -07:00
Linux Build Service Account
59664511d0 Merge "qca: mmc: Enabled support for using backup GPT" 2017-06-20 09:40:39 -07:00
Gokul Sriram Palanisamy
aa6e373d7a ARM: fdt_fixup: Added rproc auto-restart support
Added support to patch kernel device tree
for Q6 auto-restart using rproc framework.

Change-Id: Id2deb5e10347aede9ef8ff9e17db46d60fb82058
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-19 22:12:09 +05:30
Vasudevan Murugesan
e080434b2f qca: mmc: Enabled support for using backup GPT
This patch enables support to use backup GPT in case the
primary GPT is corrupted.

Change-Id: Ied7edc5a4f86395f264299576cb92efdc92d30e0
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-06-19 05:25:35 -07:00
Gokul Sriram Palanisamy
2fa321aafc ipq8074: dumpqca: Updated RAM dump size
Now, crashdump will dump complete RAM area
based on RAM available on-board.

Change-Id: If747f43f16e047bb5ef1556f659da90c2979d513
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-16 16:33:13 +05:30
Varadarajan Narayanan
3d9a317333 spi: qcom: Fix spi probe issue
Cleared dynamically allocated region for spi global data
to avoid garbage values causing data abort.

Change-Id: Ie278cb3a1374d347d7dfb20b59059dfbf9a7ae42
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-15 15:34:37 +05:30
Gokul Sriram Palanisamy
6760565641 ARM: ipq8074: fdt_fixup: Added support to patch usb mode
This patch enables user to choose usb mode of port 0 in kernel.
By default, usb port 0 will be in host mode.
By setting an environment variable 'usb_mode' to "peripheral",
user can force port 0 to device mode.

Change-Id: Ib18d4db387ace1a0fa4fa1a74cffbc47464160f8
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-15 14:25:47 +05:30
Linux Build Service Account
025bb86829 Merge "ARM: ipq8074: Updated u-boot text base address" 2017-06-13 09:50:33 -07:00
Gokul Sriram Palanisamy
1a3b94d78b ARM: ipq8074: Updated u-boot text base address
Change-Id: I2c226a2e1c748d59189bdcfc7bc6c98afe874c7f
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-12 04:31:32 -07:00
Jaiganesh Narayanan
67e7d1b728 ipq807x: Initialize ethernet only if it is needed
Initialize ethernet module only if network communication is needed.
This change is introduced to save the boot up time of the AP.

Change-Id: I318a3e897fe511accef37667af1a6c46ae31db6e
Signed-off-by: Jaiganesh Narayanan <njaigane@codeaurora.org>
2017-06-12 03:33:51 -07:00
Saravanan Jaganathan
d5b694bc11 ARM: qca: Enabled run command
Change-Id: Iab94a30cfb4b4460b2a6430db2c7c8e81e4df32a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-06-11 23:54:26 -07:00
Gokul Sriram Palanisamy
a869486d29 ARM: dumpqca: Fixed aligned access issue
Fixed aligned access issue with RPM MSGRAM.

Change-Id: Ia9718dced1eaa897cca8e56bfbe525fec3a624bb
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-10 21:31:52 -07:00
Linux Build Service Account
5d5bd81507 Merge "Revert "ipq: Enabled crc32 command"" 2017-06-10 12:13:11 -07:00
Linux Build Service Account
290254f7d1 Merge "ARM: qup_spi: Enabled bam support for spi-nor" 2017-06-10 12:13:11 -07:00
Gokul Sriram Palanisamy
7e3a647968 Revert "ipq: Enabled crc32 command"
This reverts commit adc145b30e.

Change-Id: Ica9583b32b1d228469926e8888b03ab3d8814946
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-08 17:15:24 +05:30
Gokul Sriram Palanisamy
3a93d3ccb9 ARM: qup_spi: Enabled bam support for spi-nor
Change-Id: I7bf9335ed5c0e6a439c5a4169319f1d422e1ae7d
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Signed-off-by: Gopinath Sekar <gsekar@codeaurora.org>
2017-06-08 12:45:42 +05:30
Sachin Sundar
1ed5f5b1a2 sysupgrade: Add sysupgrade support for signed images.
Change-Id: I2b4a5aeaa311e08ec59f70c3a9e3a88e11dc10f1
Signed-off-by: Sachin Sundar <ssundar@codeaurora.org>
2017-06-08 11:18:32 +05:30
Gokul Sriram Palanisamy
f5993e4346 ARM: qca: Added bam support for spi devices
Change-Id: I7f43c4a4d817fd727a43eb767aeae3fc001ca37c
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-07 06:26:13 -07:00
Gokul Sriram Palanisamy
84472cb4a4 ARM: dts: Added aliases to pci devices for HK02
Change-Id: I2d292564063fdfe99b33db8ae717cdf7723265df
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-07 06:24:31 -07:00
Gokul Sriram Palanisamy
ac91142257 ARM: ipq8074: Fixed multiple declaration warning
Removed multiple declaration of CONFIG_QCA_APPSBL_DLOAD

Change-Id: I3be27adc588cb7615925913ed984261de4123806
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-06 15:09:59 +05:30
Gokul Sriram Palanisamy
f5d84614f5 ARM: ipq8074: qca_scm_sdi_v8 api is made specific for armv8
Change-Id: I3996e3e3632a72c20c1c69f97335a939f707c392
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-06-04 23:37:03 -07:00
Linux Build Service Account
baa55e7914 Merge "ipq: Enabled crc32 command" 2017-06-03 17:13:06 -07:00
Saravanan Jaganathan
adc145b30e ipq: Enabled crc32 command
Change-Id: I07c406aacefc335e7f31e1f1c610dce6bde67967
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-06-04 00:24:09 +05:30
smuthayy
639c27e64e ipq807x: Fixed the PCIE linkup failure leads to crash
If the PCIE cards are not connected, executing the pci
commands lead to the crash.

Change-Id: Id68ab1a39bfc3319d17af2fe6a3c8d4c1af039b0
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-06-02 14:47:25 -07:00
smuthayy
0613a0b89c ipq807x: Enabled the PCIE
Change-Id: Iecd166a5a88ce563f02ebc0cae1b3b81ab5884ed
Signed-off-by: smuthayy <smuthayy@codeaurora.org>
2017-06-02 14:46:46 -07:00