Skip to content

Commit 7bb11b5

Browse files
Avinash95nikhil-zinjurde-imgtec
authored andcommitted
use default config while booting fitimage
Signed-off-by: Avinash Tahakik <[email protected]>
1 parent adaab9b commit 7bb11b5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

include/configs/pistachio_bub.h

+5-2
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,11 @@
328328
"saveenv;"
329329

330330
#define FINAL_BOOTCOMMAND \
331-
"bootm $loadaddr#$fitconf || reset;"
331+
"if test -n ${fitconf}; then " \
332+
"bootm $loadaddr#$fitconf || reset;" \
333+
"else "\
334+
"bootm $loadaddr || reset;" \
335+
"fi;"
332336

333337
#define CONFIG_BOOTDELAY 2
334338
#define CONFIG_SYS_BOOTCOUNT_ADDR 0x18102120
@@ -346,7 +350,6 @@
346350
"boot_partition=0\0"\
347351
"bootlimit=5\0"\
348352
"fitfile=fitImage\0"\
349-
"fitconf=config@1\0"\
350353
"bootm_verify=n\0"\
351354
"rootpath=/srv/fs\0"\
352355
"netroot=root=/dev/nfs rootfstype=nfs ip=dhcp\0"\

0 commit comments

Comments
 (0)