app: aboot: Publish hw-revision as fastboot variables.

Publish hw-revision variable in fastboot variables.
First 16-bits represent major number and last 16 bits represents,
minor number.

Change-Id: I979eda2308f33b1b621ee2cf210bf906a9077348
diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c
index 31b5315..6f67eff 100644
--- a/app/aboot/aboot.c
+++ b/app/aboot/aboot.c
@@ -315,6 +315,7 @@
 char sn_buf[13];
 char display_panel_buf[MAX_PANEL_BUF_SIZE];
 char panel_display_mode[MAX_RSP_SIZE];
+char soc_version_str[MAX_RSP_SIZE];
 #if PRODUCT_IOT
 char block_size_string[MAX_RSP_SIZE];
 
@@ -4612,6 +4613,10 @@
 	fastboot_publish("kernel",   "lk");
 	fastboot_publish("serialno", sn_buf);
 
+	/*publish hw-revision major(upper 16 bits) and minor(lower 16 bits)*/
+	snprintf(soc_version_str, MAX_RSP_SIZE, "%x", board_soc_version());
+	fastboot_publish("hw-revision", soc_version_str);
+
 	/*
 	 * partition info is supported only for emmc partitions
 	 * Calling this for NAND prints some error messages which