Commit graph

36305 commits

Author SHA1 Message Date
Linux Build Service Account
8a67c4a29d Merge "board: ipq50xx: Initialize qpic nand only if rdp's has nand support." 2020-05-08 16:43:38 -07:00
Linux Build Service Account
830d6e3ea4 Merge "ipq5018: Add support for BT debug fdt fixup" 2020-05-08 08:39:45 -07:00
Md Sadre Alam
e5d962423b board: ipq50xx: Initialize qpic nand only if rdp's has nand support.
This change will add condition check based on dts property
status ="okay" and status = "disabled" for qpic nand initialization.

qpic_nand init will get called if and only if the corresponding
dts file will set the status="okay" for nand-controoler node.

if status="disabled" then qpic nand initialization will be skipped.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Iea3069ee7b0e54635b991e6d932ac9273b26fe0f
2020-05-08 16:29:14 +05:30
Linux Build Service Account
190eec8139 Merge "driver: nand: qpic: Enable default clock setting for qpic." 2020-05-08 01:12:16 -07:00
Linux Build Service Account
8011644ef3 Merge "arm: dts: ipq50xx: Remove duplicate nodes from dts." 2020-05-08 01:12:16 -07:00
Md Sadre Alam
4d380489d5 driver: nand: qpic: Enable default clock setting for qpic.
This change will enable default clock setting QPIC block.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I12396dc9776c611df69216bad1471a988130b22d
2020-05-07 20:45:20 +05:30
Linux Build Service Account
6870c76758 Merge "arm: dts: ipq50xx: Add separate dts file to support eMMC." 2020-05-06 14:38:59 -07:00
Linux Build Service Account
bcb64aee5b Merge "ipq5018: Tiny U-boot: Add thumb2 support" 2020-05-06 10:10:56 -07:00
Vandhiadevan Karunamoorthy
13401122aa ipq5018: Add support for BT debug fdt fixup
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ic1b8e4e566f63d4bf007435d0690ceee6c926297
2020-05-06 21:13:57 +05:30
Md Sadre Alam
8e2a19d7d2 arm: dts: ipq50xx: Remove duplicate nodes from dts.
This change will remove duplicate nodes from dts
and update machine id.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I62f7868fe6b7c4b5eeb0f16e9ea65099cbb40f01
2020-05-06 13:13:42 +05:30
Md Sadre Alam
d07f150ce6 arm: dts: ipq50xx: Add separate dts file to support eMMC.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I28988066d0e75d5eec950a89c80fee5b13ca9df0
2020-05-05 18:34:33 +05:30
Saravanan Jaganathan
e3cb69348b tools: pack: exit with error code when pack fails
change print to exit with error code so that we know
when an image packing fails

Change-Id: I55b791c226de1c6b2d40c4886a43b301c58aa644
Signed-off-by: Saravanan Jaganathan <sjaganat@codeaurora.org>
2020-05-04 22:01:47 -07:00
Vandhiadevan Karunamoorthy
08c5aec681 ipq5018: Tiny U-boot: Add thumb2 support
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Id4e04f98edee3a710ced1481815f29d83a44200c
2020-05-04 15:49:34 +05:30
Linux Build Service Account
8027a7fcf0 Merge "ipq5018: Add PCIe clocks configuration" 2020-05-02 04:07:57 -07:00
Manikanta Mylavarapu
d7f72cf927 ipq5018: Add PCIe clocks configuration
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I5ef7d1f6b447c4626992ad79e97608fbce9f01b2
2020-05-01 13:26:50 +05:30
Vandhiadevan Karunamoorthy
fed441d78c ipq5018: Tiny U-boot: Remove NAND features
This changes remove nand command and Env support

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I6c59f8259306ef79499420afe4da17a2674e98be
2020-04-30 11:22:27 +05:30
Vandhiadevan Karunamoorthy
f5f074b49e ipq5018: Tiny U-boot: Remove nor from MTD
This code changes remove initializing nor as sudo NAND in mtd
framework and add sf command support to read from ART partition

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I39a27a72d9ab966f95d58adb4274660e147df67c
2020-04-30 11:22:27 +05:30
Vandhiadevan Karunamoorthy
dc75984fcc ipq5018: Remove default unwanted configuration
This code changes remove boot support for netbsd, vxworks and
rtems.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I1f435fc80f29ad1f8e52e4b18d832e120ac9a503
2020-04-30 11:22:26 +05:30
Vandhiadevan Karunamoorthy
1df5cd41f6 ipq5018: Tiny U-boot: Remove unwanted features.
This code changes remove the list of features given below
which is not required for tiny u-boot.
1.CONFIG_EFI_PARTITION
2.CONFIG_RBTREE
3.CONFIG_CMD_CACHE
4.CONFIG_CMD_BOOTZ

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I8174686db1e30334512fb2c77e77aa9ae101e023
2020-04-30 11:22:26 +05:30
Linux Build Service Account
1663d8c23b Merge "ipq: fdt_fixup: Add support for addmtdparts" 2020-04-29 03:11:21 -07:00
Manikanta Mylavarapu
92980348f7 ipq5018: Fix phy initialization
This Fix will skip phy init sequence
for IPQ5018 because it doesn't need
any phy initialization.

Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I781ea03eda933692d6a096c97d93d238b1e7063d
2020-04-29 08:48:03 +05:30
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
78ff936e75 Merge "arm: dts: ipq50xx: configure all GPIOs for DB board" 2020-04-27 13:14:03 -07:00
Md Sadre Alam
9ce72a0472 arm: dts: ipq50xx: configure all GPIOs for DB board
This change will add all GPIO configuration for DB boards
as per DB board schematics.

Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: Ic853acc1639c344327f509ef0b391b9e3fd9933a
2020-04-27 16:28:10 +05:30
Linux Build Service Account
7f2f9a9814 Merge "ipq5018: Enable LZMA decompression support" 2020-04-24 13:15:31 -07:00
Linux Build Service Account
4f43809fbb Merge "arm: dts: ipq501x: update gpio as per rdps schematics." 2020-04-24 07:13:46 -07:00
Md Sadre Alam
88a244aa1f arm: dts: ipq501x: update gpio as per rdps schematics.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I1269d8a0ec33b7c07bf27e7482d36bceb87fd35c
2020-04-23 11:22:17 +05:30
Ram Chandra Jangir
084830e8c4 ipq5018: Enable LZMA decompression support
LZMA usually performs better than gzip in terms of compression
ratio, IPQ5018 has small flash memory and hence the lzma support
is enabled defining the CONFIG_LZMA define.

Signed-off-by: Ram Chandra Jangir <rjangir@codeaurora.org>
Change-Id: Ib07abe85206f011c637c61a7c00d8d3788120a41
2020-04-20 16:22:41 +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
Linux Build Service Account
c8100436ec Merge "pack.py: Section and variable names made generic" 2020-04-15 10:47:45 -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
Gokul Sriram Palanisamy
72afd56aaf pack.py: Section and variable names made generic
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I54ba0d7898445cfba5032bb6525f15b4a6888416
2020-04-14 21:48:31 -07:00
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
Linux Build Service Account
b02ecfef9e Merge "dts: hk14: Removed unused malibu port" 2020-04-08 06:42:15 -07:00
Linux Build Service Account
cfb97cf321 Merge "ipq5018: Fix xPU violation issue" 2020-04-08 03:21:49 -07:00
Gokul Sriram Palanisamy
1bd3deba8a dts: hk14: Removed unused malibu port
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Ifa6e71a6a88de3c35c1e4ebd9c3aed317224a282
2020-04-07 23:30:39 +05:30
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
Gokul Sriram Palanisamy
ba5944287b pack.py: HK14: Added support to flash qcn9000 fw
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I7c397d53281bce44607ca850662425cec9ce648a
2020-04-06 18:38:52 -07:00
Gokul Sriram Palanisamy
342dac3c00 dts: hk14: Updated mac_mode
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: Id4d039b887af49b4f2f794be86f2a3be3bd83d4b
2020-04-06 18:32:03 -07:00
Linux Build Service Account
4284fb3440 Merge "u-boot: Remove soft-float compile flag" 2020-04-06 11:23:24 -07:00
Linux Build Service Account
39dab1505a Merge "ipq807x: Remove the Aquantia autoneg" 2020-04-06 06:10:19 -07:00
Linux Build Service Account
1b781cfebe Merge "Revert "arm: dts: Added device-tree for CP01-C3 RDP"" 2020-04-03 10:18:01 -07:00
Linux Build Service Account
5026c7c923 Merge "ipq807x: Added support for new board variant HK14" 2020-04-03 05:40:22 -07:00
Gokul Sriram Palanisamy
1a9cb5350b ipq807x: Added support for new board variant HK14
Signed-off-by: Gokul Sriram Palanisamy <gokulsri@codeaurora.org>
Change-Id: I69c53cea350ed18f55a429256b799f5507d818d4
2020-04-03 12:48:53 +05:30
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