Blame view

include/configs/mx7dsabresd_androidthings.h 1.15 KB
f15e20eeb   Ye Li   MLK-18591-7 andro...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  /*
   * Copyright (C) 2016 Freescale Semiconductor, Inc.
   *
   * SPDX-License-Identifier:	GPL-2.0+
   */
  
  #ifndef __MX7DSABRESDBRSD_ANDROIDTHINGS_H
  #define __MX7DSABRESDBRSD_ANDROIDTHINGS_H
  #include "mx_android_common.h"
  
  /* For NAND we don't support lock/unlock */
  #ifndef CONFIG_NAND_BOOT
  #define CONFIG_FASTBOOT_LOCK
  #define CONFIG_ENABLE_LOCKSTATUS_SUPPORT
  #define FSL_FASTBOOT_FB_DEV "mmc"
  #endif
  
  #define CONFIG_ANDROID_BOOT_IMAGE
  #define CONFIG_ANDROID_AB_SUPPORT
  #define FASTBOOT_ENCRYPT_LOCK
f15e20eeb   Ye Li   MLK-18591-7 andro...
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
  #define CONFIG_SHA1
  #define CONFIG_SHA256
  
  
  #ifdef CONFIG_SYS_MMC_ENV_DEV
  #undef CONFIG_SYS_MMC_ENV_DEV
  #define CONFIG_SYS_MMC_ENV_DEV		1   /* USDHC2 */
  #endif
  
  #ifdef CONFIG_SYS_MMC_ENV_PART
  #undef CONFIG_SYS_MMC_ENV_PART
  #define CONFIG_SYS_MMC_ENV_PART		1	/* boot0 area */
  #endif
  
  #define CONFIG_SYSTEM_RAMDISK_SUPPORT
  #define CONFIG_CMD_FS_GENERIC
  
  #define CONFIG_AVB_SUPPORT
  #ifdef CONFIG_AVB_SUPPORT
  #define CONFIG_SUPPORT_EMMC_RPMB
  /* fuse bank size in word */
  /* infact 7D have no enough bits
   * set this size to 0 will disable
   * program/read FUSE */
  #define CONFIG_AVB_FUSE_BANK_SIZEW 0
  #define CONFIG_AVB_FUSE_BANK_START 0
  #define CONFIG_AVB_FUSE_BANK_END 0
  #endif
  
  #endif