Skip to content

Commit

Permalink
[ottf,test_rom] Add special linker configuration for Darjeeling
Browse files Browse the repository at this point in the history
Signed-off-by: Amaury Pouly <[email protected]>
  • Loading branch information
pamaury committed Jan 7, 2025
1 parent 8adf648 commit 233173e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions sw/device/lib/testing/test_framework/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ cc_library(

OTTF_REGION_ALIAS = opentitan_select_top(
{
"darjeeling": {"@@OTTF_REGION_ALIAS@@": "ctn"},
},
# Default configuration:
{"@@OTTF_REGION_ALIAS@@": "eflash"},
Expand Down
4 changes: 4 additions & 0 deletions sw/device/lib/testing/test_rom/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ ld_library(
"@@TOP_MEMORY_LD@@": "$(location //hw/top:top_ld)",
} | opentitan_select_top(
{
"darjeeling": {
"@@TEST_ROM_REGION@@": "rom0",
"@@TEST_CODE_REGION@@": "ctn",
},
},
# Default configuration:
{
Expand Down

0 comments on commit 233173e

Please sign in to comment.