Blame view

include/configs/mx6sabreandroid_common.h 899 Bytes
d41ce506b   Eric Lee   Initial Release, ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
  /*
   * Copyright (C) 2013-2016 Freescale Semiconductor, Inc. All Rights Reserved.
   * Copyright 2017 NXP
   *
   * SPDX-License-Identifier:	GPL-2.0+
   */
  
  #ifndef MX6_SABRE_ANDROID_COMMON_H
  #define MX6_SABRE_ANDROID_COMMON_H
  #include "mx_android_common.h"
  
  #define CONFIG_CMD_FASTBOOT
  #define CONFIG_ANDROID_BOOT_IMAGE
  #define CONFIG_FASTBOOT_LOCK
  #define FSL_FASTBOOT_FB_DEV "mmc"
  #define FASTBOOT_ENCRYPT_LOCK
  #define CONFIG_CMD_FSL_CAAM_KB
  #define CONFIG_SHA1
  #define CONFIG_SHA256
  
  #define CONFIG_AVB_SUPPORT
  #ifdef CONFIG_AVB_SUPPORT
  #define CONFIG_ANDROID_RECOVERY
  
  #ifdef CONFIG_SYS_CBSIZE
  #undef CONFIG_SYS_CBSIZE
  #define CONFIG_SYS_CBSIZE 2048
  #endif
  
  #ifdef CONFIG_SYS_MALLOC_LEN
  #undef CONFIG_SYS_MALLOC_LEN
  #define CONFIG_SYS_MALLOC_LEN           (96 * SZ_1M)
  #endif
  
  #endif /* CONFIG_AVB_SUPPORT */
  
  #define AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED
  
  #endif /* MX6_SABRE_ANDROID_COMMON_H */