Commit graph

9555 commits

Author SHA1 Message Date
Linux Build Service Account
1663d8c23b Merge "ipq: fdt_fixup: Add support for addmtdparts" 2020-04-29 03:11:21 -07:00
Saravanan Jaganathan
c78c9ed1f5 ipq: fdt_fixup: Add support for addmtdparts
Uboot passes the partition table in smem to kernel through
device tree. There is currently no method to specify
additional paritions to be created. This environment
variable addmtdparts allows users to specify new
partitions. The format is

	setenv addmtdparts <newpart>[,<newpart>,...]
	where <newpart> is  <size>[@<offset>][<name>][ro][lk]

This syntax is same as in mtdparts part definition.

	Example:
		setenv addmtdparts 100M@0x8080000(diag)

Change-Id: I91486cf5f74b0724565735f116ee1ec6722ba683
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2020-04-28 22:41:21 +05:30
Vandhiadevan Karunamoorthy
7d2cfd8f6a ipq5018: Add support for execute_tzt command
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I5ddc35daf908c894cce59808c9cb5c310417efdf
2020-04-28 10:01:09 +05:30
Linux Build Service Account
28e69e89c5 Merge "ipq5018: Tiny-nor support" 2020-04-15 13:45:54 -07:00
Linux Build Service Account
2b20ed0e91 Merge "ipq5018: Disable secure pil for ATF" 2020-04-15 13:45:53 -07:00
Linux Build Service Account
429d109cfd Merge "ipq6018: add UART clock settings" 2020-04-15 10:47:46 -07:00
Rajkumar Ayyasamy
86e3d52362 ipq6018: add UART clock settings
Change-Id: Ifb80b67e961ae2cde93bc5709330c5df932d0b4b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-04-15 10:30:05 +05:30
Vandhiadevan Karunamoorthy
de9c7a6a8b ipq5018: Tiny-nor support
This changes enable ipq5018-tiny arch config which support
ipq5018 standard board files but support only particular dtbs

This change mainly removes eMMC, Pci ,I2C & UBI command and
additional features support

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I4c92c77094d7fbc23b979f0c65f650cc89c28715
2020-04-14 23:28:58 +05:30
Vandhiadevan Karunamoorthy
b9ca7ae4a2 ipq5018: Disable secure pil for ATF
This changes disable secure pil if 'atf' env variable is set

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I8a86b313a639515375c71e78f90d08e8fc340f59
2020-04-14 21:00:59 +05:30
Gitanjali Krishna
f403ae6e97 minidump: Add u-boot env variable to test minidump
To test minidump feature, we require a method to
collect full dump and minidump binaries on a
single run for side by side comparison.

This change enables dumping of minidump and
full dump binaries consecutively when uboot
env variable 'dump_minimal_and_full' is set.

Change-Id: I846084546d3c67398d7ef7b81e87c97bcc63c609
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2020-04-09 08:55:57 -07:00
Vandhiadevan Karunamoorthy
5654b46d6d ipq5018: Fix xPU violation issue
This change will disable QPIC related clock because
all QPIC related clock setting is done by SBL.
If again we will try to access QPIC clock from u-boot
then due to xPU protection on QPIC clock register,
will generate the NOC error.

This change will also disable the global counter value
for clock source in register MPM2_MPM_CONTROL_CNTCR.
The global counter value setting is also done by SBL.

Change-Id: I2e9b11c208986fc85a5f3a8fb876c8aea083c87b
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-04-07 09:42:47 +05:30
Linux Build Service Account
1b781cfebe Merge "Revert "arm: dts: Added device-tree for CP01-C3 RDP"" 2020-04-03 10:18:01 -07:00
Kathiravan T
a9c7562f2c ipq807x: fdt_fixup: handle qti,scm_restart_reason node
restart_reason node can be either "/soc/qca,scm_restart_reason" or
"/qti,scm_restart_reason". Add support to handle this.

Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Change-Id: I6ceb35ccdb5305d8ecf39089a5bf2ef426e80a81
2020-04-01 19:27:32 +05:30
Gokul Sriram Palanisamy
5e5f04049e arm: dts: Added support for CP01-C3 RDP
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I5dbe6796b4a6fbd56095dd68eca667b35923957b
2020-04-01 13:59:03 +05:30
Vandhiadevan Karunamoorthy
854cc55efb ipq5018: Kconfig: Add pci usb & i2c config
Change-Id: Ia3cc7d6c5e3bb21390b6d6e09ef6b4fb5370a99e
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-03-20 15:42:43 +05:30
Linux Build Service Account
916afda2a5 Merge "ipq: fdt_fixup: add compatible string used in NAND driver" 2020-03-19 02:43:22 -07:00
Linux Build Service Account
0e56cf5f55 Merge "ipq6018: Adding support for ipq6018-AP-CP01-C4" 2020-03-17 18:06:52 -07:00
Rajkumar Ayyasamy
b05c7ca30f ipq: fdt_fixup: add compatible string used in NAND driver
This will enable populating mtd partitions in NAND boot
with the upstream kernel.

Change-Id: Ideb7fe11ae58964dd47db3561400d5537c9f2ade
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-03-17 12:26:40 +05:30
Rajkumar Ayyasamy
ebb903de26 ipq: tzt: add scm call return value check
Change-Id: Ic7736482a77cbf2eb08e7348ce955a5d0c1cbe37
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-03-10 16:17:56 +05:30
Praveenkumar I
bb4916874d ipq6018: Adding support for ipq6018-AP-CP01-C4
Signed-off-by: Praveenkumar I <ipkumar@codeaurora.org>
Change-Id: If54dee77a0db761bfad8c589ea856a24dffe8107
2020-03-10 13:20:21 +05:30
Vandhiadevan Karunamoorthy
3014722d36 ipq5018: update crash dump structure
Change-Id: Id43d61e412f7d5ecd1085f2ae77f8b4cf6c5890a
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-03-04 20:17:31 +05:30
Vandhiadevan Karunamoorthy
3f50b516ff ipq5018: Add Pcie support
Change-Id: Ifcb632b0cda947002e0538778484bb866f8227f8
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 22:57:03 -08:00
Vandhiadevan Karunamoorthy
bbbdb8e5ab Flash: ipq5018: Add SPI-NAND flash support
Change-Id: I45d73fdd7e7315f110e4691a7dc9fe6698c51c37
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 03:32:03 -08:00
Sham Muthayyan
6cfb727942 ipq807x: Fix the crashdump filename print
Change-Id: Icd169363a394af97df9636466231616c8deaf2b2
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-02-16 22:04:59 -08:00
Linux Build Service Account
8cb9f37252 Merge "ipq: Moved board params structure to qca common" 2020-02-14 14:42:47 -08:00
Linux Build Service Account
3cc1ae92ed Merge "nand: ipq807x: Removed nand_gpio entries from dts" 2020-02-14 14:42:47 -08:00
Balaji Prakash J
4a3b94cc98 ipq6018: fdt_fixup: Update the fdt fixup for atf case
Since, rproc upstream driver is enabled in kernel,
update the fdt fixup to patch the nosecure property
needed by the current rproc driver to skip the secure
rproc up and down. Also, add "qca,wcss-aon-reset-seq"
property needed for ipq6018 specific wcss rproc sequence.

Change-Id: Ifab40febe98e9246f14e683301036172f9c64d80
Signed-off-by: Balaji Prakash J <bjagadee@codeaurora.org>
2020-02-11 11:04:27 +05:30
Gokul Sriram Palanisamy
7f77903353 ipq: Moved board params structure to qca common
Change-Id: I58ac138f4585a64bf1a89302ec212afe133c2101
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2020-02-10 11:42:21 +05:30
Gokul Sriram Palanisamy
b8b1da8bfd nand: ipq807x: Removed nand_gpio entries from dts
Since nand configuration is fixed across all HK boards,
removing the nand gpio_entries from device tree and
adding static board param entries. This helps reduce
image footprint and opens up space for new board support.

Change-Id: I89bc11165a6cdfcdb3b4650a73cbeea17895f991
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
2020-02-07 16:54:10 +05:30
Linux Build Service Account
1ff6632005 Merge "ipq: Added validations for "dump_compressed" env variable" 2020-02-05 23:35:36 -08:00
Karthick Shanmugham
71dd01bd18 ipq: Added validations for "dump_compressed" env variable
Validations added for dump_compressed environment variable

Change-Id: Ie596103f4c8ff31a0ca25d0c23166b8bac37c75a
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
2020-01-31 11:30:30 +05:30
Linux Build Service Account
c571db2085 Merge "ipq6018: fix rootfs authentication" 2020-01-30 20:39:14 -08:00
Linux Build Service Account
367c88379a Merge "board: ipq5018: Enable gcc cbcr clk for qpic." 2020-01-28 09:39:16 -08:00
Linux Build Service Account
8dca615456 Merge "Minidump:U-Boot Optimizations for Minidump Feature" 2020-01-28 00:36:44 -08:00
Rajkumar Ayyasamy
81926317cd ipq6018: fix rootfs authentication
Copy rootfs header and then append the rootfs image
to it for authentication.

Change-Id: I3e8184fa324e779eb5aa226f65df8e03401d027a
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2020-01-28 13:19:20 +05:30
Vandhiadevan Karunamoorthy
db70e98a74 board: ipq5018: Enable gcc cbcr clk for qpic.
Change-Id: Id30214131b0ef5476437597aba70d81e48fe7c8d
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
2020-01-23 00:38:21 -08:00
Vandhiadevan Karunamoorthy
0b98a31e25 ipq5018: Enable USB support
Change-Id: I8ccc9d85a9fe5e650843a22bfe438788d031a854
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-23 13:10:39 +05:30
Gitanjali Krishna
2bc2a3a8c4 Minidump:U-Boot Optimizations for Minidump Feature
This change adds support in u-boot to handle
dumping of DEBUGFS TLV information and MMU Metadata
file.

Change-Id: Iebf67b932ba90b5081e6903c5fe44ed3105df798
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2020-01-22 12:11:00 -08:00
Sham Muthayyan
a039256740 ipq807x: Fix Noc error message
Change-Id: I2669d8180c11192ecec4a706c175487810eeaf1a
Signed-off-by: Sham Muthayyan <smuthayy@codeaurora.org>
2020-01-21 02:48:19 -08:00
Vandhiadevan Karunamoorthy
593aa8a95a ipq5018: Enable Early and Late init
Change-Id: I102678796a578945a7e7f2ccd573413419c482c2
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-06 00:25:09 -08:00
Vandhiadevan Karunamoorthy
28f53ee94c ipq5018: Enable GMAC support
Change-Id: I5505d65292cf38aeda0602d9f8d1ad703d8efedb
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-06 00:24:58 -08:00
Vandhiadevan Karunamoorthy
1555916ab9 ipq5018: Enable Crash dump support
Change-Id: Ic7a30878e1e458422ce77d5edc6eae235f7cddb6
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-06 00:24:38 -08:00
Vandhiadevan Karunamoorthy
f92636faf1 ipq5018: Enable I2C support
Change-Id: Ifd672462a78f48a51f7c0d4fc5fdfb08d9ae9d57
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-01-06 00:18:51 -08:00
Gitanjali Krishna
346d35a139 minidump: Change Metadata file name
Change Metadata file name for minidump
from MODULE_INFO.txt to MOD_INFO.txt to
avoid mismatch with T32 scripts

Change-Id: I4e56455ceaa7ba832b3882fc62a23a0b29244e83
Signed-off-by: Gitanjali Krishna <gitanjal@codeaurora.org>
2020-01-02 15:17:42 -08:00
Pavithra Palanisamy
b1b81b7267 ipq: crashdump: Adding delay for reset after usbdump
This change adds a time delay of 1 second before resetting the
SoC after USB crashdump collection, as some devices requires
spare time to flush the contents to disk.

Change-Id: I407ca5a2eb55762edd5fdb011b8464285019b18c
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-12-30 16:41:50 +05:30
Linux Build Service Account
298751b5f4 Merge "ipq6018: Move spi_clock_init function inside CONFIG_QCA_SPI" 2019-12-26 18:08:35 -08:00
Linux Build Service Account
c126ce2855 Merge "ipq5018: Enable PSCI for reset" 2019-12-25 18:31:10 -08:00
Linux Build Service Account
5d3735cfac Merge "ipq5018: Enable support for serial nand in qpic" 2019-12-25 18:31:09 -08:00
Linux Build Service Account
0adb4367d4 Merge "ipq6018: Add support to enable crashdump compression" 2019-12-24 11:35:53 -08:00
Selvam Sathappan Periakaruppan
d7d23e8d8e ipq6018: Move spi_clock_init function inside CONFIG_QCA_SPI
This change is necessary to fix the werror we get during
compilation after disabling SPI Flash.

Change-Id: Ica45e5d6d3cee1a67841f029322a84b6034d2195
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
2019-12-24 00:12:08 +05:30