diff options
author | yang.tian <yang.tian@nxp.com> | 2019-01-03 10:15:57 +0800 |
---|---|---|
committer | yang.tian <yang.tian@nxp.com> | 2019-01-03 10:33:00 +0800 |
commit | 9f1a11bdc3fef58bc41bebec858ccab0cd9050e4 (patch) | |
tree | 0374b52c29f36fd623f424c77a66fe2780b9a68e /common | |
parent | cedcc6634ba143f665bf5dac3926b1b74a403479 (diff) |
MA-13879[wifi concurrency] Add bootargs to set a property for wifi vendor of 8mm
Since evk_8mm will support both QCA9377 and BCM43455 wifi,
add bootargs to pass a property to differ which wifi is used.
Change-Id: I83f7fd657dbdedc54931148cd6dd3d59563b6ec3
Signed-off-by: yang.tian <yang.tian@nxp.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/image-android.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/common/image-android.c b/common/image-android.c index 71b93da2d5e..a399b1c9e98 100644 --- a/common/image-android.c +++ b/common/image-android.c @@ -138,6 +138,14 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify, strncat(commandline, newbootargs, sizeof(commandline) - strlen(commandline)); #endif +#ifdef CONFIG_TARGET_IMX8MM_DDR4_EVK + sprintf(newbootargs," androidboot.wifivendor=BCM"); + strncat(commandline, newbootargs, sizeof(commandline) - strlen(commandline)); +#elif CONFIG_TARGET_IMX8MM_EVK + sprintf(newbootargs," androidboot.wifivendor=QCA"); + strncat(commandline, newbootargs, sizeof(commandline) - strlen(commandline)); +#endif + /* append soc type into bootargs */ char *soc_type = env_get("soc_type"); if (soc_type) { |