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>
This commit is contained in:
parent
cedcc6634b
commit
9f1a11bdc3
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue