diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 02:50:19 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-08-27 02:50:19 +0200 |
commit | 01270b114be7a82a4dbeae7a3d40c83495224842 (patch) | |
tree | a1a37b6fbc3a7e09c47695a0ef980500ad258320 /recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8_android.h | |
parent | 52bbf971706df3752d5a41879495740041a4a735 (diff) | |
parent | 5c6a2266ffa6780935959af6c96ffc8dd8e2dc1a (diff) |
Merge remote-tracking branch 'meta-bsp-rvphone/master'
Diffstat (limited to 'recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8_android.h')
-rw-r--r-- | recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8_android.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8_android.h b/recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8_android.h new file mode 100644 index 0000000..aa8e010 --- /dev/null +++ b/recipes-bsp/u-boot/rvphone/cl-imx8/include/configs/cl-imx8_android.h @@ -0,0 +1,53 @@ +/* + * Copyright 2017 NXP + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __CL_IMX8_ANDROID_H +#define __CL_IMX8_ANDROID_H + +#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 + +#define CONFIG_ANDROID_RECOVERY + +#define CONFIG_CMD_BOOTA +#define CONFIG_SUPPORT_RAW_INITRD + +#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 + +#ifdef CONFIG_FSL_CAAM_KB +#undef CONFIG_FSL_CAAM_KB +#endif +#define AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED + +#endif /* __CL_IMX8_ANDROID_H */ |