Commit graph

35036 commits

Author SHA1 Message Date
Linux Build Service Account
39b207217d Merge "ARM:cache-cp15: Set Domain Access Control Register" 2017-08-22 20:16:26 -07:00
Linux Build Service Account
ee2d084fd8 Merge "ipq807x: dts: Added devicetree for HK01-C2 board" 2017-08-22 20:16:25 -07:00
Ramesh Muthusamy
0afdc8209b ipq807x : Enabling MDIO C45 and Uniphy3 support
Change-Id: I9236aa2861a004a030e7e88403302d5e09949ad7
Signed-off-by: Ramesh Muthusamy <rmuthusa@codeaurora.org>
2017-08-22 15:00:18 +05:30
Gokul Sriram Palanisamy
914c8702bc ipq807x: dts: Added devicetree for HK01-C2 board
Change-Id: Ic175f0737c08579220945e0abecfb9ab7b968518
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-22 14:50:53 +05:30
Gokul Sriram Palanisamy
fd0bc4b933 ARM:cache-cp15: Set Domain Access Control Register
A processor can execute instructions from a memory
region only if the access permissions for its
current state permit read access, and the XN
bit is set to 0.

The domain access is to be set as "clients"
for proper functioning of XN bit.

Change-Id: I86daffa828fa7b2fa365e358ef7042630ab98d60
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-22 02:01:19 -07:00
Gokul Sriram Palanisamy
9dc890a648 ipq807x: Reset operation through PSCI
Change-Id: Ib1f2e8f7990101aaa48c3bc259ec293008efca02
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-17 00:02:58 -07:00
Venkat Raju Sana
71c93c6ee1 ipq807x: Increase size of CONFIG_SYS_MALLOC_LEN
UBI is memory greedy and needs more malloc area
while accessing  above 256M of Flash.

Change-Id: I2521eedaf483e104bcb37886003085ed74c8bf0c
Signed-off-by: Venkat Raju Sana <vrsana@codeaurora.org>
2017-08-14 13:38:32 -07:00
Gokul Sriram Palanisamy
fbc358204d ARM: eMMC: Updated number of alternate partitions
Updated number of alternate partitions and
alternate partition data structure to match
smem entry.

Change-Id: I62484e369ed3d35037237fde2d71f9af045e438a
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-10 19:00:47 +05:30
Manoharan Vijaya Raghavan
5ed3415978 ipq807x: timer: Add get_ticks() and get_tbclk() API
get_ticks() will return the timer counter value.
get_tbclk() will return the timer frequency.

Change-Id: Ib698f1c1d58403ae22381b6de8c6518beb4c34cf
Signed-off-by: Manoharan Vijaya Raghavan <mraghava@codeaurora.org>
2017-08-09 07:37:25 -07:00
Gokul Sriram Palanisamy
3f2b61ee41 ARM: qca: Updated support for crashdump onto flash
Increased context_dump size from 2K to 4K
for ipq8074 SoC.

Change-Id: I5f10c0f4081c6ebe155599bb2575b1347e1933d1
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-08 03:33:23 -07:00
Linux Build Service Account
36eece43ac Merge "ipq807x: Change the I2C speed to 400KHz" 2017-08-04 08:02:17 -07:00
Linux Build Service Account
d3329bc9cf Merge "ipq807x: Splitting EBICS dump if the size is greater than 1GB" 2017-08-04 08:02:16 -07:00
Linux Build Service Account
40972e4b2f Merge "common: nvedit: Support old format env default command" 2017-08-04 08:02:15 -07:00
Sham Muthayyan
d6372425b9 ipq807x: Change the I2C speed to 400KHz
Change-Id: I5498e07c18d44e07a93d81ffbbf3d40eb3ba2e66
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-08-04 01:34:15 -07:00
Gokul Sriram Palanisamy
a62e9c2e84 ipq807x: Splitting EBICS dump if the size is greater than 1GB
Change-Id: I043b124bef299e13147299e0c9e921520b17b1a5
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-03 20:24:25 +05:30
Gokul Sriram Palanisamy
4e88bbf154 ARM: qca: scm_call: Added fuseipq support
Added scm_call wrapper to support fuseipq
command to work with 64 bit scm_call.

Change-Id: Ie1fd2925e9f7ed5b3eb57eb44b1c360d0d7de916
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2017-08-03 18:25:47 +05:30
Aditya Kumar Patra S
d1afc220e5 common: nvedit: Support old format env default command
Change-Id: I5148f77bc4b616207ae1e8cf6e0cb2c04fdd5de3
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
2017-08-03 05:36:44 -07:00
Linux Build Service Account
9c30999bb6 Merge "qcom: nand: fix NAND dummy spare area programming" 2017-08-03 05:36:34 -07:00
Linux Build Service Account
16562b7f20 Merge "qcom: nand: fixed the 8 bit NAND ECC support" 2017-08-03 05:36:34 -07:00
xiaofeis
4077f42d0a uboot: make port 5 work on 1000Mhz speed
Change-Id: Ic7e2724ae2ce08895c779ed166fca2a9a0dd6868
Signed-off-by: xiaofeis <xiaofeis@codeaurora.org>
2017-07-31 00:28:35 -07:00
Linux Build Service Account
4031462b20 Merge "ipq807x: Fixed flash ID for MX25U3235F" 2017-07-28 01:41:39 -07:00
Saravanan Jaganathan
95dee047a3 ipq807x: Late init now reads MAC address from ART
Change-Id: I1bb4ecdf0b73cc09af25985b3deb773b4c13db1b
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2017-07-28 00:04:21 +05:30
Vasudevan Murugesan
6ebedacfc5 ipq807x: Fixed flash ID for MX25U3235F
Change-Id: Ie9e2224b963428386f6970ef5950a9d04ac3cad8
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-07-27 02:15:14 -07:00
Linux Build Service Account
4d87eb54cd Merge "ARM: ipq8074: Added support to patch soc_id" 2017-07-24 16:15:16 -07:00
Linux Build Service Account
dac36978c7 Merge "ipq807x: Set the NSS ports clock and MAC speed dynamically" 2017-07-24 16:15:15 -07:00
Sham Muthayyan
380e06a648 ipq807x: Set the NSS ports clock and MAC speed dynamically
Change-Id: If4cbff1a939fb165b2aef04d81e93b531789c8ed
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2017-07-24 07:52:00 -07:00
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
Vasudevan Murugesan
7c6548ed00 ipq807x: Enabled FAT filesystem support
Change-Id: I343a063cc89f7a2c948a8f97c8be4ee43bfabe7e
Signed-off-by: Vasudevan Murugesan <vmuruges@codeaurora.org>
2017-07-24 05:12:23 -07:00
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
Abhishek Sahu
98c1c8e9db qcom: nand: fix NAND dummy spare area programming
NAND_CMD_PRG_PAGE_ALL uses the spare data from buffer itself
which is not applicable. The spare area in NAND page for
QPIC are dummy bytes so 0xff should be written to these
spare area. NAND_CMD_PRG_PAGE does the same thing and HLOS
driver uses this command for all page program
operations.  The actual spare data is being written along
with every codeword since the codewords size is 516 in which
512 bytes are user data and 4 bytes are spare data.

Change-Id: I5651caf5ea95f046570e8318f59e140398869ece
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
2017-06-26 04:33:46 -07:00
Abhishek Sahu
25137add04 qcom: nand: fixed the 8 bit NAND ECC support
1. This driver is directly being registered with MTD
   layer so for OOB operations, the device OOB size will be
   passed. QPIC can’t handle the complete OOB so calculate QPIC
   supported OOB size and overwrite the device OOB size with
   QPIC supported OOB size.

2. OOB available calculation was wrong. The available OOB’s are
   4 bytes per codeword.

3. Raw configuration codeword size was hardcoded to 528 while 8
   bit ECC codeword size is 532.

Change-Id: Idc118e2fdd9882758da9dc6b1e977e04697a5640
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
2017-06-26 04:33:36 -07:00
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