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>
In EMU Platform, there is no PHY/Uniphy, clocks/resets and
by default all MACs will be configured as SGMII mode.
The first 4 ports will have GMAC and PC side link speed
should be set as 10M, RUMI side link speed should
be configured as 1000M and then last 2 ports will have
XGMAC and PC side link speed should be set as 100M and the
RUMI side link speed should be configured as 10G.
Change-Id: I2ffe2bdb9c58eeacb3f765094c2bfb89e81a5c7d
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
This patch updates the address of the EDMA registers, removes
registers which are not used and then does the required changes
to accomodate the new EDMA Descriptor format.
This patch also does the required changes to accomodate Secondary
Descriptor which is added instead of preheaders in ipq95xx.
We have also updated the number of descriptors per ring to 128
with this patch and have also moved the configs not required for
EMU Platform to !CONFIG_IPQ9574_RUMI.
Change-Id: I6e98c457d76c66f87b74cc0eafa7088d0081f533
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
This patch is to enable USB FAT filesystem and
fatwrite commands so as to enable crashdump collection
in connected USB device.
Usage:
Set dump_to_usb to 1 as U-boot environment variable.
Change-Id: I2828a8396b0ed9f21bb28a842482d364633eff8e
Signed-off-by: anusha <anusharao@codeaurora.org>
Disabled the cache commands config CONFIG_CMD_CACHE. This changes
removes the icache and dcache commands.
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Change-Id: I0cfd4df12e452a15861f0df7f4512234113d315a
With latest GCC 4 byte aligned instructions are getting generated for
2 byte aligned data. This is due to the option '-fstore-merging' enabled
by default for '-O2'
This is causing data abort if data cache is disabled.
Signed-off-by: Sivaprakash Murugesan <sivaprak@codeaurora.org>
Change-Id: Idaac94fcc8e5c61f0ea720ed0c10e908d3688c61