/* * 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 */