Commit graph

15 commits

Author SHA1 Message Date
anusha
369ce9f09b ipq: Add support for failsafe boot
Add failsafe boot support to recover from system hang.

Signed-off-by: anusha <anusharao@codeaurora.org>
Change-Id: I49e28a4e88aa16e564065d06f8701dc4f6cb3555
2022-01-03 21:05:45 -08:00
Vandhiadevan Karunamoorthy
81ba78ca06 mtd: ipq5018: remove CONFIG_CMD_NAND from tiny nor
This changes add CONFIG_CMD_NAND flags in flash command and smem
source file to eliminate nand specific source if CONFIG_CMD_NAND
is not defined.

This changes replace CONFIG_IPQ_MTD_NOR with CONFIG_MTD_DEVICE flag

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: I612ae89c3730dc86f2693088fb4cb5c10763165d
2020-08-12 00:04:52 -07:00
Vandhiadevan Karunamoorthy
bbbdb8e5ab Flash: ipq5018: Add SPI-NAND flash support
Change-Id: I45d73fdd7e7315f110e4691a7dc9fe6698c51c37
Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
2020-02-19 03:32:03 -08:00
Rajkumar Ayyasamy
04d99019b2 ipq6018: add support to flash individual ubi volumes
Change-Id: I660879ffa28437eb88faa04ee61d329c224d16f9
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-09-13 15:13:08 +05:30
Rajkumar Ayyasamy
90afafbdb8 qca: arm: fix compiler error when eMMC is disabled
Change-Id: I24aadfb70efbe48bb5d33c76ed29a873b0975b2b
Signed-off-by: Rajkumar Ayyasamy <arajkuma@codeaurora.org>
2019-08-26 03:59:57 -07:00
Sandhya
0b984e927c Fix compiler warnings: Indentation
Change-Id: I9786e6350b77b810ec676bfb770f14a559b67514
Signed-off-by: Sandhya <sandhyks@codeaurora.org>
2019-06-26 10:24:59 +05:30
sameeruddin shaik
f0822eadeb uboot: Fix compiler warnings in u-boot-2016
This change will fix the following warnings.
1.-Wmaybe-uninitialized

Change-Id: I353962197b9160e7d15d6cb48b67982e42120df2
Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
2019-06-19 13:03:29 +05:30
Pavithra Palanisamy
42a29e7793 ipq: Flash command code cleanup
Change-Id: I54b8677cba4b8a63b245bde8f1840d146d6694ee
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-05-28 16:19:55 +05:30
Pavithra Palanisamy
4bb8ae0f50 ipq: Add check to avoid overwriting successive partitions
This change adds a check to detect if the size of image to be flashed
fits within the respective partition region.

Change-Id: I794262fa759eef4ecc726252fb3d234c087f2b4d
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2019-04-30 15:51:39 +05:30
Pavithra Palanisamy
15456d8ba6 qca : Add u-boot CLI command "flasherase"
The "flasherase" command can be used to erase partitions in flash.

Change-Id: I1111f3a626c3a36bcef57079a10c5d6be4e1e8df
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-11-16 11:39:22 +05:30
Pavithra Palanisamy
7fb1dc8e4c qca: KW fix for flash command
Change-Id: I330bee105bfd9f27d63f907d179e3561c25ca614
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-09-06 17:51:43 +05:30
Pavithra Palanisamy
8093a5448b ipq: Modified flash command with simplified parameters.
This change removes the "default" option in existing flash command
and makes use of environment variables in default case.

Change-Id: Ibc6ed68043acc708323b90132686cecf7f2f0d82
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-09-03 19:58:29 +05:30
Pavithra Palanisamy
89895d3766 qca: Change for fixing KW issue
Change-Id: I517bbec630f7a57830f51500535615461d37d3e1
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-08-13 12:30:38 +05:30
Pavithra Palanisamy
8160116212 qca: Fix KW issues with flashwrite command
Change-Id: Ia5b6ef5cbdf27a0a46f56445ee9335bb72353c63
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-07-27 18:56:24 +05:30
Pavithra Palanisamy
316e48fb0d qca: Add uboot-CLI command "flash"
The "flash" command erases given partition and
writes the image to flash.

Change-Id: I059414fd3d7eefeac0c626e1980a70985f2de986
Signed-off-by: Pavithra Palanisamy <pavip@codeaurora.org>
2018-07-13 19:48:38 +05:30