Changed ro.hardware value, bump version to KOI015
am: 53c45e602c
Change-Id: Ie204e6bcf1f6daebebd40968b0872124bcbb214b
diff --git a/board/samsung/koi/koi.c b/board/samsung/koi/koi.c
index c41ae57..977d167 100644
--- a/board/samsung/koi/koi.c
+++ b/board/samsung/koi/koi.c
@@ -867,7 +867,11 @@
memset(tmp_buf,0,sizeof(tmp_buf));
sprintf(tmp_buf, " androidboot.bootreason=%s androidboot.bootloader=%s ",
reason, VERSION_BOOTLOADER);
- strcat(tmp_buf, CONFIG_BOOTARGS);
+// strcat(tmp_buf, CONFIG_BOOTARGS);//not necessary because same string is supplied by kernel dts
+ if (model)
+ strcat(tmp_buf, "androidboot.hardware=ayu");
+ else
+ strcat(tmp_buf, "androidboot.hardware=koi");
if ((ret = get_bootarg_from_info_partition(tmp_buf)) < 0) {
if (copy_info_partition() == 0) // copy from old location
diff --git a/include/configs/koi.h b/include/configs/koi.h
index 2c58a75..1f294f8 100644
--- a/include/configs/koi.h
+++ b/include/configs/koi.h
@@ -325,7 +325,7 @@
#define CONFIG_FACTORY_RESET_COMMAND \
"ext4format mmc 0:3;ext4format mmc 0:4;reset;"
-#define CONFIG_BOOTARGS "console=ttySAC2,115200 androidboot.hardware=koi"
+/*#define CONFIG_BOOTARGS "console=ttySAC2,115200"*/
/* Miscellaneous configurable options */
#define CONFIG_SYS_LONGHELP /* undef to save memory */
@@ -492,7 +492,7 @@
#define CONFIG_INTEGRATED_IMG
/* version-bootloader */
-#define VERSION_BOOTLOADER "KOI014"
+#define VERSION_BOOTLOADER "KOI015"
#define CONFIG_AUTO_FW_WRITE