app: aboot: update display API to pass panel name

Provide panel name as one of the argument to the display API
so that command line can be modified with respect to the
display selected using oem command.

Change-Id: I31deca0554b3317c476975b64fef46e375056547
diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c
index f82a2b3..007c7b6 100755
--- a/app/aboot/aboot.c
+++ b/app/aboot/aboot.c
@@ -328,9 +328,9 @@
 			break;
 	}
 
-	if (target_display_panel_node(display_panel_buf, MAX_PANEL_BUF_SIZE) &&
-	    strlen(display_panel_buf))
-	{
+	if (target_display_panel_node(device.display_panel,
+		display_panel_buf, MAX_PANEL_BUF_SIZE) &&
+		strlen(display_panel_buf)) {
 		cmdline_len += strlen(display_panel_buf);
 	}
 
diff --git a/include/target.h b/include/target.h
index 08f99de..d8a0daf 100644
--- a/include/target.h
+++ b/include/target.h
@@ -61,7 +61,8 @@
 void *target_mmc_device();
 uint32_t target_boot_device_emmc();
 
-bool target_display_panel_node(char *pbuf, uint16_t buf_size);
+bool target_display_panel_node(char *panel_name, char *pbuf,
+	uint16_t buf_size);
 void target_display_init(const char *panel_name);
 void target_display_shutdown(void);
 
diff --git a/target/init.c b/target/init.c
index 72b2b40..a7b919a 100644
--- a/target/init.c
+++ b/target/init.c
@@ -141,7 +141,8 @@
 {
 }
 
-__WEAK bool target_display_panel_node(char *pbuf, uint16_t buf_size)
+__WEAK bool target_display_panel_node(char *panel_name, char *pbuf,
+	uint16_t buf_size)
 {
 	return false;
 }