1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Configuration header file for K3 J721E EVM
4  *
5  * Copyright (C) 2018-2020 Texas Instruments Incorporated - https://www.ti.com/
6  *	Lokesh Vutla <lokeshvutla@ti.com>
7  */
8 
9 #ifndef __CONFIG_J721E_EVM_H
10 #define __CONFIG_J721E_EVM_H
11 
12 #include <linux/sizes.h>
13 
14 /* FLASH Configuration */
15 #define CFG_SYS_FLASH_BASE		0x000000000
16 
17 /* SPL Loader Configuration */
18 #if defined(CONFIG_TARGET_J721E_A72_EVM)
19 #define CFG_SYS_UBOOT_BASE		0x50280000
20 #elif defined(CONFIG_TARGET_J7200_A72_EVM)
21 #define CFG_SYS_UBOOT_BASE		0x50300000
22 #elif defined(CONFIG_TARGET_J721E_R5_EVM)
23 #define CFG_SYS_UBOOT_BASE		0x50080000
24 #else
25 #define CFG_SYS_UBOOT_BASE		0x50100000
26 #endif
27 
28 /**
29  * define J721E_SK_TIBOOT3_IMAGE_GUID - firmware GUID for J721e sk tiboot3.bin
30  * define J721E_SK_SPL_IMAGE_GUID     - firmware GUID for J721e sk SPL
31  * define J721E_SK_UBOOT_IMAGE_GUID   - firmware GUID for J721e sk UBOOT
32  * define J721E_SK_SYSFW_IMAGE_GUID   - firmware GUID for J721e sk SYSFW
33  *
34  * These GUIDs are used in capsules updates to identify the corresponding
35  * firmware object.
36  *
37  * Board developers using this as a starting reference should
38  * define their own GUIDs to ensure that firmware repositories (like
39  * LVFS) do not confuse them.
40  */
41 #define J721E_SK_TIBOOT3_IMAGE_GUID \
42 	EFI_GUID(0xe672b518, 0x7cd7, 0x4014, 0xbd, 0x8d, \
43 		 0x40, 0x72, 0x4d, 0x0a, 0xd4, 0xdc)
44 
45 #define J721E_SK_SPL_IMAGE_GUID \
46 	EFI_GUID(0x86f710ad, 0x10cf, 0x46ea, 0xac, 0x67, \
47 		 0x85, 0x6a, 0xe0, 0x6e, 0xfa, 0xd2)
48 
49 #define J721E_SK_UBOOT_IMAGE_GUID \
50 	EFI_GUID(0x81b58fb0, 0x3b00, 0x4add, 0xa2, 0x0a, \
51 		 0xc1, 0x85, 0xbb, 0xac, 0xa1, 0xed)
52 
53 #define J721E_SK_SYSFW_IMAGE_GUID \
54 	EFI_GUID(0x6fd10680, 0x361b, 0x431f, 0x80, 0xaa, \
55 		 0x89, 0x94, 0x55, 0x81, 0x9e, 0x11)
56 
57 /* Now for the remaining common defines */
58 #include <configs/ti_armv7_common.h>
59 
60 #endif /* __CONFIG_J721E_EVM_H */
61