/* * Copyright (C) 2014-2016 Freescale Semiconductor, Inc. * Copyright 2017 NXP * * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __MX6SX_SABRESD_ANDROID_H #define __MX6SX_SABRESD_ANDROID_H #include "mx_android_common.h" #define CONFIG_CMD_FASTBOOT #define CONFIG_ANDROID_BOOT_IMAGE /* For NAND we don't support lock/unlock */ #ifndef CONFIG_NAND_BOOT #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 #endif #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