Blame view

include/configs/imx8qxp_mek_android.h 1.5 KB
1c7f8ef97   Ye Li   MLK-18591-8 andro...
1
2
3
4
5
6
7
8
9
10
  /*
   * Copyright 2017 NXP
   *
   * SPDX-License-Identifier:	GPL-2.0+
   */
  
  #ifndef IMX8QXP_MEK_ANDROID_H
  #define IMX8QXP_MEK_ANDROID_H
  
  #define CONFIG_USBD_HS
1c7f8ef97   Ye Li   MLK-18591-8 andro...
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  
  #define CONFIG_BCB_SUPPORT
  #define CONFIG_CMD_READ
  #define CONFIG_USB_GADGET_VBUS_DRAW	2
  
  #define CONFIG_ANDROID_AB_SUPPORT
  #define CONFIG_AVB_SUPPORT
  #define CONFIG_SUPPORT_EMMC_RPMB
  #define CONFIG_SYSTEM_RAMDISK_SUPPORT
  #define CONFIG_AVB_FUSE_BANK_SIZEW 0
  #define CONFIG_AVB_FUSE_BANK_START 0
  #define CONFIG_AVB_FUSE_BANK_END 0
  #define CONFIG_FASTBOOT_LOCK
  #define FSL_FASTBOOT_FB_DEV "mmc"
  
  #ifdef CONFIG_SYS_MALLOC_LEN
  #undef CONFIG_SYS_MALLOC_LEN
0bba42ebb   Zhang Bo   MA-14296-1[Androi...
28
  #define CONFIG_SYS_MALLOC_LEN           (76 * SZ_1M)
1c7f8ef97   Ye Li   MLK-18591-8 andro...
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
  #endif
  
  #define CONFIG_USB_FUNCTION_FASTBOOT
  #define CONFIG_CMD_FASTBOOT
  
  #define CONFIG_ANDROID_BOOT_IMAGE
  #define CONFIG_FASTBOOT_FLASH
  
  #define CONFIG_FSL_FASTBOOT
  #define CONFIG_FASTBOOT_USB_DEV 1
  #define CONFIG_ANDROID_RECOVERY
  
  #if defined CONFIG_SYS_BOOT_SATA
  #define CONFIG_FASTBOOT_STORAGE_SATA
  #define CONFIG_FASTBOOT_SATA_NO 0
  #else
  #define CONFIG_FASTBOOT_STORAGE_MMC
  #endif
  
  #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=0xffffffffffffffff\0"	  \
  	"initrd_high=0xffffffffffffffff\0" \
02571658b   Ji Luo   MA-14141 imx8q: S...
59
  	"panel=NULL\0" \
1c7f8ef97   Ye Li   MLK-18591-8 andro...
60

9020bf07d   Luo Ji   MA-12674 imx8qm/8...
61
  #define CONFIG_FASTBOOT_BUF_ADDR   0x98000000
1c7f8ef97   Ye Li   MLK-18591-8 andro...
62
  #define CONFIG_FASTBOOT_BUF_SIZE   0x19000000
449f9048e   Luo Ji   [iot] Update liba...
63
  #define AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED
1c7f8ef97   Ye Li   MLK-18591-8 andro...
64
  #endif /* IMX8QXP_MEK_ANDROID_H */