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
The main differece on AL02-C4 are,
PCIE1: 2G WKK
PCIE2: 6G WKK
PCIE3: 5G WKK
Other features are same as AL02-C1.
Change-Id: Ie13154dacf247c99e15f1da775238012075740ee
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
The MMC mode switch command gets timed out occassionally.
Due to this, set_uuid_bootargs fails and uboot doesn't
jump to kernel. This issue is seen only in norplusemmc boot.
In eMMC Boot, board_mmc_env_init is called which handles
timeout case. Added the same logic to set_uuid_bootargs.
Change-Id: Ie9eb91b00f28c23c136d88e3cb39572e59c759e7
Signed-off-by: anusha <anusharao@codeaurora.org>
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>
This patch adds support for SFP 1G and 2.5G. Note that
there is no autoneg support for SFP in U-Boot and the mode needs
to be changed in DT to make it work in 1G or 2.5G.
By default SFP will be configured to work in 10G mode.
Change-Id: I1c209276fe2a586332be87ce5d49a140f4814eb2
Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
This change support both legacy and current node
configuration
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I12551970f16ec09a648bac2ecb1a45edeffd997c
When a long string (>255 char) input given to uboot console, RX
stale timeout occurred on UART subsystem due to RXFULL. This in-turn
cause uboot console to stuck.
So, Added a check to catch this scenario and re-start the UART RX
if it occurred.
Change-Id: Ic80c1d5f1178bf2455385c3888a2023ce1dbf6fa
Signed-off-by: Ram Kumar D <ramd@codeaurora.org>
This changes removes unwannted source for ipq806x
platform, therefore it saves more memory in flash
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ia34c9843a5b32c2db57ec4b4977ab8c04875161b
This patch adds support for sbl partition layout switch on IPQ9574
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
(cherry picked from commit aa841af6f70823ec782b6efb0ba459f58068f9c6)
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
Change-Id: Idd950aef614a225c9cb6afd456967f53da6e4993
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 main differece on AL02-C3 are,
PCIE0: 1x5G
PCIE2: 1x6G
PCIE3: SDX
Other features are same as AL02-C2
Change-Id: If40e554baf16af1654bef3314f017f93d2babfbb
Signed-off-by: Praveenkumar I <quic_ipkumar@quicinc.com>
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>
In this case, the variable sram_end(Base + Size)
will hold (0x40000000 + 0xC0000000) and will overflow
32bits. Update the variable type to u64.
Change-Id: Iadf008c0ace552b793b9424e5c9ded0873599a64
Signed-off-by: anusha <anusharao@codeaurora.org>
We are typecasting the fdt_start and other parameters
to unit64_t. So ULONG_MAX should be used for the boundary
check.
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I42b4c0cb05902410c4e18553017c016bdd312207
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>
Updated the source from gpll0_out_aux to gpll0_out_main
Change-Id: Iecaefbe03c02286823d1a67ea53b180bfd8d948e
Signed-off-by: anusha <anusharao@codeaurora.org>
added integer overflow checks to avoid buffer over reads/write
while using the fdt header fields.
CRs-fixed: 705078.
Change-Id: I062ee9e0610eeeeea32dd95695b18aa9dbca06ea