summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-07-04 16:09:54 +0800
committerYe.Li <B37916@freescale.com>2014-07-04 16:40:18 +0800
commit4ca9535c91c40da93703bd20727700cd33994f93 (patch)
treef75bb480f7ee0643d9822db3c8bb5a83ca4531ec /include/configs
parent8d355a9d6f138e1c1cd04dbadb7b5b3e2d692701 (diff)
downloadu-boot-imx-4ca9535c91c40da93703bd20727700cd33994f93.zip
u-boot-imx-4ca9535c91c40da93703bd20727700cd33994f93.tar.gz
u-boot-imx-4ca9535c91c40da93703bd20727700cd33994f93.tar.bz2
ENGR00321260-2 iMX6:Android: Append the "androidboot.serialno" to bootargs
Android supports to two ways to pass serialno: 1. ATAG_SERIAL 2. "androidboot.serialno=" argument in boot commandline. Since we support the DTB for android, so the ATAGS can't work. We have to choose the second way. This patch only applys the bootargs in bootimg, while the bootargs saved in u-boot env variables won't have this argument appended. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6sabreandroid_common.h2
-rw-r--r--include/configs/mx6slevkandroid.h2
-rw-r--r--include/configs/mx6sxsabresdandroid.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/mx6sabreandroid_common.h b/include/configs/mx6sabreandroid_common.h
index 1645b1b..6602c7d 100644
--- a/include/configs/mx6sabreandroid_common.h
+++ b/include/configs/mx6sabreandroid_common.h
@@ -7,6 +7,8 @@
#ifndef MX6_SABRE_ANDROID_COMMON_H
#define MX6_SABRE_ANDROID_COMMON_H
+#define CONFIG_SERIAL_TAG
+
#define CONFIG_USB_DEVICE
#define CONFIG_IMX_UDC 1
diff --git a/include/configs/mx6slevkandroid.h b/include/configs/mx6slevkandroid.h
index 0bf67c5..a2447c1 100644
--- a/include/configs/mx6slevkandroid.h
+++ b/include/configs/mx6slevkandroid.h
@@ -10,6 +10,8 @@
#include <asm/imx-common/mxc_key_defs.h>
+#define CONFIG_SERIAL_TAG
+
#define CONFIG_USB_DEVICE
#define CONFIG_IMX_UDC 1
diff --git a/include/configs/mx6sxsabresdandroid.h b/include/configs/mx6sxsabresdandroid.h
index bf78de4..0c16fe8 100644
--- a/include/configs/mx6sxsabresdandroid.h
+++ b/include/configs/mx6sxsabresdandroid.h
@@ -8,6 +8,8 @@
#ifndef __MX6SX_SABRESD_ANDROID_H
#define __MX6SX_SABRESD_ANDROID_H
+#define CONFIG_SERIAL_TAG
+
#define CONFIG_USB_DEVICE
#define CONFIG_IMX_UDC 1