mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
ipq5332: Add the SMEM_BOOT_NO_FLASH condition for emmc flash type
This patch adds SMEM_BOOT_NO_FLASH condition for emmc flash type to flash 0:GPT and 0:GPTBACKUP while flashing single image using jtag_recovery.cmm Change-Id: I176760335d5e980b8493e9236e410b78040c5a06 Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
This commit is contained in:
parent
3f02d4e93e
commit
0cee68ca2a
1 changed files with 3 additions and 1 deletions
|
|
@ -293,11 +293,13 @@ char * const argv[])
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_QCA_MMC
|
||||
} else if (sfi->flash_type == SMEM_BOOT_MMC_FLASH) {
|
||||
} else if (sfi->flash_type == SMEM_BOOT_MMC_FLASH ||
|
||||
sfi->flash_type == SMEM_BOOT_NO_FLASH) {
|
||||
|
||||
blk_dev = mmc_get_dev(mmc_host.dev_num);
|
||||
if (blk_dev != NULL) {
|
||||
|
||||
flash_type = SMEM_BOOT_MMC_FLASH;
|
||||
if (strncmp(GPT_PART_NAME,
|
||||
(const char *)part_name,
|
||||
sizeof(GPT_PART_NAME)) == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue