summaryrefslogtreecommitdiff
path: root/include/configs/mx7ulp_evk_android.h
diff options
context:
space:
mode:
authorzhang sanshan <sanshan.zhang@nxp.com>2017-05-22 15:17:44 +0800
committerChen Guoyin <guoyin.chen@nxp.com>2017-07-10 15:08:58 +0800
commit2c1196079eaf31bd8a7bf5a15e1cbf3c6c7902bb (patch)
tree5148602bd0fc6f1d90666fd1d1494bbbc41dbccc /include/configs/mx7ulp_evk_android.h
parentff92794f05268eac978e9ab3e7d97a651819fe36 (diff)
downloadu-boot-imx-2c1196079eaf31bd8a7bf5a15e1cbf3c6c7902bb.zip
u-boot-imx-2c1196079eaf31bd8a7bf5a15e1cbf3c6c7902bb.tar.gz
u-boot-imx-2c1196079eaf31bd8a7bf5a15e1cbf3c6c7902bb.tar.bz2
MA-9409-3 Add base board support for android and android things.
* add board support for android and android things. mx6ul_nxpu_iopb, pico-6ul, pico-imx7d, aquila-6ul reorganize the Kconfig, and fix the redefine issue. * add android configure into configure-while * add a common file mx_android_common.h it will be included by android and android things. defconfig only include ANDROID_THINGS_SUPPORT or ANDROID_SUPPORT * move partition_table_valid into f_fastboot.c. it's a common code. * add invalidate_dcache_range in fixed order. It will have salt invalid issue if we do not add it in order * add display for pico-7d. Change-Id: I6f8a4876c2f8bbd098034d1e3f53033109300bca Signed-off-by: zhang sanshan <sanshan.zhang@nxp.com>
Diffstat (limited to 'include/configs/mx7ulp_evk_android.h')
-rw-r--r--include/configs/mx7ulp_evk_android.h40
1 files changed, 1 insertions, 39 deletions
diff --git a/include/configs/mx7ulp_evk_android.h b/include/configs/mx7ulp_evk_android.h
index 8479642..a45ec1b 100644
--- a/include/configs/mx7ulp_evk_android.h
+++ b/include/configs/mx7ulp_evk_android.h
@@ -7,49 +7,11 @@
#ifndef __MX7ULP_EVK_ANDROID_H
#define __MX7ULP_EVK_ANDROID_H
-
-#define CONFIG_CI_UDC
-#define CONFIG_USBD_HS
-#define CONFIG_USB_GADGET_DUALSPEED
-
-#define CONFIG_USB_GADGET
-#define CONFIG_CMD_USB_MASS_STORAGE
-#define CONFIG_USB_FUNCTION_MASS_STORAGE
-#define CONFIG_USB_GADGET_DOWNLOAD
-#define CONFIG_USB_GADGET_VBUS_DRAW 2
-
-#define CONFIG_G_DNL_VENDOR_NUM 0x18d1
-#define CONFIG_G_DNL_PRODUCT_NUM 0x0d02
-#define CONFIG_G_DNL_MANUFACTURER "FSL"
+#include "mx_android_common.h"
#define CONFIG_CMD_FS_GENERIC
#define CONFIG_CMD_EXT4
#define CONFIG_CMD_EXT4_WRITE
-#define CONFIG_USB_FUNCTION_FASTBOOT
-#define CONFIG_CMD_FASTBOOT
-#define CONFIG_ANDROID_BOOT_IMAGE
-#define CONFIG_FASTBOOT_FLASH
-
-#define CONFIG_FSL_FASTBOOT
-#define CONFIG_ANDROID_RECOVERY
-#define CONFIG_FASTBOOT_STORAGE_MMC
-
-#define CONFIG_CMD_BOOTA
-#define CONFIG_SUPPORT_RAW_INITRD
-#define CONFIG_SERIAL_TAG
-
-#undef CONFIG_EXTRA_ENV_SETTINGS
-#undef CONFIG_BOOTCOMMAND
-
-#define CONFIG_EXTRA_ENV_SETTINGS \
- "splashpos=m,m\0" \
- "fdt_high=0xffffffff\0" \
- "initrd_high=0xffffffff\0" \
-
-
-#define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR
-#define CONFIG_FASTBOOT_BUF_SIZE 0x19000000
-
#endif