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
added integer overflow checks to avoid buffer over reads/write
while using the fdt header fields.
CRs-fixed: 705078.
Change-Id: I062ee9e0610eeeeea32dd95695b18aa9dbca06ea
This patch clears the ubi_initialized flag after doing ubi_exit since
there can be chance to ubi_int failure, but still ubi_initialized flag
will be set. This will result in doing ubi_exit again and uboot crash.
This patch also doing put_mtd_device after deleting mtd partition to
make the ref count to zero.
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I5a875ec82266db6b09045602b5d1b3fe47d4bd58
This patch skips the usb_init during recovery path for AK platform alone.
No checks for usb_init for all other platforms
Change-Id: I3720f7e159d95bb6656df06ec9aeccfd02f3db01
Signed-off-by: Karthick Shanmugham <kartshan@codeaurora.org>
Updated the data FIFO size to work with 4K page as well.
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I5d94e50755b0934d1dd6c9c0d2c6759a782f52d5
This change will add support for 4K Macronix spi nand
"MX35UF4GE4AD-Z4I"
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
Change-Id: I94e07d9e25de46c67fcb679ef149990e093afc8f
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
'flash wifi_fw' command writes into flash based
on 'rootfs' partition offset. After sysupgrade,
flashing single image at u-boot write wifi firmware
into failsafe partitions because post sysupgarde
primary and failsafe partitions are swapped vice-versa.
Single image always boots with primary partitions, and
the wifi firmware flashed into failsafe partition won't
be loaded subsequently q6 will crash.
This patch resolves issue by using "ubi" command's instead
of "flash wifi_fw" command.
Signed-off-by: Manikanta Mylavarapu <mmanikan@codeaurora.org>
Change-Id: I9a89872ade5cbd753272e11fd15e7b8f06d4f92c
Now, the linux-5.4 image is LZMA compressed enable the LZMA
decompressor support.
Signed-off-by: Kathiravan T <kathirav@codeaurora.org>
Change-Id: Ibfc0d1fb6ffc463182f944bea0aa1d76af7d57b5
Add BT state information to patch dts when the BT is started at bootloader.
Signed-off-by: Amandeep Singh <amansing@codeaurora.org>
Change-Id: Ib88150bb6c8469ec6d63578ce5c4ab21511aff60
This change will add support for Macronix "MX35UF1GE4AC" spi nand
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I66e82e22217d655b44e30baa64f3aefd5a5f2aaa
This change will add support for winbond "W25N02JWZEIF"
spi nand device.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I1dd258c3f0f3174d09e74fb7ffd0c26a43e6c24b
This change will add support for giga device GD5F1GQ5REYIG
spi nand support.
Signed-off-by: Md Sadre Alam <mdalam@codeaurora.org>
Change-Id: I57211ce34543de81216d86653a45519b97cf2fb0