Merge "Revert "ipq40xx: Add DK01-C3 config support for Standard profile""
diff --git a/arch/arm/dts/ipq40xx-dk01-s1.dts b/arch/arm/dts/ipq40xx-dk01-s1.dts
index 757ad7f..1c61a84 100644
--- a/arch/arm/dts/ipq40xx-dk01-s1.dts
+++ b/arch/arm/dts/ipq40xx-dk01-s1.dts
@@ -16,5 +16,5 @@
/ {
machid = <0x8010200>;
ddr_size = <128>;
- config_name = "config@ap.dk01.1-c3,config@ap.dk01.1-c1";
+ config_name = "config@ap.dk01.1-c3";
};
diff --git a/board/qca/arm/common/cmd_bootqca.c b/board/qca/arm/common/cmd_bootqca.c
index 81d8d9e..a26af9a 100644
--- a/board/qca/arm/common/cmd_bootqca.c
+++ b/board/qca/arm/common/cmd_bootqca.c
@@ -378,15 +378,10 @@
}
}
- char *tok = strtok(dtb_config_name, ",");
-
- while(tok != NULL){
- if (fit_conf_get_node((void *)addr, tok) >= 0) {
- snprintf(rcmd, rcmd_size, "bootm 0x%x#%s\n",
- addr, tok);
- return 0;
- }
- tok = strtok(NULL, ",");
+ if (fit_conf_get_node((void *)addr, dtb_config_name) >= 0) {
+ snprintf(rcmd, rcmd_size, "bootm 0x%x#%s\n",
+ addr, dtb_config_name);
+ return 0;
}
printf("Config not availabale\n");