Skip to content

Commit

Permalink
WIP englishbreakfast
Browse files Browse the repository at this point in the history
Signed-off-by: Amaury Pouly <[email protected]>
  • Loading branch information
pamaury committed Sep 18, 2024
1 parent 370ced8 commit ec7ff65
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ build --workspace_status_command=util/get_workspace_status.sh
# --config=riscv32
build:riscv32 --platforms=@crt//platforms/riscv32:opentitan

# This enables convenient building for englishbreakast with the argument
# --config=english_breakfast
build:english_breakfast --copt=-DOT_IS_ENGLISH_BREAKFAST_REDUCED_SUPPORT_FOR_INTERNAL_USE_ONLY_ --features=-rv32_bitmanip

# These options are required to build `cc_fuzz_test` targets. Enable with
# --config=asan-libfuzzer
build:asan-libfuzzer --action_env=CC=clang
Expand Down
8 changes: 4 additions & 4 deletions sw/device/lib/testing/test_rom/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ cc_library(
"//hw/ip/gpio/data:gpio_c_regs",
"//hw/ip/otp_ctrl/data:otp_ctrl_c_regs",
"//hw/ip/spi_device/data:spi_device_c_regs",
"//hw/top_earlgrey/ip_autogen/flash_ctrl:flash_ctrl_c_regs",
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
"//hw/top_englishbreakfast:flash_ctrl_c_regs",
"//hw/top_englishbreakfast:top_lib",
"//sw/device/lib/base:abs_mmio",
"//sw/device/lib/base:multibits",
"//sw/device/lib/dif:rstmgr_intf",
Expand Down Expand Up @@ -123,8 +123,8 @@ cc_library(
deps = [
"//hw/ip/otp_ctrl/data:otp_ctrl_c_regs",
"//hw/ip/spi_device/data:spi_device_c_regs",
"//hw/top_earlgrey/ip_autogen/flash_ctrl:flash_ctrl_c_regs",
"//hw/top_earlgrey/sw/autogen:top_earlgrey",
"//hw/top_englishbreakfast:flash_ctrl_c_regs",
"//hw/top_englishbreakfast:top_lib",
"//sw/device/lib/base:abs_mmio",
"//sw/device/lib/base:macros",
"//sw/device/lib/base:multibits",
Expand Down
1 change: 0 additions & 1 deletion sw/device/lib/testing/test_rom/test_rom.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "sw/device/lib/testing/test_framework/status.h"
#include "sw/device/silicon_creator/lib/base/sec_mmio.h"
#include "sw/device/silicon_creator/lib/chip_info.h"
#include "sw/device/silicon_creator/lib/drivers/flash_ctrl.h"
#if !OT_IS_ENGLISH_BREAKFAST
#include "sw/device/silicon_creator/lib/drivers/retention_sram.h"
#endif
Expand Down

0 comments on commit ec7ff65

Please sign in to comment.