These changes add crashdump support in devsoc platform.
Change-Id: Ifdb9e1e65a4e93407506e987201b4ddeac753927
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
Update the feature to use BIT10 and BIT11 for NONHLOS
and HLOS failure detection instead of BIT9 & BIT10.
Change-Id: Idb649770da0cba63554adce861e901f582637c86
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
This patch disables unused configs to reduce
U-Boot image size. This is required since
the image size was very close to the partition
size.
Change-Id: Ibd3131cb0f579deb3d34aff6857c97ca7338af19
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
This patch adds initial support for qca8084 PHY
which is based on qca8081 PHY.
qca8084 PHY has support for 4x2.5G.
Change-Id: Ic767c19fad050e5ee9a97ad7fa50c1b6b27893dd
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
The PCIE node is disabled by default in
the emulation platform
Change-Id: I51041186a57d08b58c1f7c85dd1a90fbeb24aac9
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
This change adds support to enable multiple I2C bus on all IPQ
platforms. Removed the device specific changes and updated in
a generic way to support multiple I2C on all the IPQ platforms.
Change-Id: Ie13dd744c6317fc9245bc88781e79a9fb3621a62
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
This changes enable UBI command support in
devsoc platform.
Change-Id: I2dade2f7ab232f6ae3f2a800437e1543e6a85909
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
This changes enable dcache enable and disable support
and also enable dcache command.
Change-Id: I7a11a923c1f87168e9cb519c5dedfcfac2dbc610
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
This patch changes the USB port scanning procedure and timeout
handling in the following ways:
a)
The power-on delay in usb_hub_power_on() is now reduced to a value of
max(100ms, "hub->desc.bPwrOn2PwrGood * 2"). The code does not wait
using mdelay, instead usb_hub_power_on() will wait before querying
the device in the scanning loop later. The total timeout for this
hub, which is 1 second + "hub->desc.bPwrOn2PwrGood * 2" is calculated
and will be used in the following per-port scanning loop as the timeout
to detect active USB devices on this hub.
b)
Don't delay the minimum delay (for power to stabilize) in
usb_hub_power_on(). Instead skip querying these devices in the scannig
loop until the delay time is reached.
c)
The ports are now scanned in a quasi parallel way. The current code did
wait for each (unconnected) port to reach its timeout and only then
continue with the next port. This patch now changes this to scan all
ports of all USB hubs quasi simultaneously. For this, all ports are added
to a scanning list. This list is scanned until all ports are ready
by either a) reaching the connection timeout (calculated earlier), or
by b) detecting a USB device. This results in a faster USB scan time as
the recursive scanning of USB hubs connected to the hub that's currently
being scanned will start earlier.
One small functional change to the original code is, that ports with
overcurrent detection will now get rescanned multiple times
(PORT_OVERCURRENT_MAX_SCAN_COUNT).
Without this patch:
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 9 USB Device(s) found
time: 20.163 seconds
With this patch:
starting USB...
USB0: USB EHCI 1.00
scanning bus 0 for devices... 9 USB Device(s) found
time: 1.822 seconds
So ~18.3 seconds of USB scanning time reduction.
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit c998da0d67)
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
Change-Id: I520082122370dda5b1de63c2ebee0f9a63fdef92
ipq9574 is a TME-L based platform in which before
encrypt/decrypt, we are required to derive a key
handle.
This patch adds support for the same.
Change-Id: I583cee87607af2ab6461b429830cb8ff43cc44d4
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
This config is needed to enable mmc protection
based on gpt readonly attribute.
Usecase:
1. In emmc partition xml, set readonly attribute
of a partition to true.
2. Generate partition bin, flash and reboot.
3. From uboot, read & write the partition.
4. Write should not go through. Crc32 checksum of
the content before & after write should match.
Change-Id: I1b5b4593d99d0ddab4d37b29c3669a4c805e80ea
Signed-off-by: Anusha Rao <quic_anusha@quicinc.com>
This changes add support for uboot base files.
Change-Id: I5f4b937dec30a27ec6acce6ceada7fbed5d5a41d
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
Removing this config will configure the tftp block
size to default value of 1468 + headers which is the
same as in other platforms.
Change-Id: If0b49217e5d2548be203a1a7da4000cd5f2e5dcb
Signed-off-by: Selvam Sathappan Periakaruppan <quic_speriaka@quicinc.com>
This changes enables the QSPI_LAYOUT_SWITCH config
which is required for QSPI nand 4k support.
Since SBL must be flashed in 2K layout to support
QSPI Nand-4K, this dynamic switch is required.
Change-Id: I95a68ec9238dd83306322bc57cf93b162e3179f5
Signed-off-by: Vandhiadevan Karunamoorthy <quic_vkarunam@quicinc.com>
Certain boards come in different variations by way of utilizing daughter
boards, for example. These boards might contain additional chips, which
are added to the main board's busses, e.g. I2C.
The device tree support for such boards would either, quite naturally,
employ the overlay mechanism to add such chips to the tree, or would use
one large default device tree, and delete the devices that are actually
not present.
Regardless of approach, even on the U-Boot level, a modification of the
device tree is a prerequisite to have such modular families of boards
supported properly.
Therefore, we add an option to make the U-Boot device tree (the actual
copy later used by the driver model) writeable, and add a callback
method that allows boards to modify the device tree at an early stage,
at which, hopefully, also the application of device tree overlays will
be possible.
Signed-off-by: Mario Six <mario.six@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stefan Roese <sr@denx.de>
(cherry picked from commit 2a792753d6)
Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
Change-Id: I9a5fe4c6d681aaa5c68edd8a2a39d36bf2340fdf
Add failsafe boot support to recover from system hang.
Signed-off-by: anusha <anusharao@codeaurora.org>
Change-Id: I49e28a4e88aa16e564065d06f8701dc4f6cb3555
Added read & write bam pipe entires in all the ipq specific dtsi.
Also, updated the spi bam code with generic code changes to enable
the multiple spi support on all ipq chipsets.
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Signed-off-by: Ram Kumar D <ramd@codeaurora.org>
Change-Id: Ibcdb9d2a9ff7a25f3d296ecdb1aca403511e07d7
In IPQ9574, TZ adds base addr + 300K(TMEL ctxt size) and stores this addr in imem.
Updated TLV_BUF_OFFSET to subtract TMEL offset from base addr.
Change-Id: I54ea5be4133f2c0435ecaabff392b20c67ec5d48
Signed-off-by: Kavin A <kavia@codeaurora.org>
qpic_nand sbl -> to switch to 2K layout
qpic_nand linux -> to switch back to 4K layout
Currently this switch is enabled for IPQ9574
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
(cherry picked from commit c9a1c10b2e35ba8f14dafc1f4c07aa5a07a01541)
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
Change-Id: I3e429b8cd5e600b4214c01d7949c01536f988e47
The crashdump memory allocation in kernel context save driver is
updated for ipq9574 as below. Due to this, TLV offset is changed to 500K.
1. TMEL ctxt - 300K
2. regsave - 80K
3. DCC - 3K
4. Unused - 117K
5. TLV Buffer - 12K
Change-Id: I25cdce6be90ce2d2b7ab6b6c01976d5a061074e9
Signed-off-by: Kavin A <kavia@codeaurora.org>
Include SCM call to inform TZ whether HLOS boots from
primary or secondary partition
Change-Id: Ib1fa2b3c12762d1deed5b99f025c83870c142fa6
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
This change enable compressed dtb support for memory
optimization.
Change-Id: I692b4cbfe339910c9bb67da6bb442ba01b3a177e
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
This patch updates the following:
1) Removes unnecessary TIMER and THRESHOLD configurations in EDMA
2) Adds Uniphy Clock deinit and init in eth_init (during each ping
& speed change)
3) Removes preheader configurations and calculations from EDMA
as there are no preheaders in ipq9574 platform (Instead there is
a secondary descriptor)
4) Add sufficient delay after uniphy reset
5) Remove CONFIG_IPQ9574_RUMI macro from network drivers
6) Change default mac_speed to 0
7) Fix the ppe sched. and tdm configuration
8) Reduce the block size to 1280 + headers for tftp (around 1326)
for timebeing without which timeouts were observed randomly during
TFTP (Note that the MTU is 1514 bytes)
Change-Id: I4004adfb2ae0dc98d65e458c15dafcff6523744b
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
This patch removes RUMI flag which will enable the
PHY, clock, reset, etc. needed for RDPs.
Change-Id: I5459281967cacb6362c5be846ccc377b7ce5ef3d
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
This patch updates the QCA PHY names and its references
accordingly.
Change-Id: I5d301fcecc49793387a50487bf2e713a5a9288e8
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>