Commit 6ef60249066c0229f0a9a943d0c0f3c62d93dc8c
1 parent
4495a7a731
Exists in
smarc-imx_v2018.03_4.14.78_1.0.0_ga
MA-13722 Fix typo in imx8m licence
It's "Copyright" instead of "opyright". Change-Id: I4e66ea402e06ee03b5268d1d70c95e066ad35fd0 Signed-off-by: Ji Luo <ji.luo@nxp.com>
Showing 2 changed files with 2 additions and 2 deletions Inline Diff
include/configs/imx8mm_evk_android.h
1 | /* | 1 | /* |
2 | * opyright 2018 NXP | 2 | * Copyright 2018 NXP |
3 | * | 3 | * |
4 | * SPDX-License-Identifier: GPL-2.0+ | 4 | * SPDX-License-Identifier: GPL-2.0+ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef IMX8MM_EVK_ANDROID_H | 7 | #ifndef IMX8MM_EVK_ANDROID_H |
8 | #define IMX8MM_EVK_ANDROID_H | 8 | #define IMX8MM_EVK_ANDROID_H |
9 | 9 | ||
10 | #define CONFIG_BCB_SUPPORT | 10 | #define CONFIG_BCB_SUPPORT |
11 | #define CONFIG_CMD_READ | 11 | #define CONFIG_CMD_READ |
12 | 12 | ||
13 | #define CONFIG_ANDROID_AB_SUPPORT | 13 | #define CONFIG_ANDROID_AB_SUPPORT |
14 | #define CONFIG_AVB_SUPPORT | 14 | #define CONFIG_AVB_SUPPORT |
15 | #define CONFIG_SUPPORT_EMMC_RPMB | 15 | #define CONFIG_SUPPORT_EMMC_RPMB |
16 | #define CONFIG_SYSTEM_RAMDISK_SUPPORT | 16 | #define CONFIG_SYSTEM_RAMDISK_SUPPORT |
17 | #define CONFIG_AVB_FUSE_BANK_SIZEW 0 | 17 | #define CONFIG_AVB_FUSE_BANK_SIZEW 0 |
18 | #define CONFIG_AVB_FUSE_BANK_START 0 | 18 | #define CONFIG_AVB_FUSE_BANK_START 0 |
19 | #define CONFIG_AVB_FUSE_BANK_END 0 | 19 | #define CONFIG_AVB_FUSE_BANK_END 0 |
20 | #define CONFIG_FASTBOOT_LOCK | 20 | #define CONFIG_FASTBOOT_LOCK |
21 | #define FSL_FASTBOOT_FB_DEV "mmc" | 21 | #define FSL_FASTBOOT_FB_DEV "mmc" |
22 | 22 | ||
23 | #ifdef CONFIG_SYS_MALLOC_LEN | 23 | #ifdef CONFIG_SYS_MALLOC_LEN |
24 | #undef CONFIG_SYS_MALLOC_LEN | 24 | #undef CONFIG_SYS_MALLOC_LEN |
25 | #define CONFIG_SYS_MALLOC_LEN (96 * SZ_1M) | 25 | #define CONFIG_SYS_MALLOC_LEN (96 * SZ_1M) |
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #define CONFIG_USB_FUNCTION_FASTBOOT | 28 | #define CONFIG_USB_FUNCTION_FASTBOOT |
29 | #define CONFIG_CMD_FASTBOOT | 29 | #define CONFIG_CMD_FASTBOOT |
30 | #define CONFIG_ANDROID_BOOT_IMAGE | 30 | #define CONFIG_ANDROID_BOOT_IMAGE |
31 | #define CONFIG_FASTBOOT_FLASH | 31 | #define CONFIG_FASTBOOT_FLASH |
32 | #define CONFIG_FASTBOOT_STORAGE_MMC | 32 | #define CONFIG_FASTBOOT_STORAGE_MMC |
33 | 33 | ||
34 | #define CONFIG_FSL_FASTBOOT | 34 | #define CONFIG_FSL_FASTBOOT |
35 | #define CONFIG_ANDROID_RECOVERY | 35 | #define CONFIG_ANDROID_RECOVERY |
36 | 36 | ||
37 | #define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR | 37 | #define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR |
38 | #define CONFIG_FASTBOOT_BUF_SIZE 0x19000000 | 38 | #define CONFIG_FASTBOOT_BUF_SIZE 0x19000000 |
39 | 39 | ||
40 | #define CONFIG_CMD_BOOTA | 40 | #define CONFIG_CMD_BOOTA |
41 | #define CONFIG_SUPPORT_RAW_INITRD | 41 | #define CONFIG_SUPPORT_RAW_INITRD |
42 | #define CONFIG_SERIAL_TAG | 42 | #define CONFIG_SERIAL_TAG |
43 | 43 | ||
44 | #undef CONFIG_EXTRA_ENV_SETTINGS | 44 | #undef CONFIG_EXTRA_ENV_SETTINGS |
45 | #undef CONFIG_BOOTCOMMAND | 45 | #undef CONFIG_BOOTCOMMAND |
46 | 46 | ||
47 | #define CONFIG_EXTRA_ENV_SETTINGS \ | 47 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
48 | "splashpos=m,m\0" \ | 48 | "splashpos=m,m\0" \ |
49 | "fdt_high=0xffffffffffffffff\0" \ | 49 | "fdt_high=0xffffffffffffffff\0" \ |
50 | "initrd_high=0xffffffffffffffff\0" \ | 50 | "initrd_high=0xffffffffffffffff\0" \ |
51 | 51 | ||
52 | /* Enable mcu firmware flash */ | 52 | /* Enable mcu firmware flash */ |
53 | #ifdef CONFIG_FLASH_MCUFIRMWARE_SUPPORT | 53 | #ifdef CONFIG_FLASH_MCUFIRMWARE_SUPPORT |
54 | #define ANDROID_MCU_FRIMWARE_DEV_TYPE DEV_MMC | 54 | #define ANDROID_MCU_FRIMWARE_DEV_TYPE DEV_MMC |
55 | #define ANDROID_MCU_FIRMWARE_START 0x500000 | 55 | #define ANDROID_MCU_FIRMWARE_START 0x500000 |
56 | #define ANDROID_MCU_FIRMWARE_SIZE 0x40000 | 56 | #define ANDROID_MCU_FIRMWARE_SIZE 0x40000 |
57 | #define ANDROID_MCU_FIRMWARE_HEADER_STACK 0x20020000 | 57 | #define ANDROID_MCU_FIRMWARE_HEADER_STACK 0x20020000 |
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | #ifdef CONFIG_FSL_CAAM_KB | 60 | #ifdef CONFIG_FSL_CAAM_KB |
61 | #undef CONFIG_FSL_CAAM_KB | 61 | #undef CONFIG_FSL_CAAM_KB |
62 | #endif | 62 | #endif |
63 | #define AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED | 63 | #define AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED |
64 | 64 | ||
65 | #endif /* IMX8MM_EVK_ANDROID_H */ | 65 | #endif /* IMX8MM_EVK_ANDROID_H */ |
66 | 66 |
include/configs/imx8mq_evk_android.h
1 | /* | 1 | /* |
2 | * opyright 2017 NXP | 2 | * Copyright 2017 NXP |
3 | * | 3 | * |
4 | * SPDX-License-Identifier: GPL-2.0+ | 4 | * SPDX-License-Identifier: GPL-2.0+ |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef IMX8MQ_EVK_ANDROID_H | 7 | #ifndef IMX8MQ_EVK_ANDROID_H |
8 | #define IMX8MQ_EVK_ANDROID_H | 8 | #define IMX8MQ_EVK_ANDROID_H |
9 | 9 | ||
10 | #define CONFIG_CMD_READ | 10 | #define CONFIG_CMD_READ |
11 | 11 | ||
12 | #define CONFIG_ANDROID_AB_SUPPORT | 12 | #define CONFIG_ANDROID_AB_SUPPORT |
13 | #define CONFIG_AVB_SUPPORT | 13 | #define CONFIG_AVB_SUPPORT |
14 | #define CONFIG_SUPPORT_EMMC_RPMB | 14 | #define CONFIG_SUPPORT_EMMC_RPMB |
15 | #define CONFIG_SYSTEM_RAMDISK_SUPPORT | 15 | #define CONFIG_SYSTEM_RAMDISK_SUPPORT |
16 | #define CONFIG_AVB_FUSE_BANK_SIZEW 0 | 16 | #define CONFIG_AVB_FUSE_BANK_SIZEW 0 |
17 | #define CONFIG_AVB_FUSE_BANK_START 0 | 17 | #define CONFIG_AVB_FUSE_BANK_START 0 |
18 | #define CONFIG_AVB_FUSE_BANK_END 0 | 18 | #define CONFIG_AVB_FUSE_BANK_END 0 |
19 | #define CONFIG_FASTBOOT_LOCK | 19 | #define CONFIG_FASTBOOT_LOCK |
20 | #define FSL_FASTBOOT_FB_DEV "mmc" | 20 | #define FSL_FASTBOOT_FB_DEV "mmc" |
21 | 21 | ||
22 | #ifdef CONFIG_SYS_MALLOC_LEN | 22 | #ifdef CONFIG_SYS_MALLOC_LEN |
23 | #undef CONFIG_SYS_MALLOC_LEN | 23 | #undef CONFIG_SYS_MALLOC_LEN |
24 | #define CONFIG_SYS_MALLOC_LEN (96 * SZ_1M) | 24 | #define CONFIG_SYS_MALLOC_LEN (96 * SZ_1M) |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | #define CONFIG_ANDROID_RECOVERY | 27 | #define CONFIG_ANDROID_RECOVERY |
28 | 28 | ||
29 | #define CONFIG_CMD_BOOTA | 29 | #define CONFIG_CMD_BOOTA |
30 | #define CONFIG_SUPPORT_RAW_INITRD | 30 | #define CONFIG_SUPPORT_RAW_INITRD |
31 | #define CONFIG_SERIAL_TAG | 31 | #define CONFIG_SERIAL_TAG |
32 | 32 | ||
33 | #undef CONFIG_EXTRA_ENV_SETTINGS | 33 | #undef CONFIG_EXTRA_ENV_SETTINGS |
34 | #undef CONFIG_BOOTCOMMAND | 34 | #undef CONFIG_BOOTCOMMAND |
35 | 35 | ||
36 | #define CONFIG_EXTRA_ENV_SETTINGS \ | 36 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
37 | "splashpos=m,m\0" \ | 37 | "splashpos=m,m\0" \ |
38 | "fdt_high=0xffffffffffffffff\0" \ | 38 | "fdt_high=0xffffffffffffffff\0" \ |
39 | "initrd_high=0xffffffffffffffff\0" \ | 39 | "initrd_high=0xffffffffffffffff\0" \ |
40 | 40 | ||
41 | /* Enable mcu firmware flash */ | 41 | /* Enable mcu firmware flash */ |
42 | #ifdef CONFIG_FLASH_MCUFIRMWARE_SUPPORT | 42 | #ifdef CONFIG_FLASH_MCUFIRMWARE_SUPPORT |
43 | #define ANDROID_MCU_FRIMWARE_DEV_TYPE DEV_MMC | 43 | #define ANDROID_MCU_FRIMWARE_DEV_TYPE DEV_MMC |
44 | #define ANDROID_MCU_FIRMWARE_START 0x500000 | 44 | #define ANDROID_MCU_FIRMWARE_START 0x500000 |
45 | #define ANDROID_MCU_FIRMWARE_SIZE 0x40000 | 45 | #define ANDROID_MCU_FIRMWARE_SIZE 0x40000 |
46 | #define ANDROID_MCU_FIRMWARE_HEADER_STACK 0x20020000 | 46 | #define ANDROID_MCU_FIRMWARE_HEADER_STACK 0x20020000 |
47 | #endif | 47 | #endif |
48 | 48 | ||
49 | #ifdef CONFIG_FSL_CAAM_KB | 49 | #ifdef CONFIG_FSL_CAAM_KB |
50 | #undef CONFIG_FSL_CAAM_KB | 50 | #undef CONFIG_FSL_CAAM_KB |
51 | #endif | 51 | #endif |
52 | #define AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED | 52 | #define AVB_AB_I_UNDERSTAND_LIBAVB_AB_IS_DEPRECATED |
53 | 53 | ||
54 | #endif /* IMX8MQ_EVK_ANDROID_H */ | 54 | #endif /* IMX8MQ_EVK_ANDROID_H */ |
55 | 55 |