Blame view

include/configs/imx8mq_evk_android.h 1.27 KB
1c7f8ef97   Ye Li   MLK-18591-8 andro...
1
  /*
33f9c1d4e   Ji Luo   MA-13722 Fix typo...
2
   * Copyright 2017 NXP
1c7f8ef97   Ye Li   MLK-18591-8 andro...
3
4
5
6
7
8
   *
   * SPDX-License-Identifier:	GPL-2.0+
   */
  
  #ifndef IMX8MQ_EVK_ANDROID_H
  #define IMX8MQ_EVK_ANDROID_H
1c7f8ef97   Ye Li   MLK-18591-8 andro...
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  #define CONFIG_CMD_READ
  
  #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
  #define CONFIG_SYS_MALLOC_LEN           (96 * SZ_1M)
  #endif
1c7f8ef97   Ye Li   MLK-18591-8 andro...
25
  #define CONFIG_ANDROID_RECOVERY
1c7f8ef97   Ye Li   MLK-18591-8 andro...
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
  #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"	\
  
  /* Enable mcu firmware flash */
  #ifdef CONFIG_FLASH_MCUFIRMWARE_SUPPORT
  #define ANDROID_MCU_FRIMWARE_DEV_TYPE DEV_MMC
  #define ANDROID_MCU_FIRMWARE_START 0x500000
  #define ANDROID_MCU_FIRMWARE_SIZE  0x40000
  #define ANDROID_MCU_FIRMWARE_HEADER_STACK 0x20020000
  #endif
bff87b6c3   Ji Luo   MA-12245 Disable ...
45
46
47
  #ifdef CONFIG_FSL_CAAM_KB
  #undef CONFIG_FSL_CAAM_KB
  #endif
449f9048e   Luo Ji   [iot] Update liba...
48
  #define AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED
bff87b6c3   Ji Luo   MA-12245 Disable ...
49

1c7f8ef97   Ye Li   MLK-18591-8 andro...
50
  #endif /* IMX8MQ_EVK_ANDROID_H */