diff options
author | Sivaraj R | 2019-02-07 11:55:17 -0600 |
---|---|---|
committer | Sivaraj R | 2019-02-07 11:55:17 -0600 |
commit | 2206534c227892a58c4fb4e54ca0c93fe3147f45 (patch) | |
tree | b5229e94da2bc1db9465f13b991c01547253e63b | |
parent | f045d233e1aa92c3c1e30f8ba2ee8119d4e5c04c (diff) | |
parent | 4f6217f758e97f49336157f3dbb6dffc2302971c (diff) | |
download | sd-mmc-2206534c227892a58c4fb4e54ca0c93fe3147f45.tar.gz sd-mmc-2206534c227892a58c4fb4e54ca0c93fe3147f45.tar.xz sd-mmc-2206534c227892a58c4fb4e54ca0c93fe3147f45.zip |
Merge pull request #119 in PROCESSOR-SDK/sd-mmc from review_j721e_sivaraj to master
* commit '4f6217f758e97f49336157f3dbb6dffc2302971c':
PDK-3586: J7 to J721E
35 files changed, 283 insertions, 283 deletions
diff --git a/build/makefile.mk b/build/makefile.mk index 6dc9f13..3e231b6 100644 --- a/build/makefile.mk +++ b/build/makefile.mk | |||
@@ -35,13 +35,13 @@ include $(PDK_MMCSD_COMP_PATH)/src/src_files_common.mk | |||
35 | 35 | ||
36 | MODULE_NAME = mmcsd | 36 | MODULE_NAME = mmcsd |
37 | 37 | ||
38 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x k2g am437x am335x omapl137 omapl138 am65xx j7)) | 38 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x k2g am437x am335x omapl137 omapl138 am65xx j721e)) |
39 | SOC_DIR=$(SOC) | 39 | SOC_DIR=$(SOC) |
40 | else ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x)) | 40 | else ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x)) |
41 | SOC_DIR=am57xx | 41 | SOC_DIR=am57xx |
42 | endif | 42 | endif |
43 | 43 | ||
44 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x omapl137 omapl138 am65xx j7)) | 44 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x omapl137 omapl138 am65xx j721e)) |
45 | SRCDIR += soc/$(SOC_DIR) | 45 | SRCDIR += soc/$(SOC_DIR) |
46 | INCDIR += soc | 46 | INCDIR += soc |
47 | SRCS_COMMON += MMCSD_soc.c | 47 | SRCS_COMMON += MMCSD_soc.c |
@@ -51,17 +51,17 @@ endif | |||
51 | # need to be included for this component | 51 | # need to be included for this component |
52 | INCLUDE_EXTERNAL_INTERFACES = pdk | 52 | INCLUDE_EXTERNAL_INTERFACES = pdk |
53 | 53 | ||
54 | ifneq ($(SOC),$(filter $(SOC), am65xx j7)) | 54 | ifneq ($(SOC),$(filter $(SOC), am65xx j721e)) |
55 | INCLUDE_EXTERNAL_INTERFACES += edma | 55 | INCLUDE_EXTERNAL_INTERFACES += edma |
56 | endif | 56 | endif |
57 | 57 | ||
58 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x omapl137 omapl138 am65xx j7)) | 58 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x omapl137 omapl138 am65xx j721e)) |
59 | PACKAGE_SRCS_COMMON += soc/$(SOC_DIR) | 59 | PACKAGE_SRCS_COMMON += soc/$(SOC_DIR) |
60 | endif | 60 | endif |
61 | 61 | ||
62 | CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) | 62 | CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) |
63 | ifeq ($(BOARD), simJ7) | 63 | ifeq ($(BOARD), j721e_sim) |
64 | CFLAGS_LOCAL_COMMON += $(CFLAGS_GLOBAL_simJ7) | 64 | CFLAGS_LOCAL_COMMON += $(CFLAGS_GLOBAL_j721e_sim) |
65 | endif | 65 | endif |
66 | 66 | ||
67 | # Include common make files | 67 | # Include common make files |
diff --git a/build/makefile_dma.mk b/build/makefile_dma.mk index 2b8cb76..9ff819e 100644 --- a/build/makefile_dma.mk +++ b/build/makefile_dma.mk | |||
@@ -35,13 +35,13 @@ include $(PDK_MMCSD_COMP_PATH)/src/src_files_common.mk | |||
35 | 35 | ||
36 | MODULE_NAME = mmcsd_dma | 36 | MODULE_NAME = mmcsd_dma |
37 | 37 | ||
38 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x k2g am437x am335x am65xx j7)) | 38 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x k2g am437x am335x am65xx j721e)) |
39 | SOC_DIR=$(SOC) | 39 | SOC_DIR=$(SOC) |
40 | else ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x)) | 40 | else ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x)) |
41 | SOC_DIR=am57xx | 41 | SOC_DIR=am57xx |
42 | endif | 42 | endif |
43 | 43 | ||
44 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x am65xx j7)) | 44 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x am65xx j721e)) |
45 | SRCDIR += soc/$(SOC_DIR) | 45 | SRCDIR += soc/$(SOC_DIR) |
46 | INCDIR += soc | 46 | INCDIR += soc |
47 | SRCS_COMMON += MMCSD_soc.c | 47 | SRCS_COMMON += MMCSD_soc.c |
@@ -51,16 +51,16 @@ endif | |||
51 | # need to be included for this component | 51 | # need to be included for this component |
52 | INCLUDE_EXTERNAL_INTERFACES = pdk | 52 | INCLUDE_EXTERNAL_INTERFACES = pdk |
53 | 53 | ||
54 | ifneq ($(SOC),$(filter $(SOC), am65xx j7)) | 54 | ifneq ($(SOC),$(filter $(SOC), am65xx j721e)) |
55 | INCLUDE_EXTERNAL_INTERFACES += edma | 55 | INCLUDE_EXTERNAL_INTERFACES += edma |
56 | endif | 56 | endif |
57 | 57 | ||
58 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x am65xx j7)) | 58 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x am65xx j721e)) |
59 | PACKAGE_SRCS_COMMON += soc/$(SOC_DIR) | 59 | PACKAGE_SRCS_COMMON += soc/$(SOC_DIR) |
60 | endif | 60 | endif |
61 | 61 | ||
62 | 62 | ||
63 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 63 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
64 | CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) | 64 | CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) |
65 | else | 65 | else |
66 | CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) -DMMCSD_EDMA_ENABLED | 66 | CFLAGS_LOCAL_COMMON = $(PDK_CFLAGS) -DMMCSD_EDMA_ENABLED |
diff --git a/build/makefile_dma_profile.mk b/build/makefile_dma_profile.mk index fb5ac13..3623227 100644 --- a/build/makefile_dma_profile.mk +++ b/build/makefile_dma_profile.mk | |||
@@ -35,13 +35,13 @@ include $(PDK_MMCSD_COMP_PATH)/src/src_files_common.mk | |||
35 | 35 | ||
36 | MODULE_NAME = mmcsd_dma_profile | 36 | MODULE_NAME = mmcsd_dma_profile |
37 | 37 | ||
38 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x k2g am437x am335x am65xx j7)) | 38 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x k2g am437x am335x am65xx j721e)) |
39 | SOC_DIR=$(SOC) | 39 | SOC_DIR=$(SOC) |
40 | else ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x)) | 40 | else ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x)) |
41 | SOC_DIR=am57xx | 41 | SOC_DIR=am57xx |
42 | endif | 42 | endif |
43 | 43 | ||
44 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x am65xx j7)) | 44 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x am65xx j721e)) |
45 | SRCDIR += soc/$(SOC_DIR) | 45 | SRCDIR += soc/$(SOC_DIR) |
46 | INCDIR += soc | 46 | INCDIR += soc |
47 | SRCS_COMMON += MMCSD_soc.c | 47 | SRCS_COMMON += MMCSD_soc.c |
@@ -51,11 +51,11 @@ endif | |||
51 | # need to be included for this component | 51 | # need to be included for this component |
52 | INCLUDE_EXTERNAL_INTERFACES = pdk | 52 | INCLUDE_EXTERNAL_INTERFACES = pdk |
53 | 53 | ||
54 | ifneq ($(SOC),$(filter $(SOC), am65xx j7)) | 54 | ifneq ($(SOC),$(filter $(SOC), am65xx j721e)) |
55 | INCLUDE_EXTERNAL_INTERFACES += edma | 55 | INCLUDE_EXTERNAL_INTERFACES += edma |
56 | endif | 56 | endif |
57 | 57 | ||
58 | ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x dra72x dra75x dra78x k2g am437x am335x am65xx j7)) | 58 | ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x dra72x dra75x dra78x k2g am437x am335x am65xx j721e)) |
59 | PACKAGE_SRCS_COMMON += soc/$(SOC_DIR) | 59 | PACKAGE_SRCS_COMMON += soc/$(SOC_DIR) |
60 | endif | 60 | endif |
61 | 61 | ||
diff --git a/build/makefile_indp.mk b/build/makefile_indp.mk index 2ab762a..1ebd917 100644 --- a/build/makefile_indp.mk +++ b/build/makefile_indp.mk | |||
@@ -39,7 +39,7 @@ MODULE_NAME = mmcsd_indp | |||
39 | # need to be included for this component | 39 | # need to be included for this component |
40 | INCLUDE_EXTERNAL_INTERFACES = pdk | 40 | INCLUDE_EXTERNAL_INTERFACES = pdk |
41 | 41 | ||
42 | ifneq ($(SOC),$(filter $(SOC), am65xx j7)) | 42 | ifneq ($(SOC),$(filter $(SOC), am65xx j721e)) |
43 | INCLUDE_EXTERNAL_INTERFACES += edma | 43 | INCLUDE_EXTERNAL_INTERFACES += edma |
44 | endif | 44 | endif |
45 | 45 | ||
diff --git a/build/makefile_profile.mk b/build/makefile_profile.mk index 11a3a39..c4e17d6 100644 --- a/build/makefile_profile.mk +++ b/build/makefile_profile.mk | |||
@@ -35,13 +35,13 @@ include $(PDK_MMCSD_COMP_PATH)/src/src_files_common.mk | |||
35 | 35 | ||
36 | MODULE_NAME = mmcsd_profile | 36 | MODULE_NAME = mmcsd_profile |
37 | 37 | ||
38 | ifeq ($(SOC),$(filter $(SOC), k2g dra72x dra75x dra78x am437x am335x omapl137 omapl138 am65xx j7)) | 38 | ifeq ($(SOC),$(filter $(SOC), k2g dra72x dra75x dra78x am437x am335x omapl137 omapl138 am65xx j721e)) |
39 | SOC_DIR=$(SOC) | 39 | SOC_DIR=$(SOC) |
40 | else ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x)) | 40 | else ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x)) |
41 | SOC_DIR=am57xx | 41 | SOC_DIR=am57xx |
42 | endif | 42 | endif |
43 | 43 | ||
44 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x omapl137 omapl138 am65xx j7)) | 44 | ifeq ($(SOC),$(filter $(SOC), dra72x dra75x dra78x am571x am572x am574x k2g am437x am335x omapl137 omapl138 am65xx j721e)) |
45 | SRCDIR += soc/$(SOC_DIR) | 45 | SRCDIR += soc/$(SOC_DIR) |
46 | INCDIR += soc | 46 | INCDIR += soc |
47 | SRCS_COMMON += MMCSD_soc.c | 47 | SRCS_COMMON += MMCSD_soc.c |
@@ -51,11 +51,11 @@ endif | |||
51 | # need to be included for this component | 51 | # need to be included for this component |
52 | INCLUDE_EXTERNAL_INTERFACES = pdk | 52 | INCLUDE_EXTERNAL_INTERFACES = pdk |
53 | 53 | ||
54 | ifneq ($(SOC),$(filter $(SOC), am65xx j7)) | 54 | ifneq ($(SOC),$(filter $(SOC), am65xx j721e)) |
55 | INCLUDE_EXTERNAL_INTERFACES += edma | 55 | INCLUDE_EXTERNAL_INTERFACES += edma |
56 | endif | 56 | endif |
57 | 57 | ||
58 | ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x dra72x dra75x dra78x k2g am437x am335x am65xx j7)) | 58 | ifeq ($(SOC),$(filter $(SOC), am571x am572x am574x dra72x dra75x dra78x k2g am437x am335x am65xx j721e)) |
59 | PACKAGE_SRCS_COMMON += soc/$(SOC_DIR) | 59 | PACKAGE_SRCS_COMMON += soc/$(SOC_DIR) |
60 | endif | 60 | endif |
61 | 61 | ||
diff --git a/build/makefile_profile_indp.mk b/build/makefile_profile_indp.mk index 82bb97f..68e7268 100644 --- a/build/makefile_profile_indp.mk +++ b/build/makefile_profile_indp.mk | |||
@@ -39,7 +39,7 @@ MODULE_NAME = mmcsd_profile_indp | |||
39 | # need to be included for this component | 39 | # need to be included for this component |
40 | INCLUDE_EXTERNAL_INTERFACES = pdk | 40 | INCLUDE_EXTERNAL_INTERFACES = pdk |
41 | 41 | ||
42 | ifneq ($(SOC),$(filter $(SOC), am65xx j7)) | 42 | ifneq ($(SOC),$(filter $(SOC), am65xx j721e)) |
43 | INCLUDE_EXTERNAL_INTERFACES += edma | 43 | INCLUDE_EXTERNAL_INTERFACES += edma |
44 | endif | 44 | endif |
45 | 45 | ||
diff --git a/mmcsd_component.mk b/mmcsd_component.mk index 1e244b1..ee5815c 100644 --- a/mmcsd_component.mk +++ b/mmcsd_component.mk | |||
@@ -68,9 +68,9 @@ ifeq ($(mmcsd_component_make_include), ) | |||
68 | 68 | ||
69 | # note SOC="devind"is not supported for DMA as it is covered | 69 | # note SOC="devind"is not supported for DMA as it is covered |
70 | # under other list | 70 | # under other list |
71 | drvmmcsd_BOARDLIST = am65xx_evm am65xx_idk simJ7 | 71 | drvmmcsd_BOARDLIST = am65xx_evm am65xx_idk j721e_sim |
72 | drvmmcsd_dma_SOCLIST = am574x am572x am571x k2g am437x am335x dra72x dra75x dra78x omapl137 omapl138 am65xx j7 | 72 | drvmmcsd_dma_SOCLIST = am574x am572x am571x k2g am437x am335x dra72x dra75x dra78x omapl137 omapl138 am65xx j721e |
73 | drvmmcsd_SOCLIST = am574x am572x am571x k2g am437x am335x dra72x dra75x dra78x omapl137 omapl138 am65xx j7 | 73 | drvmmcsd_SOCLIST = am574x am572x am571x k2g am437x am335x dra72x dra75x dra78x omapl137 omapl138 am65xx j721e |
74 | drvmmcsd_dra72x_CORELIST = c66x a15_0 ipu1_0 | 74 | drvmmcsd_dra72x_CORELIST = c66x a15_0 ipu1_0 |
75 | drvmmcsd_dra75x_CORELIST = c66x a15_0 ipu1_0 | 75 | drvmmcsd_dra75x_CORELIST = c66x a15_0 ipu1_0 |
76 | drvmmcsd_dra78x_CORELIST = c66x ipu1_0 | 76 | drvmmcsd_dra78x_CORELIST = c66x ipu1_0 |
@@ -83,7 +83,7 @@ drvmmcsd_am335x_CORELIST = a8host | |||
83 | drvmmcsd_omapl137_CORELIST = arm9_0 c674x | 83 | drvmmcsd_omapl137_CORELIST = arm9_0 c674x |
84 | drvmmcsd_omapl138_CORELIST = arm9_0 c674x | 84 | drvmmcsd_omapl138_CORELIST = arm9_0 c674x |
85 | drvmmcsd_am65xx_CORELIST = mpu1_0 mcu1_0 | 85 | drvmmcsd_am65xx_CORELIST = mpu1_0 mcu1_0 |
86 | drvmmcsd_j7_CORELIST = mcu1_0 mpu1_0 | 86 | drvmmcsd_j721e_CORELIST = mcu1_0 mpu1_0 |
87 | ############################ | 87 | ############################ |
88 | # mmcsd package | 88 | # mmcsd package |
89 | # List of components included under mmcsd lib | 89 | # List of components included under mmcsd lib |
@@ -266,7 +266,7 @@ export MMCSD_TestApp_CORE_DEPENDENCY | |||
266 | export MMCSD_TestApp_XDC_CONFIGURO | 266 | export MMCSD_TestApp_XDC_CONFIGURO |
267 | MMCSD_TestApp_PKG_LIST = MMCSD_TestApp | 267 | MMCSD_TestApp_PKG_LIST = MMCSD_TestApp |
268 | MMCSD_TestApp_INCLUDE = $(MMCSD_TestApp_PATH) | 268 | MMCSD_TestApp_INCLUDE = $(MMCSD_TestApp_PATH) |
269 | MMCSD_TestApp_BOARDLIST = am65xx_idk am65xx_evm simJ7 | 269 | MMCSD_TestApp_BOARDLIST = am65xx_idk am65xx_evm j721e_sim |
270 | export MMCSD_TestApp_BOARDLIST | 270 | export MMCSD_TestApp_BOARDLIST |
271 | MMCSD_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) | 271 | MMCSD_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) |
272 | export MMCSD_TestApp_$(SOC)_CORELIST | 272 | export MMCSD_TestApp_$(SOC)_CORELIST |
@@ -284,7 +284,7 @@ export MMCSD_EMMC_TestApp_CORE_DEPENDENCY | |||
284 | export MMCSD_EMMC_TestApp_XDC_CONFIGURO | 284 | export MMCSD_EMMC_TestApp_XDC_CONFIGURO |
285 | MMCSD_EMMC_TestApp_PKG_LIST = MMCSD_EMMC_TestApp_COMP_LIST | 285 | MMCSD_EMMC_TestApp_PKG_LIST = MMCSD_EMMC_TestApp_COMP_LIST |
286 | MMCSD_EMMC_TestApp_INCLUDE = $(MMCSD_EMMC_TestApp_PATH) | 286 | MMCSD_EMMC_TestApp_INCLUDE = $(MMCSD_EMMC_TestApp_PATH) |
287 | MMCSD_EMMC_TestApp_BOARDLIST = am65xx_idk am65xx_evm simJ7 | 287 | MMCSD_EMMC_TestApp_BOARDLIST = am65xx_idk am65xx_evm j721e_sim |
288 | export MMCSD_EMMC_TestApp_BOARDLIST | 288 | export MMCSD_EMMC_TestApp_BOARDLIST |
289 | MMCSD_EMMC_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) | 289 | MMCSD_EMMC_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) |
290 | export MMCSD_EMMC_TestApp_$(SOC)_CORELIST | 290 | export MMCSD_EMMC_TestApp_$(SOC)_CORELIST |
@@ -303,7 +303,7 @@ export MMCSD_EMMC_DMA_TestApp_CORE_DEPENDENCY | |||
303 | export MMCSD_EMMC_DMA_TestApp_XDC_CONFIGURO | 303 | export MMCSD_EMMC_DMA_TestApp_XDC_CONFIGURO |
304 | MMCSD_EMMC_DMA_TestApp_PKG_LIST = MMCSD_EMMC_DMA_TestApp | 304 | MMCSD_EMMC_DMA_TestApp_PKG_LIST = MMCSD_EMMC_DMA_TestApp |
305 | MMCSD_EMMC_DMA_TestApp_INCLUDE = $(MMCSD_EMMC_DMA_TestApp_PATH) | 305 | MMCSD_EMMC_DMA_TestApp_INCLUDE = $(MMCSD_EMMC_DMA_TestApp_PATH) |
306 | MMCSD_EMMC_DMA_TestApp_BOARDLIST = am65xx_idk am65xx_evm simJ7 | 306 | MMCSD_EMMC_DMA_TestApp_BOARDLIST = am65xx_idk am65xx_evm j721e_sim |
307 | export MMCSD_EMMC_DMA_TestApp_BOARDLIST | 307 | export MMCSD_EMMC_DMA_TestApp_BOARDLIST |
308 | MMCSD_EMMC_DMA_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) | 308 | MMCSD_EMMC_DMA_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) |
309 | export MMCSD_EMMC_DMA_TestApp_$(SOC)_CORELIST | 309 | export MMCSD_EMMC_DMA_TestApp_$(SOC)_CORELIST |
@@ -321,7 +321,7 @@ export MMCSD_Baremetal_TestApp_CORE_DEPENDENCY | |||
321 | export MMCSD_Baremetal_TestApp_XDC_CONFIGURO | 321 | export MMCSD_Baremetal_TestApp_XDC_CONFIGURO |
322 | MMCSD_Baremetal_TestApp_PKG_LIST = MMCSD_Baremetal_TestApp | 322 | MMCSD_Baremetal_TestApp_PKG_LIST = MMCSD_Baremetal_TestApp |
323 | MMCSD_Baremetal_TestApp_INCLUDE = $(MMCSD_Baremetal_TestApp_PATH) | 323 | MMCSD_Baremetal_TestApp_INCLUDE = $(MMCSD_Baremetal_TestApp_PATH) |
324 | MMCSD_Baremetal_TestApp_BOARDLIST = am65xx_idk am65xx_evm simJ7 | 324 | MMCSD_Baremetal_TestApp_BOARDLIST = am65xx_idk am65xx_evm j721e_sim |
325 | export MMCSD_Baremetal_TestApp_BOARDLIST | 325 | export MMCSD_Baremetal_TestApp_BOARDLIST |
326 | MMCSD_Baremetal_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) | 326 | MMCSD_Baremetal_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) |
327 | export MMCSD_Baremetal_TestApp_$(SOC)_CORELIST | 327 | export MMCSD_Baremetal_TestApp_$(SOC)_CORELIST |
@@ -339,7 +339,7 @@ export MMCSD_Baremetal_DMA_TestApp_CORE_DEPENDENCY | |||
339 | export MMCSD_Baremetal_DMA_TestApp_XDC_CONFIGURO | 339 | export MMCSD_Baremetal_DMA_TestApp_XDC_CONFIGURO |
340 | MMCSD_Baremetal_DMA_TestApp_PKG_LIST = MMCSD_Baremetal_DMA_TestApp | 340 | MMCSD_Baremetal_DMA_TestApp_PKG_LIST = MMCSD_Baremetal_DMA_TestApp |
341 | MMCSD_Baremetal_DMA_TestApp_INCLUDE = $(MMCSD_Baremetal_DMA_TestApp_PATH) | 341 | MMCSD_Baremetal_DMA_TestApp_INCLUDE = $(MMCSD_Baremetal_DMA_TestApp_PATH) |
342 | MMCSD_Baremetal_DMA_TestApp_BOARDLIST = am65xx_idk am65xx_evm simJ7 | 342 | MMCSD_Baremetal_DMA_TestApp_BOARDLIST = am65xx_idk am65xx_evm j721e_sim |
343 | export MMCSD_Baremetal_DMA_TestApp_BOARDLIST | 343 | export MMCSD_Baremetal_DMA_TestApp_BOARDLIST |
344 | MMCSD_Baremetal_DMA_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) | 344 | MMCSD_Baremetal_DMA_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) |
345 | export MMCSD_Baremetal_DMA_TestApp_$(SOC)_CORELIST | 345 | export MMCSD_Baremetal_DMA_TestApp_$(SOC)_CORELIST |
@@ -357,7 +357,7 @@ export MMCSD_DMA_TestApp_CORE_DEPENDENCY | |||
357 | export MMCSD_DMA_TestApp_XDC_CONFIGURO | 357 | export MMCSD_DMA_TestApp_XDC_CONFIGURO |
358 | MMCSD_DMA_TestApp_PKG_LIST = MMCSD_DMA_TestApp | 358 | MMCSD_DMA_TestApp_PKG_LIST = MMCSD_DMA_TestApp |
359 | MMCSD_DMA_TestApp_INCLUDE = $(MMCSD_DMA_TestApp_PATH) | 359 | MMCSD_DMA_TestApp_INCLUDE = $(MMCSD_DMA_TestApp_PATH) |
360 | MMCSD_DMA_TestApp_BOARDLIST = am65xx_idk am65xx_evm simJ7 | 360 | MMCSD_DMA_TestApp_BOARDLIST = am65xx_idk am65xx_evm j721e_sim |
361 | export MMCSD_DMA_TestApp_BOARDLIST | 361 | export MMCSD_DMA_TestApp_BOARDLIST |
362 | MMCSD_DMA_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) | 362 | MMCSD_DMA_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) |
363 | export MMCSD_DMA_TestApp_$(SOC)_CORELIST | 363 | export MMCSD_DMA_TestApp_$(SOC)_CORELIST |
@@ -376,7 +376,7 @@ export MMCSD_Baremetal_EMMC_TestApp_CORE_DEPENDENCY | |||
376 | export MMCSD_Baremetal_EMMC_TestApp_XDC_CONFIGURO | 376 | export MMCSD_Baremetal_EMMC_TestApp_XDC_CONFIGURO |
377 | MMCSD_Baremetal_EMMC_TestApp_PKG_LIST = MMCSD_Baremetal_EMMC_TestApp | 377 | MMCSD_Baremetal_EMMC_TestApp_PKG_LIST = MMCSD_Baremetal_EMMC_TestApp |
378 | MMCSD_Baremetal_EMMC_TestApp_INCLUDE = $(MMCSD_Baremetal_EMMC_TestApp_PATH) | 378 | MMCSD_Baremetal_EMMC_TestApp_INCLUDE = $(MMCSD_Baremetal_EMMC_TestApp_PATH) |
379 | MMCSD_Baremetal_EMMC_TestApp_BOARDLIST = am65xx_idk am65xx_evm simJ7 | 379 | MMCSD_Baremetal_EMMC_TestApp_BOARDLIST = am65xx_idk am65xx_evm j721e_sim |
380 | export MMCSD_Baremetal_EMMC_TestApp_BOARDLIST | 380 | export MMCSD_Baremetal_EMMC_TestApp_BOARDLIST |
381 | MMCSD_Baremetal_EMMC_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) | 381 | MMCSD_Baremetal_EMMC_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) |
382 | export MMCSD_Baremetal_EMMC_TestApp_$(SOC)_CORELIST | 382 | export MMCSD_Baremetal_EMMC_TestApp_$(SOC)_CORELIST |
@@ -397,7 +397,7 @@ export MMCSD_Baremetal_EMMC_DMA_TestApp_CORE_DEPENDENCY | |||
397 | export MMCSD_Baremetal_EMMC_DMA_TestApp_XDC_CONFIGURO | 397 | export MMCSD_Baremetal_EMMC_DMA_TestApp_XDC_CONFIGURO |
398 | MMCSD_Baremetal_EMMC_DMA_TestApp_PKG_LIST = MMCSD_Baremetal_EMMC_DMA_TestApp | 398 | MMCSD_Baremetal_EMMC_DMA_TestApp_PKG_LIST = MMCSD_Baremetal_EMMC_DMA_TestApp |
399 | MMCSD_Baremetal_EMMC_DMA_TestApp_INCLUDE = $(MMCSD_Baremetal_EMMC_DMA_TestApp_PATH) | 399 | MMCSD_Baremetal_EMMC_DMA_TestApp_INCLUDE = $(MMCSD_Baremetal_EMMC_DMA_TestApp_PATH) |
400 | MMCSD_Baremetal_EMMC_DMA_TestApp_BOARDLIST = am65xx_idk am65xx_evm simJ7 | 400 | MMCSD_Baremetal_EMMC_DMA_TestApp_BOARDLIST = am65xx_idk am65xx_evm j721e_sim |
401 | export MMCSD_Baremetal_EMMC_DMA_TestApp_BOARDLIST | 401 | export MMCSD_Baremetal_EMMC_DMA_TestApp_BOARDLIST |
402 | MMCSD_Baremetal_EMMC_DMA_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) | 402 | MMCSD_Baremetal_EMMC_DMA_TestApp_$(SOC)_CORELIST = $(drvmmcsd_$(SOC)_CORELIST) |
403 | export MMCSD_Baremetal_EMMC_DMA_TestApp_$(SOC)_CORELIST | 403 | export MMCSD_Baremetal_EMMC_DMA_TestApp_$(SOC)_CORELIST |
@@ -1,141 +1,141 @@ | |||
1 | /* | 1 | /* |
2 | * ======== package.xs ======== | 2 | * ======== package.xs ======== |
3 | * | 3 | * |
4 | */ | 4 | */ |
5 | 5 | ||
6 | 6 | ||
7 | /* | 7 | /* |
8 | * ======== Package.getLibs ======== | 8 | * ======== Package.getLibs ======== |
9 | * This function is called when a program's configuration files are | 9 | * This function is called when a program's configuration files are |
10 | * being generated and it returns the name of a library appropriate | 10 | * being generated and it returns the name of a library appropriate |
11 | * for the program's configuration. | 11 | * for the program's configuration. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | function getLibs(prog) | 14 | function getLibs(prog) |
15 | { | 15 | { |
16 | var suffix = prog.build.target.suffix; | 16 | var suffix = prog.build.target.suffix; |
17 | var name = ""; | 17 | var name = ""; |
18 | var socType = this.Settings.socType; | 18 | var socType = this.Settings.socType; |
19 | var useDma = this.Settings.useDma; | 19 | var useDma = this.Settings.useDma; |
20 | useDma = useDma.toLowerCase(); | 20 | useDma = useDma.toLowerCase(); |
21 | var profilingTag = ""; | 21 | var profilingTag = ""; |
22 | 22 | ||
23 | socType = socType.toLowerCase(); | 23 | socType = socType.toLowerCase(); |
24 | /* Replace the last charecter in SoC am#### to am###x */ | 24 | /* Replace the last charecter in SoC am#### to am###x */ |
25 | if (socType.substring(0, 2) == "am") | 25 | if (socType.substring(0, 2) == "am") |
26 | { | 26 | { |
27 | socType = socType.substring(0, socType.length - 1); | 27 | socType = socType.substring(0, socType.length - 1); |
28 | socType = socType.concat("x"); | 28 | socType = socType.concat("x"); |
29 | } | 29 | } |
30 | 30 | ||
31 | if (this.Settings.enableProfiling == true) | 31 | if (this.Settings.enableProfiling == true) |
32 | { | 32 | { |
33 | profilingTag = ".profiling" | 33 | profilingTag = ".profiling" |
34 | } | 34 | } |
35 | name = this.$name + profilingTag + ".a" + suffix; | 35 | name = this.$name + profilingTag + ".a" + suffix; |
36 | 36 | ||
37 | /* Read LIBDIR variable */ | 37 | /* Read LIBDIR variable */ |
38 | var lib = java.lang.System.getenv("LIBDIR"); | 38 | var lib = java.lang.System.getenv("LIBDIR"); |
39 | 39 | ||
40 | /* If NULL, default to "lib" folder */ | 40 | /* If NULL, default to "lib" folder */ |
41 | if (lib == null) | 41 | if (lib == null) |
42 | { | 42 | { |
43 | lib = "./lib"; | 43 | lib = "./lib"; |
44 | } else { | 44 | } else { |
45 | print ("\tSystem environment LIBDIR variable defined : " + lib); | 45 | print ("\tSystem environment LIBDIR variable defined : " + lib); |
46 | } | 46 | } |
47 | 47 | ||
48 | var socTypes = [ | 48 | var socTypes = [ |
49 | 'am571x', | 49 | 'am571x', |
50 | 'am572x', | 50 | 'am572x', |
51 | 'am574x', | 51 | 'am574x', |
52 | 'dra72x', | 52 | 'dra72x', |
53 | 'dra75x', | 53 | 'dra75x', |
54 | 'dra78x', | 54 | 'dra78x', |
55 | 'am335x', | 55 | 'am335x', |
56 | 'am437x', | 56 | 'am437x', |
57 | 'k2g', | 57 | 'k2g', |
58 | 'omapl137', | 58 | 'omapl137', |
59 | 'omapl138', | 59 | 'omapl138', |
60 | 'am65xx', | 60 | 'am65xx', |
61 | 'j7', | 61 | 'j721e', |
62 | ]; | 62 | ]; |
63 | 63 | ||
64 | /* Get the SOC */ | 64 | /* Get the SOC */ |
65 | for each (var soc in socTypes) | 65 | for each (var soc in socTypes) |
66 | { | 66 | { |
67 | if (socType.equals(soc)) | 67 | if (socType.equals(soc)) |
68 | { | 68 | { |
69 | lib = lib + "/" + soc; | 69 | lib = lib + "/" + soc; |
70 | name = this.$name + profilingTag + ".a" + suffix; | 70 | name = this.$name + profilingTag + ".a" + suffix; |
71 | break; | 71 | break; |
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||
75 | /* Get the DMA choice */ | 75 | /* Get the DMA choice */ |
76 | if (useDma.equals("true")) | 76 | if (useDma.equals("true")) |
77 | { | 77 | { |
78 | name = this.$name + profilingTag + ".dma.a" + suffix; | 78 | name = this.$name + profilingTag + ".dma.a" + suffix; |
79 | } | 79 | } |
80 | 80 | ||
81 | /* Get target folder, if applicable */ | 81 | /* Get target folder, if applicable */ |
82 | if ( java.lang.String(suffix).contains('66') ) | 82 | if ( java.lang.String(suffix).contains('66') ) |
83 | lib = lib + "/c66"; | 83 | lib = lib + "/c66"; |
84 | else if ( java.lang.String(suffix).contains('674') ) | 84 | else if ( java.lang.String(suffix).contains('674') ) |
85 | lib = lib + "/c674"; | 85 | lib = lib + "/c674"; |
86 | else if (java.lang.String(suffix).contains('a15') ) | 86 | else if (java.lang.String(suffix).contains('a15') ) |
87 | lib = lib + "/a15"; | 87 | lib = lib + "/a15"; |
88 | else if (java.lang.String(suffix).contains('m4') ) | 88 | else if (java.lang.String(suffix).contains('m4') ) |
89 | lib = lib + "/m4"; | 89 | lib = lib + "/m4"; |
90 | else if (java.lang.String(suffix).contains('a9') ) | 90 | else if (java.lang.String(suffix).contains('a9') ) |
91 | lib = lib + "/a9"; | 91 | lib = lib + "/a9"; |
92 | else if (java.lang.String(suffix).contains('e9') ) | 92 | else if (java.lang.String(suffix).contains('e9') ) |
93 | lib = lib + "/arm9"; | 93 | lib = lib + "/arm9"; |
94 | else if (java.lang.String(suffix).contains('a8') ) | 94 | else if (java.lang.String(suffix).contains('a8') ) |
95 | lib = lib + "/a8"; | 95 | lib = lib + "/a8"; |
96 | else if (java.lang.String(suffix).contains('a53')) | 96 | else if (java.lang.String(suffix).contains('a53')) |
97 | lib = lib + "/a53"; | 97 | lib = lib + "/a53"; |
98 | else if (java.lang.String(suffix).contains('r5f')) | 98 | else if (java.lang.String(suffix).contains('r5f')) |
99 | lib = lib + "/r5f"; | 99 | lib = lib + "/r5f"; |
100 | else | 100 | else |
101 | throw new Error("\tUnknown target for: " + this.packageBase + lib); | 101 | throw new Error("\tUnknown target for: " + this.packageBase + lib); |
102 | 102 | ||
103 | var libProfiles = ["debug", "release"]; | 103 | var libProfiles = ["debug", "release"]; |
104 | /* get the configured library profile */ | 104 | /* get the configured library profile */ |
105 | for each(var profile in libProfiles) | 105 | for each(var profile in libProfiles) |
106 | { | 106 | { |
107 | if (this.Settings.libProfile.equals(profile)) | 107 | if (this.Settings.libProfile.equals(profile)) |
108 | { | 108 | { |
109 | lib = lib + "/" + profile; | 109 | lib = lib + "/" + profile; |
110 | break; | 110 | break; |
111 | } | 111 | } |
112 | } | 112 | } |
113 | 113 | ||
114 | /* Get library name with path */ | 114 | /* Get library name with path */ |
115 | lib = lib + "/" + name; | 115 | lib = lib + "/" + name; |
116 | if (java.io.File(this.packageBase + lib).exists()) { | 116 | if (java.io.File(this.packageBase + lib).exists()) { |
117 | print ("\tLinking with library " + this.$name + ":" + lib); | 117 | print ("\tLinking with library " + this.$name + ":" + lib); |
118 | return lib; | 118 | return lib; |
119 | } | 119 | } |
120 | 120 | ||
121 | /* Could not find any library, throw exception */ | 121 | /* Could not find any library, throw exception */ |
122 | throw new Error("\tLibrary not found: " + this.packageBase + lib); | 122 | throw new Error("\tLibrary not found: " + this.packageBase + lib); |
123 | } | 123 | } |
124 | 124 | ||
125 | /* | 125 | /* |
126 | * ======== package.init ======== | 126 | * ======== package.init ======== |
127 | */ | 127 | */ |
128 | function init() { | 128 | function init() { |
129 | xdc.loadPackage("ti.osal"); | 129 | xdc.loadPackage("ti.osal"); |
130 | xdc.loadPackage("ti.csl"); | 130 | xdc.loadPackage("ti.csl"); |
131 | } | 131 | } |
132 | 132 | ||
133 | /* | 133 | /* |
134 | * ======== package.close ======== | 134 | * ======== package.close ======== |
135 | */ | 135 | */ |
136 | function close() | 136 | function close() |
137 | { | 137 | { |
138 | if (xdc.om.$name != 'cfg') { | 138 | if (xdc.om.$name != 'cfg') { |
139 | return; | 139 | return; |
140 | } | 140 | } |
141 | } | 141 | } |
diff --git a/soc/MMCSD_soc.h b/soc/MMCSD_soc.h index 4d3374f..37e1afb 100644 --- a/soc/MMCSD_soc.h +++ b/soc/MMCSD_soc.h | |||
@@ -62,7 +62,7 @@ extern "C" { | |||
62 | #include <ti/drv/mmcsd/soc/MMCSD_v1.h> | 62 | #include <ti/drv/mmcsd/soc/MMCSD_v1.h> |
63 | #elif defined (SOC_OMAPL137) || defined(SOC_OMAPL138) | 63 | #elif defined (SOC_OMAPL137) || defined(SOC_OMAPL138) |
64 | #include <ti/drv/mmcsd/soc/MMCSD_v0.h> | 64 | #include <ti/drv/mmcsd/soc/MMCSD_v0.h> |
65 | #elif defined(SOC_AM65XX) || defined(SOC_J7) | 65 | #elif defined(SOC_AM65XX) || defined(SOC_J721E) |
66 | #include <ti/drv/mmcsd/soc/MMCSD_v2.h> | 66 | #include <ti/drv/mmcsd/soc/MMCSD_v2.h> |
67 | #endif | 67 | #endif |
68 | 68 | ||
@@ -79,7 +79,7 @@ extern "C" { | |||
79 | #define MMCSD_CNT CSL_MMCSD_CNT | 79 | #define MMCSD_CNT CSL_MMCSD_CNT |
80 | #elif defined(SOC_OMAPL137) || defined(SOC_OMAPL138) | 80 | #elif defined(SOC_OMAPL137) || defined(SOC_OMAPL138) |
81 | #define MMCSD_CNT CSL_MMCSD_CNT | 81 | #define MMCSD_CNT CSL_MMCSD_CNT |
82 | #elif defined(SOC_AM65XX) || defined(SOC_J7) | 82 | #elif defined(SOC_AM65XX) || defined(SOC_J721E) |
83 | #define MMCSD_CNT 2 | 83 | #define MMCSD_CNT 2 |
84 | #endif | 84 | #endif |
85 | #ifdef __cplusplus | 85 | #ifdef __cplusplus |
diff --git a/soc/j7/MMCSD_soc.c b/soc/j721e/MMCSD_soc.c index cf2a5a0..cf2a5a0 100644 --- a/soc/j7/MMCSD_soc.c +++ b/soc/j721e/MMCSD_soc.c | |||
diff --git a/src/src_files_common.mk b/src/src_files_common.mk index c64dd8d..3ae2520 100644 --- a/src/src_files_common.mk +++ b/src/src_files_common.mk | |||
@@ -17,7 +17,7 @@ INCDIR = . src src/v0 | |||
17 | SRCS_COMMON += MMCSD_v0.c | 17 | SRCS_COMMON += MMCSD_v0.c |
18 | PACKAGE_SRCS_COMMON += src/v0 soc/MMCSD_v0.h | 18 | PACKAGE_SRCS_COMMON += src/v0 soc/MMCSD_v0.h |
19 | else | 19 | else |
20 | ifeq ($(SOC), $(filter $(SOC), am65xx j7)) | 20 | ifeq ($(SOC), $(filter $(SOC), am65xx j721e)) |
21 | SRCDIR = . src src/v2 | 21 | SRCDIR = . src src/v2 |
22 | INCDIR = . src src/v2 | 22 | INCDIR = . src src/v2 |
23 | SRCS_COMMON += MMCSD_v2.c | 23 | SRCS_COMMON += MMCSD_v2.c |
diff --git a/test/MMCSD_Baremetal_DMA_TestApp/makefile b/test/MMCSD_Baremetal_DMA_TestApp/makefile index cca3057..8af8bb3 100644 --- a/test/MMCSD_Baremetal_DMA_TestApp/makefile +++ b/test/MMCSD_Baremetal_DMA_TestApp/makefile | |||
@@ -14,7 +14,7 @@ LOCAL_APP_NAME = MMCSD_Baremetal_DMA_$(BOARD)_$(CORE)TestApp | |||
14 | 14 | ||
15 | BUILD_OS_TYPE = baremetal | 15 | BUILD_OS_TYPE = baremetal |
16 | 16 | ||
17 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 17 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
18 | SRCDIR = ../src ../../ | 18 | SRCDIR = ../src ../../ |
19 | INCDIR = ../src ../include ../../ | 19 | INCDIR = ../src ../include ../../ |
20 | # Common source files across all platforms and cores | 20 | # Common source files across all platforms and cores |
@@ -34,7 +34,7 @@ COMP_LIST_a15_0 = csl_init | |||
34 | COMP_LIST_mpu1_0 = csl_init | 34 | COMP_LIST_mpu1_0 = csl_init |
35 | COMP_LIST_mcu1_0 = csl_init | 35 | COMP_LIST_mcu1_0 = csl_init |
36 | 36 | ||
37 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 37 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
38 | COMP_LIST_COMMON += sciclient | 38 | COMP_LIST_COMMON += sciclient |
39 | endif | 39 | endif |
40 | 40 | ||
diff --git a/test/MMCSD_Baremetal_DMA_TestProject/makefile b/test/MMCSD_Baremetal_DMA_TestProject/makefile index fa712ac..7aa39a7 100644 --- a/test/MMCSD_Baremetal_DMA_TestProject/makefile +++ b/test/MMCSD_Baremetal_DMA_TestProject/makefile | |||
@@ -14,7 +14,7 @@ LOCAL_APP_NAME = MMCSD_Baremetal_DMA_$(BOARD)_$(CORE)TestProject | |||
14 | 14 | ||
15 | BUILD_OS_TYPE = baremetal | 15 | BUILD_OS_TYPE = baremetal |
16 | 16 | ||
17 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 17 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
18 | SRCDIR = ../src ../../ | 18 | SRCDIR = ../src ../../ |
19 | INCDIR = ../src ../include ../../ | 19 | INCDIR = ../src ../include ../../ |
20 | # Common source files across all platforms and cores | 20 | # Common source files across all platforms and cores |
@@ -34,7 +34,7 @@ COMP_LIST_a15_0 = csl_init | |||
34 | COMP_LIST_mpu1_0 = csl_init | 34 | COMP_LIST_mpu1_0 = csl_init |
35 | COMP_LIST_mcu1_0 = csl_init | 35 | COMP_LIST_mcu1_0 = csl_init |
36 | 36 | ||
37 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 37 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
38 | COMP_LIST_COMMON += sciclient | 38 | COMP_LIST_COMMON += sciclient |
39 | endif | 39 | endif |
40 | 40 | ||
diff --git a/test/MMCSD_Baremetal_EMMC_DMA_TestApp/makefile b/test/MMCSD_Baremetal_EMMC_DMA_TestApp/makefile index feb7da8..d40040f 100644 --- a/test/MMCSD_Baremetal_EMMC_DMA_TestApp/makefile +++ b/test/MMCSD_Baremetal_EMMC_DMA_TestApp/makefile | |||
@@ -14,7 +14,7 @@ LOCAL_APP_NAME = MMCSD_Baremetal_EMMC_DMA_$(BOARD)_$(CORE)TestApp | |||
14 | 14 | ||
15 | BUILD_OS_TYPE = baremetal | 15 | BUILD_OS_TYPE = baremetal |
16 | 16 | ||
17 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 17 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
18 | SRCDIR = ../src ../../ | 18 | SRCDIR = ../src ../../ |
19 | INCDIR = ../src ../include ../../ | 19 | INCDIR = ../src ../include ../../ |
20 | # Common source files across all platforms and cores | 20 | # Common source files across all platforms and cores |
@@ -34,7 +34,7 @@ COMP_LIST_a15_0 = csl_init | |||
34 | COMP_LIST_mpu1_0 = csl_init | 34 | COMP_LIST_mpu1_0 = csl_init |
35 | COMP_LIST_mcu1_0 = csl_init | 35 | COMP_LIST_mcu1_0 = csl_init |
36 | 36 | ||
37 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 37 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
38 | COMP_LIST_COMMON += sciclient | 38 | COMP_LIST_COMMON += sciclient |
39 | endif | 39 | endif |
40 | 40 | ||
diff --git a/test/MMCSD_Baremetal_EMMC_DMA_TestProject/makefile b/test/MMCSD_Baremetal_EMMC_DMA_TestProject/makefile index 64cb0dd..4f965a0 100644 --- a/test/MMCSD_Baremetal_EMMC_DMA_TestProject/makefile +++ b/test/MMCSD_Baremetal_EMMC_DMA_TestProject/makefile | |||
@@ -14,7 +14,7 @@ LOCAL_APP_NAME = MMCSD_Baremetal_EMMC_DMA_$(BOARD)_$(CORE)TestProject | |||
14 | 14 | ||
15 | BUILD_OS_TYPE = baremetal | 15 | BUILD_OS_TYPE = baremetal |
16 | 16 | ||
17 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 17 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
18 | SRCDIR = ../src ../../ | 18 | SRCDIR = ../src ../../ |
19 | INCDIR = ../src ../include ../../ | 19 | INCDIR = ../src ../include ../../ |
20 | # Common source files across all platforms and cores | 20 | # Common source files across all platforms and cores |
@@ -34,7 +34,7 @@ COMP_LIST_a15_0 = csl_init | |||
34 | COMP_LIST_mpu1_0 = csl_init | 34 | COMP_LIST_mpu1_0 = csl_init |
35 | COMP_LIST_mcu1_0 = csl_init | 35 | COMP_LIST_mcu1_0 = csl_init |
36 | 36 | ||
37 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 37 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
38 | COMP_LIST_COMMON += sciclient | 38 | COMP_LIST_COMMON += sciclient |
39 | endif | 39 | endif |
40 | 40 | ||
diff --git a/test/MMCSD_Baremetal_EMMC_TestApp/makefile b/test/MMCSD_Baremetal_EMMC_TestApp/makefile index 2868ff8..67ca865 100644 --- a/test/MMCSD_Baremetal_EMMC_TestApp/makefile +++ b/test/MMCSD_Baremetal_EMMC_TestApp/makefile | |||
@@ -14,7 +14,7 @@ LOCAL_APP_NAME = MMCSD_Baremetal_EMMC_$(BOARD)_$(CORE)TestApp | |||
14 | 14 | ||
15 | BUILD_OS_TYPE = baremetal | 15 | BUILD_OS_TYPE = baremetal |
16 | 16 | ||
17 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 17 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
18 | SRCDIR = ../src ../../ | 18 | SRCDIR = ../src ../../ |
19 | INCDIR = ../src ../include ../../ | 19 | INCDIR = ../src ../include ../../ |
20 | # Common source files across all platforms and cores | 20 | # Common source files across all platforms and cores |
@@ -34,7 +34,7 @@ COMP_LIST_a15_0 = csl_init | |||
34 | COMP_LIST_mpu1_0 = csl_init | 34 | COMP_LIST_mpu1_0 = csl_init |
35 | COMP_LIST_mcu1_0 = csl_init | 35 | COMP_LIST_mcu1_0 = csl_init |
36 | 36 | ||
37 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 37 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
38 | COMP_LIST_COMMON += sciclient | 38 | COMP_LIST_COMMON += sciclient |
39 | endif | 39 | endif |
40 | 40 | ||
diff --git a/test/MMCSD_Baremetal_EMMC_TestProject/makefile b/test/MMCSD_Baremetal_EMMC_TestProject/makefile index 9d50d70..5ce880e 100644 --- a/test/MMCSD_Baremetal_EMMC_TestProject/makefile +++ b/test/MMCSD_Baremetal_EMMC_TestProject/makefile | |||
@@ -14,7 +14,7 @@ LOCAL_APP_NAME = MMCSD_Baremetal_EMMC_$(BOARD)_$(CORE)TestProject | |||
14 | 14 | ||
15 | BUILD_OS_TYPE = baremetal | 15 | BUILD_OS_TYPE = baremetal |
16 | 16 | ||
17 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 17 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
18 | SRCDIR = ../src ../../ | 18 | SRCDIR = ../src ../../ |
19 | INCDIR = ../src ../include ../../ | 19 | INCDIR = ../src ../include ../../ |
20 | # Common source files across all platforms and cores | 20 | # Common source files across all platforms and cores |
@@ -34,7 +34,7 @@ COMP_LIST_a15_0 = csl_init | |||
34 | COMP_LIST_mpu1_0 = csl_init | 34 | COMP_LIST_mpu1_0 = csl_init |
35 | COMP_LIST_mcu1_0 = csl_init | 35 | COMP_LIST_mcu1_0 = csl_init |
36 | 36 | ||
37 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 37 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
38 | COMP_LIST_COMMON += sciclient | 38 | COMP_LIST_COMMON += sciclient |
39 | endif | 39 | endif |
40 | 40 | ||
diff --git a/test/MMCSD_Baremetal_TestApp/makefile b/test/MMCSD_Baremetal_TestApp/makefile index 817e920..6a893fd 100644 --- a/test/MMCSD_Baremetal_TestApp/makefile +++ b/test/MMCSD_Baremetal_TestApp/makefile | |||
@@ -14,7 +14,7 @@ LOCAL_APP_NAME = MMCSD_Baremetal_$(BOARD)_$(CORE)TestApp | |||
14 | 14 | ||
15 | BUILD_OS_TYPE = baremetal | 15 | BUILD_OS_TYPE = baremetal |
16 | 16 | ||
17 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 17 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
18 | SRCDIR = ../src ../../ | 18 | SRCDIR = ../src ../../ |
19 | INCDIR = ../src ../include ../../ | 19 | INCDIR = ../src ../include ../../ |
20 | # Common source files across all platforms and cores | 20 | # Common source files across all platforms and cores |
@@ -34,7 +34,7 @@ COMP_LIST_a15_0 = csl_init | |||
34 | COMP_LIST_mpu1_0 = csl_init | 34 | COMP_LIST_mpu1_0 = csl_init |
35 | COMP_LIST_mcu1_0 = csl_init | 35 | COMP_LIST_mcu1_0 = csl_init |
36 | 36 | ||
37 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 37 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
38 | COMP_LIST_COMMON += sciclient | 38 | COMP_LIST_COMMON += sciclient |
39 | endif | 39 | endif |
40 | 40 | ||
diff --git a/test/MMCSD_Baremetal_TestProject/makefile b/test/MMCSD_Baremetal_TestProject/makefile index 789b09d..c9fdf27 100644 --- a/test/MMCSD_Baremetal_TestProject/makefile +++ b/test/MMCSD_Baremetal_TestProject/makefile | |||
@@ -14,7 +14,7 @@ LOCAL_APP_NAME = MMCSD_Baremetal_$(BOARD)_$(CORE)TestProject | |||
14 | 14 | ||
15 | BUILD_OS_TYPE = baremetal | 15 | BUILD_OS_TYPE = baremetal |
16 | 16 | ||
17 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 17 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
18 | SRCDIR = ../src ../../ | 18 | SRCDIR = ../src ../../ |
19 | INCDIR = ../src ../include ../../ | 19 | INCDIR = ../src ../include ../../ |
20 | # Common source files across all platforms and cores | 20 | # Common source files across all platforms and cores |
@@ -34,7 +34,7 @@ COMP_LIST_a15_0 = csl_init | |||
34 | COMP_LIST_mpu1_0 = csl_init | 34 | COMP_LIST_mpu1_0 = csl_init |
35 | COMP_LIST_mcu1_0 = csl_init | 35 | COMP_LIST_mcu1_0 = csl_init |
36 | 36 | ||
37 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 37 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
38 | COMP_LIST_COMMON += sciclient | 38 | COMP_LIST_COMMON += sciclient |
39 | endif | 39 | endif |
40 | 40 | ||
diff --git a/test/MMCSD_DMA_TestApp/makefile b/test/MMCSD_DMA_TestApp/makefile index 8a98163..7aab8b4 100644 --- a/test/MMCSD_DMA_TestApp/makefile +++ b/test/MMCSD_DMA_TestApp/makefile | |||
@@ -32,7 +32,7 @@ endif | |||
32 | 32 | ||
33 | endif | 33 | endif |
34 | 34 | ||
35 | ifeq ($(SOC),$(filter $(SOC), j7)) | 35 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
36 | SRCDIR = ../src ../../ | 36 | SRCDIR = ../src ../../ |
37 | INCDIR = ../src ../include ../../ | 37 | INCDIR = ../src ../include ../../ |
38 | # Common source files across all platforms and cores | 38 | # Common source files across all platforms and cores |
@@ -42,12 +42,12 @@ CFLAGS_MMCSD_UT += -DMMCSD_ADMA_ENABLED | |||
42 | 42 | ||
43 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 43 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
44 | # Enable XDC build for application by providing XDC CFG File per core | 44 | # Enable XDC build for application by providing XDC CFG File per core |
45 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 45 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
46 | endif | 46 | endif |
47 | 47 | ||
48 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 48 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
49 | # Enable XDC build for application by providing XDC CFG File per core | 49 | # Enable XDC build for application by providing XDC CFG File per core |
50 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 50 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
51 | endif | 51 | endif |
52 | 52 | ||
53 | endif | 53 | endif |
@@ -59,7 +59,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
59 | # List all the components required by the application | 59 | # List all the components required by the application |
60 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd | 60 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd |
61 | 61 | ||
62 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 62 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
63 | COMP_LIST_COMMON += sciclient | 63 | COMP_LIST_COMMON += sciclient |
64 | endif | 64 | endif |
65 | 65 | ||
@@ -76,8 +76,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
76 | endif | 76 | endif |
77 | 77 | ||
78 | # j7 build | 78 | # j7 build |
79 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 79 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
80 | CFLAGS_MMCSD_UT += -DsimJ7 | 80 | CFLAGS_MMCSD_UT += -Dj721e_sim |
81 | endif | 81 | endif |
82 | 82 | ||
83 | PACKAGE_SRCS_COMMON = ../ | 83 | PACKAGE_SRCS_COMMON = ../ |
diff --git a/test/MMCSD_DMA_TestProject/makefile b/test/MMCSD_DMA_TestProject/makefile index a61c646..b439851 100644 --- a/test/MMCSD_DMA_TestProject/makefile +++ b/test/MMCSD_DMA_TestProject/makefile | |||
@@ -32,7 +32,7 @@ endif | |||
32 | 32 | ||
33 | endif | 33 | endif |
34 | 34 | ||
35 | ifeq ($(SOC),$(filter $(SOC), j7)) | 35 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
36 | SRCDIR = ../src ../../ | 36 | SRCDIR = ../src ../../ |
37 | INCDIR = ../src ../include ../../ | 37 | INCDIR = ../src ../include ../../ |
38 | # Common source files across all platforms and cores | 38 | # Common source files across all platforms and cores |
@@ -42,12 +42,12 @@ CFLAGS_MMCSD_UT += -DMMCSD_ADMA_ENABLED | |||
42 | 42 | ||
43 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 43 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
44 | # Enable XDC build for application by providing XDC CFG File per core | 44 | # Enable XDC build for application by providing XDC CFG File per core |
45 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 45 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
46 | endif | 46 | endif |
47 | 47 | ||
48 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 48 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
49 | # Enable XDC build for application by providing XDC CFG File per core | 49 | # Enable XDC build for application by providing XDC CFG File per core |
50 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 50 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
51 | endif | 51 | endif |
52 | 52 | ||
53 | endif | 53 | endif |
@@ -59,7 +59,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
59 | # List all the components required by the application | 59 | # List all the components required by the application |
60 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd | 60 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd |
61 | 61 | ||
62 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 62 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
63 | COMP_LIST_COMMON += sciclient | 63 | COMP_LIST_COMMON += sciclient |
64 | endif | 64 | endif |
65 | 65 | ||
@@ -76,8 +76,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
76 | endif | 76 | endif |
77 | 77 | ||
78 | # EVM build | 78 | # EVM build |
79 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 79 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
80 | CFLAGS_MMCSD_UT += -DsimJ7 | 80 | CFLAGS_MMCSD_UT += -Dj721e_sim |
81 | endif | 81 | endif |
82 | 82 | ||
83 | PACKAGE_SRCS_COMMON = ../ | 83 | PACKAGE_SRCS_COMMON = ../ |
diff --git a/test/MMCSD_EMMC_DMA_TestApp/makefile b/test/MMCSD_EMMC_DMA_TestApp/makefile index 150e106..3fdeff8 100644 --- a/test/MMCSD_EMMC_DMA_TestApp/makefile +++ b/test/MMCSD_EMMC_DMA_TestApp/makefile | |||
@@ -30,7 +30,7 @@ endif | |||
30 | 30 | ||
31 | endif | 31 | endif |
32 | 32 | ||
33 | ifeq ($(SOC),$(filter $(SOC), j7)) | 33 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
34 | SRCDIR = ../src ../../ | 34 | SRCDIR = ../src ../../ |
35 | INCDIR = ../src ../include ../../ | 35 | INCDIR = ../src ../include ../../ |
36 | # Common source files across all platforms and cores | 36 | # Common source files across all platforms and cores |
@@ -38,12 +38,12 @@ SRCS_COMMON += main_emmc.c | |||
38 | 38 | ||
39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
40 | # Enable XDC build for application by providing XDC CFG File per core | 40 | # Enable XDC build for application by providing XDC CFG File per core |
41 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 41 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
42 | endif | 42 | endif |
43 | 43 | ||
44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
45 | # Enable XDC build for application by providing XDC CFG File per core | 45 | # Enable XDC build for application by providing XDC CFG File per core |
46 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 46 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
47 | endif | 47 | endif |
48 | 48 | ||
49 | endif | 49 | endif |
@@ -55,7 +55,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
55 | # List all the components required by the application | 55 | # List all the components required by the application |
56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd | 56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd |
57 | 57 | ||
58 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 58 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
59 | COMP_LIST_COMMON += sciclient | 59 | COMP_LIST_COMMON += sciclient |
60 | endif | 60 | endif |
61 | 61 | ||
@@ -73,8 +73,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
73 | endif | 73 | endif |
74 | 74 | ||
75 | # j7 build | 75 | # j7 build |
76 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 76 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
77 | CFLAGS_MMCSD_UT += -DsimJ7 | 77 | CFLAGS_MMCSD_UT += -Dj721e_sim |
78 | endif | 78 | endif |
79 | 79 | ||
80 | PACKAGE_SRCS_COMMON = ../ | 80 | PACKAGE_SRCS_COMMON = ../ |
diff --git a/test/MMCSD_EMMC_DMA_TestProject/makefile b/test/MMCSD_EMMC_DMA_TestProject/makefile index 5527849..2f8eb13 100644 --- a/test/MMCSD_EMMC_DMA_TestProject/makefile +++ b/test/MMCSD_EMMC_DMA_TestProject/makefile | |||
@@ -30,7 +30,7 @@ endif | |||
30 | 30 | ||
31 | endif | 31 | endif |
32 | 32 | ||
33 | ifeq ($(SOC),$(filter $(SOC), j7)) | 33 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
34 | SRCDIR = ../src ../../ | 34 | SRCDIR = ../src ../../ |
35 | INCDIR = ../src ../include ../../ | 35 | INCDIR = ../src ../include ../../ |
36 | # Common source files across all platforms and cores | 36 | # Common source files across all platforms and cores |
@@ -38,12 +38,12 @@ SRCS_COMMON += main_emmc.c | |||
38 | 38 | ||
39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
40 | # Enable XDC build for application by providing XDC CFG File per core | 40 | # Enable XDC build for application by providing XDC CFG File per core |
41 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 41 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
42 | endif | 42 | endif |
43 | 43 | ||
44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
45 | # Enable XDC build for application by providing XDC CFG File per core | 45 | # Enable XDC build for application by providing XDC CFG File per core |
46 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 46 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
47 | endif | 47 | endif |
48 | 48 | ||
49 | endif | 49 | endif |
@@ -55,7 +55,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
55 | # List all the components required by the application | 55 | # List all the components required by the application |
56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd | 56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd |
57 | 57 | ||
58 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 58 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
59 | COMP_LIST_COMMON += sciclient | 59 | COMP_LIST_COMMON += sciclient |
60 | endif | 60 | endif |
61 | 61 | ||
@@ -73,8 +73,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
73 | endif | 73 | endif |
74 | 74 | ||
75 | # EVM build | 75 | # EVM build |
76 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 76 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
77 | CFLAGS_MMCSD_UT += -DsimJ7 | 77 | CFLAGS_MMCSD_UT += -Dj721e_sim |
78 | endif | 78 | endif |
79 | 79 | ||
80 | PACKAGE_SRCS_COMMON = ../ | 80 | PACKAGE_SRCS_COMMON = ../ |
diff --git a/test/MMCSD_EMMC_Regression_TestApp/makefile b/test/MMCSD_EMMC_Regression_TestApp/makefile index 7d86e33..735d7dd 100644 --- a/test/MMCSD_EMMC_Regression_TestApp/makefile +++ b/test/MMCSD_EMMC_Regression_TestApp/makefile | |||
@@ -30,7 +30,7 @@ endif | |||
30 | 30 | ||
31 | endif | 31 | endif |
32 | 32 | ||
33 | ifeq ($(SOC),$(filter $(SOC), j7)) | 33 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
34 | SRCDIR = ../src ../../ | 34 | SRCDIR = ../src ../../ |
35 | INCDIR = ../src ../include ../../ | 35 | INCDIR = ../src ../include ../../ |
36 | # Common source files across all platforms and cores | 36 | # Common source files across all platforms and cores |
@@ -38,12 +38,12 @@ SRCS_COMMON += main_emmc.c | |||
38 | 38 | ||
39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
40 | # Enable XDC build for application by providing XDC CFG File per core | 40 | # Enable XDC build for application by providing XDC CFG File per core |
41 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 41 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
42 | endif | 42 | endif |
43 | 43 | ||
44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
45 | # Enable XDC build for application by providing XDC CFG File per core | 45 | # Enable XDC build for application by providing XDC CFG File per core |
46 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 46 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
47 | endif | 47 | endif |
48 | 48 | ||
49 | endif | 49 | endif |
@@ -55,7 +55,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
55 | # List all the components required by the application | 55 | # List all the components required by the application |
56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd | 56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd |
57 | 57 | ||
58 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 58 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
59 | COMP_LIST_COMMON += sciclient | 59 | COMP_LIST_COMMON += sciclient |
60 | endif | 60 | endif |
61 | 61 | ||
@@ -73,8 +73,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
73 | endif | 73 | endif |
74 | 74 | ||
75 | # j7 build | 75 | # j7 build |
76 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 76 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
77 | CFLAGS_MMCSD_UT += -DsimJ7 | 77 | CFLAGS_MMCSD_UT += -Dj721e_sim |
78 | endif | 78 | endif |
79 | 79 | ||
80 | PACKAGE_SRCS_COMMON = ../ | 80 | PACKAGE_SRCS_COMMON = ../ |
diff --git a/test/MMCSD_EMMC_TestApp/makefile b/test/MMCSD_EMMC_TestApp/makefile index 6726306..1d233ec 100644 --- a/test/MMCSD_EMMC_TestApp/makefile +++ b/test/MMCSD_EMMC_TestApp/makefile | |||
@@ -30,7 +30,7 @@ endif | |||
30 | 30 | ||
31 | endif | 31 | endif |
32 | 32 | ||
33 | ifeq ($(SOC),$(filter $(SOC), j7)) | 33 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
34 | SRCDIR = ../src ../../ | 34 | SRCDIR = ../src ../../ |
35 | INCDIR = ../src ../include ../../ | 35 | INCDIR = ../src ../include ../../ |
36 | # Common source files across all platforms and cores | 36 | # Common source files across all platforms and cores |
@@ -38,12 +38,12 @@ SRCS_COMMON += main_emmc.c | |||
38 | 38 | ||
39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
40 | # Enable XDC build for application by providing XDC CFG File per core | 40 | # Enable XDC build for application by providing XDC CFG File per core |
41 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 41 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
42 | endif | 42 | endif |
43 | 43 | ||
44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
45 | # Enable XDC build for application by providing XDC CFG File per core | 45 | # Enable XDC build for application by providing XDC CFG File per core |
46 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 46 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
47 | endif | 47 | endif |
48 | 48 | ||
49 | endif | 49 | endif |
@@ -55,7 +55,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
55 | # List all the components required by the application | 55 | # List all the components required by the application |
56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd | 56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd |
57 | 57 | ||
58 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 58 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
59 | COMP_LIST_COMMON += sciclient | 59 | COMP_LIST_COMMON += sciclient |
60 | endif | 60 | endif |
61 | 61 | ||
@@ -71,8 +71,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
71 | endif | 71 | endif |
72 | 72 | ||
73 | # j7 build | 73 | # j7 build |
74 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 74 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
75 | CFLAGS_MMCSD_UT += -DsimJ7 | 75 | CFLAGS_MMCSD_UT += -Dj721e_sim |
76 | endif | 76 | endif |
77 | 77 | ||
78 | PACKAGE_SRCS_COMMON = ../ | 78 | PACKAGE_SRCS_COMMON = ../ |
diff --git a/test/MMCSD_EMMC_TestProject/makefile b/test/MMCSD_EMMC_TestProject/makefile index 40e219c..6df2bda 100644 --- a/test/MMCSD_EMMC_TestProject/makefile +++ b/test/MMCSD_EMMC_TestProject/makefile | |||
@@ -30,7 +30,7 @@ endif | |||
30 | 30 | ||
31 | endif | 31 | endif |
32 | 32 | ||
33 | ifeq ($(SOC),$(filter $(SOC), j7)) | 33 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
34 | SRCDIR = ../src ../../ | 34 | SRCDIR = ../src ../../ |
35 | INCDIR = ../src ../include ../../ | 35 | INCDIR = ../src ../include ../../ |
36 | # Common source files across all platforms and cores | 36 | # Common source files across all platforms and cores |
@@ -38,12 +38,12 @@ SRCS_COMMON += main_emmc.c | |||
38 | 38 | ||
39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 39 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
40 | # Enable XDC build for application by providing XDC CFG File per core | 40 | # Enable XDC build for application by providing XDC CFG File per core |
41 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 41 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
42 | endif | 42 | endif |
43 | 43 | ||
44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 44 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
45 | # Enable XDC build for application by providing XDC CFG File per core | 45 | # Enable XDC build for application by providing XDC CFG File per core |
46 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 46 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
47 | endif | 47 | endif |
48 | 48 | ||
49 | endif | 49 | endif |
@@ -55,7 +55,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
55 | # List all the components required by the application | 55 | # List all the components required by the application |
56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd | 56 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd |
57 | 57 | ||
58 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 58 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
59 | COMP_LIST_COMMON += sciclient | 59 | COMP_LIST_COMMON += sciclient |
60 | endif | 60 | endif |
61 | 61 | ||
@@ -71,8 +71,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
71 | endif | 71 | endif |
72 | 72 | ||
73 | # EVM build | 73 | # EVM build |
74 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 74 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
75 | CFLAGS_MMCSD_UT += -DsimJ7 | 75 | CFLAGS_MMCSD_UT += -Dj721e_sim |
76 | endif | 76 | endif |
77 | 77 | ||
78 | 78 | ||
diff --git a/test/MMCSD_Regression_TestApp/makefile b/test/MMCSD_Regression_TestApp/makefile index 751815a..8d366da 100644 --- a/test/MMCSD_Regression_TestApp/makefile +++ b/test/MMCSD_Regression_TestApp/makefile | |||
@@ -32,7 +32,7 @@ endif | |||
32 | 32 | ||
33 | endif | 33 | endif |
34 | 34 | ||
35 | ifeq ($(SOC),$(filter $(SOC), j7)) | 35 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
36 | SRCDIR = ../src ../../ | 36 | SRCDIR = ../src ../../ |
37 | INCDIR = ../src ../include ../../ | 37 | INCDIR = ../src ../include ../../ |
38 | # Common source files across all platforms and cores | 38 | # Common source files across all platforms and cores |
@@ -42,12 +42,12 @@ CFLAGS_MMCSD_UT += -DMMCSD_ADMA_ENABLED -DMMCSD_REGRESSION_TEST -DMEASURE_TIME | |||
42 | 42 | ||
43 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 43 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
44 | # Enable XDC build for application by providing XDC CFG File per core | 44 | # Enable XDC build for application by providing XDC CFG File per core |
45 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 45 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
46 | endif | 46 | endif |
47 | 47 | ||
48 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 48 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
49 | # Enable XDC build for application by providing XDC CFG File per core | 49 | # Enable XDC build for application by providing XDC CFG File per core |
50 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 50 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
51 | endif | 51 | endif |
52 | 52 | ||
53 | endif | 53 | endif |
@@ -59,7 +59,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
59 | # List all the components required by the application | 59 | # List all the components required by the application |
60 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd fatfs_indp | 60 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd fatfs_indp |
61 | 61 | ||
62 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 62 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
63 | COMP_LIST_COMMON += sciclient | 63 | COMP_LIST_COMMON += sciclient |
64 | endif | 64 | endif |
65 | 65 | ||
@@ -75,8 +75,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
75 | endif | 75 | endif |
76 | 76 | ||
77 | # j7 build | 77 | # j7 build |
78 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 78 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
79 | CFLAGS_MMCSD_UT += -DsimJ7 | 79 | CFLAGS_MMCSD_UT += -Dj721e_sim |
80 | endif | 80 | endif |
81 | 81 | ||
82 | PACKAGE_SRCS_COMMON = ../ | 82 | PACKAGE_SRCS_COMMON = ../ |
diff --git a/test/MMCSD_TestApp/makefile b/test/MMCSD_TestApp/makefile index bf4edaf..d4e151d 100644 --- a/test/MMCSD_TestApp/makefile +++ b/test/MMCSD_TestApp/makefile | |||
@@ -31,7 +31,7 @@ endif | |||
31 | 31 | ||
32 | endif | 32 | endif |
33 | 33 | ||
34 | ifeq ($(SOC),$(filter $(SOC), j7)) | 34 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
35 | SRCDIR = ../src ../../ | 35 | SRCDIR = ../src ../../ |
36 | INCDIR = ../src ../include ../../ | 36 | INCDIR = ../src ../include ../../ |
37 | # Common source files across all platforms and cores | 37 | # Common source files across all platforms and cores |
@@ -39,12 +39,12 @@ SRCS_COMMON += main.c | |||
39 | 39 | ||
40 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 40 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
41 | # Enable XDC build for application by providing XDC CFG File per core | 41 | # Enable XDC build for application by providing XDC CFG File per core |
42 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 42 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
43 | endif | 43 | endif |
44 | 44 | ||
45 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 45 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
46 | # Enable XDC build for application by providing XDC CFG File per core | 46 | # Enable XDC build for application by providing XDC CFG File per core |
47 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 47 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
48 | endif | 48 | endif |
49 | 49 | ||
50 | endif | 50 | endif |
@@ -56,7 +56,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
56 | # List all the components required by the application | 56 | # List all the components required by the application |
57 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd | 57 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd |
58 | 58 | ||
59 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 59 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
60 | COMP_LIST_COMMON += sciclient | 60 | COMP_LIST_COMMON += sciclient |
61 | endif | 61 | endif |
62 | 62 | ||
@@ -72,8 +72,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
72 | endif | 72 | endif |
73 | 73 | ||
74 | # j7 build | 74 | # j7 build |
75 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 75 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
76 | CFLAGS_MMCSD_UT += -DsimJ7 | 76 | CFLAGS_MMCSD_UT += -Dj721e_sim |
77 | endif | 77 | endif |
78 | 78 | ||
79 | PACKAGE_SRCS_COMMON = ../ | 79 | PACKAGE_SRCS_COMMON = ../ |
diff --git a/test/MMCSD_TestProject/makefile b/test/MMCSD_TestProject/makefile index d7ea025..ecedf06 100644 --- a/test/MMCSD_TestProject/makefile +++ b/test/MMCSD_TestProject/makefile | |||
@@ -31,7 +31,7 @@ endif | |||
31 | 31 | ||
32 | endif | 32 | endif |
33 | 33 | ||
34 | ifeq ($(SOC),$(filter $(SOC), j7)) | 34 | ifeq ($(SOC),$(filter $(SOC), j721e)) |
35 | SRCDIR = ../src ../../ | 35 | SRCDIR = ../src ../../ |
36 | INCDIR = ../src ../include ../../ | 36 | INCDIR = ../src ../include ../../ |
37 | # Common source files across all platforms and cores | 37 | # Common source files across all platforms and cores |
@@ -39,12 +39,12 @@ SRCS_COMMON += main.c | |||
39 | 39 | ||
40 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) | 40 | ifeq ($(CORE),$(filter $(CORE), mpu1_0)) |
41 | # Enable XDC build for application by providing XDC CFG File per core | 41 | # Enable XDC build for application by providing XDC CFG File per core |
42 | XDC_CFG_FILE_$(CORE) = ../j7/a72/mmcsdUnitTest_a72.cfg | 42 | XDC_CFG_FILE_$(CORE) = ../j721e/a72/mmcsdUnitTest_a72.cfg |
43 | endif | 43 | endif |
44 | 44 | ||
45 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) | 45 | ifeq ($(CORE),$(filter $(CORE), mcu1_0)) |
46 | # Enable XDC build for application by providing XDC CFG File per core | 46 | # Enable XDC build for application by providing XDC CFG File per core |
47 | XDC_CFG_FILE_$(CORE) = ../j7/r5f/mmcsdUnitTest_r5f.cfg | 47 | XDC_CFG_FILE_$(CORE) = ../j721e/r5f/mmcsdUnitTest_r5f.cfg |
48 | endif | 48 | endif |
49 | 49 | ||
50 | endif | 50 | endif |
@@ -56,7 +56,7 @@ INCLUDE_EXTERNAL_INTERFACES = bios xdc pdk | |||
56 | # List all the components required by the application | 56 | # List all the components required by the application |
57 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd | 57 | COMP_LIST_COMMON = csl osal_tirtos uart board mmcsd |
58 | 58 | ||
59 | ifeq ($(SOC),$(filter $(SOC), am65xx j7)) | 59 | ifeq ($(SOC),$(filter $(SOC), am65xx j721e)) |
60 | COMP_LIST_COMMON += sciclient | 60 | COMP_LIST_COMMON += sciclient |
61 | endif | 61 | endif |
62 | 62 | ||
@@ -72,8 +72,8 @@ CFLAGS_MMCSD_UT += -DevmAM65xx | |||
72 | endif | 72 | endif |
73 | 73 | ||
74 | # EVM build | 74 | # EVM build |
75 | ifeq ($(BOARD),$(filter $(BOARD), j7-evm)) | 75 | ifeq ($(BOARD),$(filter $(BOARD), j721e-evm)) |
76 | CFLAGS_MMCSD_UT += -DsimJ7 | 76 | CFLAGS_MMCSD_UT += -Dj721e_sim |
77 | endif | 77 | endif |
78 | 78 | ||
79 | 79 | ||
diff --git a/test/j7/a72/mmcsdUnitTest_a72.cfg b/test/j721e/a72/mmcsdUnitTest_a72.cfg index da45119..da45119 100644 --- a/test/j7/a72/mmcsdUnitTest_a72.cfg +++ b/test/j721e/a72/mmcsdUnitTest_a72.cfg | |||
diff --git a/test/j7/r5f/mmcsdUnitTest_r5f.cfg b/test/j721e/r5f/mmcsdUnitTest_r5f.cfg index b476fc6..b476fc6 100644 --- a/test/j7/r5f/mmcsdUnitTest_r5f.cfg +++ b/test/j721e/r5f/mmcsdUnitTest_r5f.cfg | |||
diff --git a/test/j7/r5f/mpu.xs b/test/j721e/r5f/mpu.xs index bd89bbe..bd89bbe 100644 --- a/test/j7/r5f/mpu.xs +++ b/test/j721e/r5f/mpu.xs | |||
diff --git a/test/src/MMCSD_log.h b/test/src/MMCSD_log.h index bf95540..ddcf82a 100644 --- a/test/src/MMCSD_log.h +++ b/test/src/MMCSD_log.h | |||
@@ -51,7 +51,7 @@ extern "C" { | |||
51 | /* UART Header files */ | 51 | /* UART Header files */ |
52 | #include <ti/drv/uart/UART.h> | 52 | #include <ti/drv/uart/UART.h> |
53 | #include <ti/drv/uart/UART_stdio.h> | 53 | #include <ti/drv/uart/UART_stdio.h> |
54 | #if !defined(SOC_AM65XX) && !defined(SOC_J7) | 54 | #if !defined(SOC_AM65XX) && !defined(SOC_J721E) |
55 | #include <ti/csl/soc/am572x/src/cslr_control_core_pad_io.h> | 55 | #include <ti/csl/soc/am572x/src/cslr_control_core_pad_io.h> |
56 | #endif | 56 | #endif |
57 | 57 | ||
diff --git a/test/src/main.c b/test/src/main.c index 987dc2e..90f3487 100644 --- a/test/src/main.c +++ b/test/src/main.c | |||
@@ -147,7 +147,7 @@ const FATFSConfigList FATFS_config = { | |||
147 | #define MMCSD_DMA_ENABLED 1 | 147 | #define MMCSD_DMA_ENABLED 1 |
148 | #endif | 148 | #endif |
149 | 149 | ||
150 | #if !defined(SOC_AM65XX) && !defined(SOC_J7) | 150 | #if !defined(SOC_AM65XX) && !defined(SOC_J721E) |
151 | #define GPIO_ENABLED | 151 | #define GPIO_ENABLED |
152 | #endif | 152 | #endif |
153 | 153 | ||
@@ -168,7 +168,7 @@ const FATFSConfigList FATFS_config = { | |||
168 | #endif | 168 | #endif |
169 | #include "profiling.h" | 169 | #include "profiling.h" |
170 | 170 | ||
171 | #if defined(SOC_AM65XX) || defined(SOC_J7) | 171 | #if defined(SOC_AM65XX) || defined(SOC_J721E) |
172 | #include <ti/csl/src/ip/intr_router/V0/csl_intr_router.h> | 172 | #include <ti/csl/src/ip/intr_router/V0/csl_intr_router.h> |
173 | #endif | 173 | #endif |
174 | /********************************************************************** | 174 | /********************************************************************** |
@@ -216,7 +216,7 @@ uint32_t mmcsd_test_sizes[MMCSD_TEST_NUM_SIZES]={(1024*10)}; | |||
216 | #define GPIO_PIN_MMC_SDCD_ACTIVE_STATE 0 | 216 | #define GPIO_PIN_MMC_SDCD_ACTIVE_STATE 0 |
217 | #endif | 217 | #endif |
218 | 218 | ||
219 | #if defined(iceK2G) || defined(SOC_AM65XX) || defined(SOC_J7) | 219 | #if defined(iceK2G) || defined(SOC_AM65XX) || defined(SOC_J721E) |
220 | #define MMCSD_INSTANCE_SDCARD 1 | 220 | #define MMCSD_INSTANCE_SDCARD 1 |
221 | #else | 221 | #else |
222 | #define MMCSD_INSTANCE_SDCARD 0 | 222 | #define MMCSD_INSTANCE_SDCARD 0 |
@@ -283,10 +283,10 @@ GPIO_v1_Config GPIO_v1_config = { | |||
283 | #endif | 283 | #endif |
284 | 284 | ||
285 | 285 | ||
286 | #if defined(SOC_J7) | 286 | #if defined(SOC_J721E) |
287 | void MCMSD_configIntRouter(MMCSD_v2_HwAttrs *hwAttrsConfig) | 287 | void MCMSD_configIntRouter(MMCSD_v2_HwAttrs *hwAttrsConfig) |
288 | { | 288 | { |
289 | #if defined(SOC_J7) && defined(__TI_ARM_V7R4__) | 289 | #if defined(SOC_J721E) && defined(__TI_ARM_V7R4__) |
290 | CSL_IntrRouterCfg intrRouterCfg; | 290 | CSL_IntrRouterCfg intrRouterCfg; |
291 | uint32_t mmcsdIntRtrInIntNum,mmcsdIntRtrOutIntNum; | 291 | uint32_t mmcsdIntRtrInIntNum,mmcsdIntRtrOutIntNum; |
292 | 292 | ||
@@ -299,7 +299,7 @@ void MCMSD_configIntRouter(MMCSD_v2_HwAttrs *hwAttrsConfig) | |||
299 | /* Route MMCSD int router output to MAIN2MCU int router output, MAIN2MCU int router output int number | 299 | /* Route MMCSD int router output to MAIN2MCU int router output, MAIN2MCU int router output int number |
300 | * is derived from the MCU GIC interrupt number configured in HwAttr in MMCSD_soc.*/ | 300 | * is derived from the MCU GIC interrupt number configured in HwAttr in MMCSD_soc.*/ |
301 | mmcsdIntRtrInIntNum = hwAttrsConfig->eventId; | 301 | mmcsdIntRtrInIntNum = hwAttrsConfig->eventId; |
302 | #if defined(SOC_J7) | 302 | #if defined(SOC_J721E) |
303 | mmcsdIntRtrOutIntNum = hwAttrsConfig->intNum - CSL_MCU0_INTR_MAIN2MCU_LVL_INTRTR0_OUTL_0; | 303 | mmcsdIntRtrOutIntNum = hwAttrsConfig->intNum - CSL_MCU0_INTR_MAIN2MCU_LVL_INTRTR0_OUTL_0; |
304 | #else | 304 | #else |
305 | mmcsdIntRtrOutIntNum = hwAttrsConfig->intNum - CSL_MCU0_INTR_MAIN2MCU_LVL_INTR0_OUTL_0; | 305 | mmcsdIntRtrOutIntNum = hwAttrsConfig->intNum - CSL_MCU0_INTR_MAIN2MCU_LVL_INTR0_OUTL_0; |
@@ -312,7 +312,7 @@ void MCMSD_configIntRouter(MMCSD_v2_HwAttrs *hwAttrsConfig) | |||
312 | /* Structures and Enums */ | 312 | /* Structures and Enums */ |
313 | /* ========================================================================== */ | 313 | /* ========================================================================== */ |
314 | 314 | ||
315 | #if !defined(SOC_AM65XX) && !defined(SOC_J7) | 315 | #if !defined(SOC_AM65XX) && !defined(SOC_J721E) |
316 | typedef CSL_control_core_pad_ioRegs *CSL_padRegsOvly; | 316 | typedef CSL_control_core_pad_ioRegs *CSL_padRegsOvly; |
317 | #endif | 317 | #endif |
318 | 318 | ||
@@ -352,7 +352,7 @@ uint8_t rx[MMCSD_TEST_MAX_BUFSIZE] __attribute__((aligned(DATA_BUF_ALIGN))) __at | |||
352 | #pragma DATA_ALIGN(rx, DATA_BUF_ALIGN) | 352 | #pragma DATA_ALIGN(rx, DATA_BUF_ALIGN) |
353 | #endif | 353 | #endif |
354 | 354 | ||
355 | #if (defined(SOC_AM65XX) || defined(SOC_J7)) && defined (__aarch64__) | 355 | #if (defined(SOC_AM65XX) || defined(SOC_J721E)) && defined (__aarch64__) |
356 | #ifndef BARE_METAL | 356 | #ifndef BARE_METAL |
357 | volatile int emuwait_mmu=1; | 357 | volatile int emuwait_mmu=1; |
358 | Void InitMmu() | 358 | Void InitMmu() |
@@ -565,7 +565,7 @@ typedef struct { | |||
565 | mmcsdTestBenchmarks_t *benchmarks; | 565 | mmcsdTestBenchmarks_t *benchmarks; |
566 | } mmcsdTestSDProfile_t; | 566 | } mmcsdTestSDProfile_t; |
567 | 567 | ||
568 | #if defined(SOC_AM65XX) || defined(SOC_J7) | 568 | #if defined(SOC_AM65XX) || defined(SOC_J721E) |
569 | /* UHS Tests are disabled for AM65x PG 1.0 due to the silicon issue in 1.8 voltage switching */ | 569 | /* UHS Tests are disabled for AM65x PG 1.0 due to the silicon issue in 1.8 voltage switching */ |
570 | #define MMCSD_UHS_TEST_DISABLED | 570 | #define MMCSD_UHS_TEST_DISABLED |
571 | #endif | 571 | #endif |
@@ -960,7 +960,7 @@ EDMA3_RM_Handle gEdmaHandle = NULL; | |||
960 | 960 | ||
961 | #if defined (SOC_OMAPL137) || defined (SOC_OMAPL138) | 961 | #if defined (SOC_OMAPL137) || defined (SOC_OMAPL138) |
962 | MMCSD_v0_HwAttrs hwAttrsConfigDefault; | 962 | MMCSD_v0_HwAttrs hwAttrsConfigDefault; |
963 | #elif defined (SOC_AM65XX) || defined(SOC_J7) | 963 | #elif defined (SOC_AM65XX) || defined(SOC_J721E) |
964 | MMCSD_v2_HwAttrs hwAttrsConfigDefault; | 964 | MMCSD_v2_HwAttrs hwAttrsConfigDefault; |
965 | #else | 965 | #else |
966 | MMCSD_v1_HwAttrs hwAttrsConfigDefault; | 966 | MMCSD_v1_HwAttrs hwAttrsConfigDefault; |
@@ -983,7 +983,7 @@ void mmcsd_test(UArg arg0, UArg arg1) | |||
983 | 983 | ||
984 | #if defined (SOC_OMAPL137) || defined (SOC_OMAPL138) | 984 | #if defined (SOC_OMAPL137) || defined (SOC_OMAPL138) |
985 | MMCSD_v0_HwAttrs hwAttrsConfig; | 985 | MMCSD_v0_HwAttrs hwAttrsConfig; |
986 | #elif defined (SOC_AM65XX) || defined(SOC_J7) | 986 | #elif defined (SOC_AM65XX) || defined(SOC_J721E) |
987 | MMCSD_v2_HwAttrs hwAttrsConfig; | 987 | MMCSD_v2_HwAttrs hwAttrsConfig; |
988 | #else | 988 | #else |
989 | MMCSD_v1_HwAttrs hwAttrsConfig; | 989 | MMCSD_v1_HwAttrs hwAttrsConfig; |
@@ -1087,7 +1087,7 @@ void mmcsd_test(UArg arg0, UArg arg1) | |||
1087 | 1087 | ||
1088 | hwAttrsConfig.enableInterrupt = testProfilePtr->intr; | 1088 | hwAttrsConfig.enableInterrupt = testProfilePtr->intr; |
1089 | hwAttrsConfig.supportedBusVoltages = testProfilePtr->busVoltage; | 1089 | hwAttrsConfig.supportedBusVoltages = testProfilePtr->busVoltage; |
1090 | #if defined(SOC_AM65XX) || defined(SOC_J7) | 1090 | #if defined(SOC_AM65XX) || defined(SOC_J721E) |
1091 | hwAttrsConfig.supportedModes = testProfilePtr->mode; | 1091 | hwAttrsConfig.supportedModes = testProfilePtr->mode; |
1092 | hwAttrsConfig.supportedBusWidth = testProfilePtr->busWidth; | 1092 | hwAttrsConfig.supportedBusWidth = testProfilePtr->busWidth; |
1093 | #endif | 1093 | #endif |
@@ -1117,7 +1117,7 @@ void mmcsd_test(UArg arg0, UArg arg1) | |||
1117 | #endif | 1117 | #endif |
1118 | 1118 | ||
1119 | 1119 | ||
1120 | #if defined(SOC_J7) | 1120 | #if defined(SOC_J721E) |
1121 | /* Configure the main2mcu router for R5 */ | 1121 | /* Configure the main2mcu router for R5 */ |
1122 | if(hwAttrsConfig.enableInterrupt==1) { | 1122 | if(hwAttrsConfig.enableInterrupt==1) { |
1123 | MCMSD_configIntRouter(&hwAttrsConfig); | 1123 | MCMSD_configIntRouter(&hwAttrsConfig); |
@@ -1239,7 +1239,7 @@ int main(void) | |||
1239 | Board_initCfg boardCfg; | 1239 | Board_initCfg boardCfg; |
1240 | boardCfg = BOARD_INIT_PINMUX_CONFIG | BOARD_INIT_UART_STDIO | BOARD_INIT_MODULE_CLOCK; | 1240 | boardCfg = BOARD_INIT_PINMUX_CONFIG | BOARD_INIT_UART_STDIO | BOARD_INIT_MODULE_CLOCK; |
1241 | 1241 | ||
1242 | #if (defined(SOC_AM65XX) || defined(SOC_J7)) && !defined(__aarch64__) | 1242 | #if (defined(SOC_AM65XX) || defined(SOC_J721E)) && !defined(__aarch64__) |
1243 | /* Clear it until the issue is resolved */ | 1243 | /* Clear it until the issue is resolved */ |
1244 | boardCfg &= ~(BOARD_INIT_MODULE_CLOCK); | 1244 | boardCfg &= ~(BOARD_INIT_MODULE_CLOCK); |
1245 | #endif | 1245 | #endif |
diff --git a/test/src/main_emmc.c b/test/src/main_emmc.c index 4cdb396..d054708 100644 --- a/test/src/main_emmc.c +++ b/test/src/main_emmc.c | |||
@@ -90,7 +90,7 @@ | |||
90 | #endif | 90 | #endif |
91 | 91 | ||
92 | 92 | ||
93 | #if !defined(SOC_AM65XX) && !defined(SOC_J7) | 93 | #if !defined(SOC_AM65XX) && !defined(SOC_J721E) |
94 | #define GPIO_ENABLED 1 | 94 | #define GPIO_ENABLED 1 |
95 | #endif | 95 | #endif |
96 | 96 | ||
@@ -101,7 +101,7 @@ | |||
101 | 101 | ||
102 | #include "profiling.h" | 102 | #include "profiling.h" |
103 | 103 | ||
104 | #if defined(SOC_AM65XX) || defined(SOC_J7) | 104 | #if defined(SOC_AM65XX) || defined(SOC_J721E) |
105 | #include <ti/csl/src/ip/intr_router/V0/csl_intr_router.h> | 105 | #include <ti/csl/src/ip/intr_router/V0/csl_intr_router.h> |
106 | #endif | 106 | #endif |
107 | /********************************************************************** | 107 | /********************************************************************** |
@@ -140,7 +140,7 @@ uint32_t mmcsd_test_sizes[MMCSD_TEST_NUM_SIZES]={(1024*256),(1024*512),(1024*102 | |||
140 | uint32_t mmcsd_test_sizes[MMCSD_TEST_NUM_SIZES]={(1024*10)}; | 140 | uint32_t mmcsd_test_sizes[MMCSD_TEST_NUM_SIZES]={(1024*10)}; |
141 | #endif | 141 | #endif |
142 | 142 | ||
143 | #if defined (SOC_OMAPL137) || defined (SOC_AM65XX) || defined(SOC_J7) | 143 | #if defined (SOC_OMAPL137) || defined (SOC_AM65XX) || defined(SOC_J721E) |
144 | #define MMCSD_INSTANCE_EMMC (0U) | 144 | #define MMCSD_INSTANCE_EMMC (0U) |
145 | #else | 145 | #else |
146 | #define MMCSD_INSTANCE_EMMC (1U) | 146 | #define MMCSD_INSTANCE_EMMC (1U) |
@@ -207,10 +207,10 @@ GPIO_v1_Config GPIO_v1_config = { | |||
207 | #endif | 207 | #endif |
208 | #endif | 208 | #endif |
209 | 209 | ||
210 | #if defined(SOC_J7) | 210 | #if defined(SOC_J721E) |
211 | void MCMSD_configIntRouter(MMCSD_v2_HwAttrs *hwAttrsConfig) | 211 | void MCMSD_configIntRouter(MMCSD_v2_HwAttrs *hwAttrsConfig) |
212 | { | 212 | { |
213 | #if defined(SOC_J7) && defined(__TI_ARM_V7R4__) | 213 | #if defined(SOC_J721E) && defined(__TI_ARM_V7R4__) |
214 | CSL_IntrRouterCfg intrRouterCfg; | 214 | CSL_IntrRouterCfg intrRouterCfg; |
215 | uint32_t mmcsdIntRtrInIntNum,mmcsdIntRtrOutIntNum; | 215 | uint32_t mmcsdIntRtrInIntNum,mmcsdIntRtrOutIntNum; |
216 | 216 | ||
@@ -223,7 +223,7 @@ void MCMSD_configIntRouter(MMCSD_v2_HwAttrs *hwAttrsConfig) | |||
223 | /* Route MMCSD int router output to MAIN2MCU int router output, MAIN2MCU int router output int number | 223 | /* Route MMCSD int router output to MAIN2MCU int router output, MAIN2MCU int router output int number |
224 | * is derived from the MCU GIC interrupt number configured in HwAttr in MMCSD_soc.*/ | 224 | * is derived from the MCU GIC interrupt number configured in HwAttr in MMCSD_soc.*/ |
225 | mmcsdIntRtrInIntNum = hwAttrsConfig->eventId; | 225 | mmcsdIntRtrInIntNum = hwAttrsConfig->eventId; |
226 | #if defined(SOC_J7) | 226 | #if defined(SOC_J721E) |
227 | mmcsdIntRtrOutIntNum = hwAttrsConfig->intNum - CSL_MCU0_INTR_MAIN2MCU_LVL_INTRTR0_OUTL_0; | 227 | mmcsdIntRtrOutIntNum = hwAttrsConfig->intNum - CSL_MCU0_INTR_MAIN2MCU_LVL_INTRTR0_OUTL_0; |
228 | #else | 228 | #else |
229 | mmcsdIntRtrOutIntNum = hwAttrsConfig->intNum - CSL_MCU0_INTR_MAIN2MCU_LVL_INTR0_OUTL_0; | 229 | mmcsdIntRtrOutIntNum = hwAttrsConfig->intNum - CSL_MCU0_INTR_MAIN2MCU_LVL_INTR0_OUTL_0; |
@@ -237,7 +237,7 @@ void MCMSD_configIntRouter(MMCSD_v2_HwAttrs *hwAttrsConfig) | |||
237 | /* Structures and Enums */ | 237 | /* Structures and Enums */ |
238 | /* ========================================================================== */ | 238 | /* ========================================================================== */ |
239 | 239 | ||
240 | #if !defined(SOC_AM65XX) && !defined(SOC_J7) | 240 | #if !defined(SOC_AM65XX) && !defined(SOC_J721E) |
241 | typedef CSL_control_core_pad_ioRegs *CSL_padRegsOvly; | 241 | typedef CSL_control_core_pad_ioRegs *CSL_padRegsOvly; |
242 | #endif | 242 | #endif |
243 | 243 | ||
@@ -248,7 +248,7 @@ typedef CSL_control_core_pad_ioRegs *CSL_padRegsOvly; | |||
248 | static int32_t fillMmcPageData(uint8_t *buf, int32_t length, uint8_t flag,uint32_t *rampBase); | 248 | static int32_t fillMmcPageData(uint8_t *buf, int32_t length, uint8_t flag,uint32_t *rampBase); |
249 | 249 | ||
250 | 250 | ||
251 | #if !defined(SOC_AM65XX) && !defined(SOC_J7) | 251 | #if !defined(SOC_AM65XX) && !defined(SOC_J721E) |
252 | static void EmmcsReset(void); | 252 | static void EmmcsReset(void); |
253 | /* Delay function */ | 253 | /* Delay function */ |
254 | #endif | 254 | #endif |
@@ -284,7 +284,7 @@ __attribute__((aligned(DATA_BUF_ALIGN))) // GCC way of aligning | |||
284 | #pragma DATA_ALIGN(tx, DATA_BUF_ALIGN) | 284 | #pragma DATA_ALIGN(tx, DATA_BUF_ALIGN) |
285 | #pragma DATA_ALIGN(rx, DATA_BUF_ALIGN) | 285 | #pragma DATA_ALIGN(rx, DATA_BUF_ALIGN) |
286 | #endif | 286 | #endif |
287 | #if (defined(SOC_AM65XX) || defined(SOC_J7)) && defined (__aarch64__) | 287 | #if (defined(SOC_AM65XX) || defined(SOC_J721E)) && defined (__aarch64__) |
288 | #ifndef BARE_METAL | 288 | #ifndef BARE_METAL |
289 | volatile int emuwait_mmu=1; | 289 | volatile int emuwait_mmu=1; |
290 | Void InitMmu() | 290 | Void InitMmu() |
@@ -843,7 +843,7 @@ int32_t mmcsd_regression_seek_testID() | |||
843 | 843 | ||
844 | #if defined (SOC_OMAPL137) | 844 | #if defined (SOC_OMAPL137) |
845 | MMCSD_v0_HwAttrs hwAttrsConfigDefault; | 845 | MMCSD_v0_HwAttrs hwAttrsConfigDefault; |
846 | #elif defined (SOC_AM65XX) || defined(SOC_J7) | 846 | #elif defined (SOC_AM65XX) || defined(SOC_J721E) |
847 | MMCSD_v2_HwAttrs hwAttrsConfigDefault; | 847 | MMCSD_v2_HwAttrs hwAttrsConfigDefault; |
848 | #else | 848 | #else |
849 | MMCSD_v1_HwAttrs hwAttrsConfigDefault; | 849 | MMCSD_v1_HwAttrs hwAttrsConfigDefault; |
@@ -865,7 +865,7 @@ void mmcsd_test(UArg arg0, UArg arg1) | |||
865 | uint32_t num_tests_passed=0,num_tests_run=0; | 865 | uint32_t num_tests_passed=0,num_tests_run=0; |
866 | #if defined (SOC_OMAPL137) | 866 | #if defined (SOC_OMAPL137) |
867 | MMCSD_v0_HwAttrs hwAttrsConfig; | 867 | MMCSD_v0_HwAttrs hwAttrsConfig; |
868 | #elif defined (SOC_AM65XX) || defined(SOC_J7) | 868 | #elif defined (SOC_AM65XX) || defined(SOC_J721E) |
869 | MMCSD_v2_HwAttrs hwAttrsConfig; | 869 | MMCSD_v2_HwAttrs hwAttrsConfig; |
870 | #else | 870 | #else |
871 | MMCSD_v1_HwAttrs hwAttrsConfig; | 871 | MMCSD_v1_HwAttrs hwAttrsConfig; |
@@ -960,7 +960,7 @@ void mmcsd_test(UArg arg0, UArg arg1) | |||
960 | hwAttrsConfig.enableInterrupt = testProfilePtr->intr; | 960 | hwAttrsConfig.enableInterrupt = testProfilePtr->intr; |
961 | /* Set the Mode parameters */ | 961 | /* Set the Mode parameters */ |
962 | hwAttrsConfig.supportedBusVoltages = testProfilePtr->busVoltage; | 962 | hwAttrsConfig.supportedBusVoltages = testProfilePtr->busVoltage; |
963 | #if defined(SOC_AM65XX) || defined(SOC_J7) | 963 | #if defined(SOC_AM65XX) || defined(SOC_J721E) |
964 | /* Set the Mode parameters */ | 964 | /* Set the Mode parameters */ |
965 | hwAttrsConfig.supportedModes = testProfilePtr->mode; | 965 | hwAttrsConfig.supportedModes = testProfilePtr->mode; |
966 | /* Set the bus width */ | 966 | /* Set the bus width */ |
@@ -989,7 +989,7 @@ void mmcsd_test(UArg arg0, UArg arg1) | |||
989 | #endif | 989 | #endif |
990 | 990 | ||
991 | 991 | ||
992 | #if defined(SOC_J7) | 992 | #if defined(SOC_J721E) |
993 | /* Configure the main2mcu router for R5 */ | 993 | /* Configure the main2mcu router for R5 */ |
994 | if(hwAttrsConfig.enableInterrupt==1) { | 994 | if(hwAttrsConfig.enableInterrupt==1) { |
995 | MCMSD_configIntRouter(&hwAttrsConfig); | 995 | MCMSD_configIntRouter(&hwAttrsConfig); |
@@ -1015,7 +1015,7 @@ void mmcsd_test(UArg arg0, UArg arg1) | |||
1015 | return; | 1015 | return; |
1016 | } | 1016 | } |
1017 | 1017 | ||
1018 | #if !defined(SOC_OMAPL137) && !defined(SOC_AM65XX) && !defined(SOC_J7) | 1018 | #if !defined(SOC_OMAPL137) && !defined(SOC_AM65XX) && !defined(SOC_J721E) |
1019 | GPIO_init(); | 1019 | GPIO_init(); |
1020 | 1020 | ||
1021 | EmmcsReset(); | 1021 | EmmcsReset(); |
@@ -1088,7 +1088,7 @@ int main(void) | |||
1088 | BOARD_INIT_MODULE_CLOCK | BOARD_INIT_UART_STDIO; | 1088 | BOARD_INIT_MODULE_CLOCK | BOARD_INIT_UART_STDIO; |
1089 | 1089 | ||
1090 | /* Until board issue is resolved */ | 1090 | /* Until board issue is resolved */ |
1091 | #if (defined(SOC_AM65XX) || defined(SOC_J7)) && !defined(__aarch64__) | 1091 | #if (defined(SOC_AM65XX) || defined(SOC_J721E)) && !defined(__aarch64__) |
1092 | /* Clear it until the issue is resolved */ | 1092 | /* Clear it until the issue is resolved */ |
1093 | boardCfg &= ~(BOARD_INIT_MODULE_CLOCK); | 1093 | boardCfg &= ~(BOARD_INIT_MODULE_CLOCK); |
1094 | #endif | 1094 | #endif |