Skip to content

Commit

Permalink
Revert "Fix hardware model offset (how did this get here?)"
Browse files Browse the repository at this point in the history
This reverts commit cab7e49.
  • Loading branch information
swenson committed Jan 24, 2025
1 parent 14e3fd8 commit 86a90e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hw-model/c-binding/examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ $(TARGET): $(OUT)/caliptra_model.h $(OBJS)

clean:
$(RM) -rf $(OUT)
$(RM) -rf api/*.o *.o

run: $(TARGET)
cargo --config="$(EXTRA_CARGO_CONFIG)" run --manifest-path=$(BUILDER_PATH)/Cargo.toml --bin image -- --rom-with-log $(OUT)/caliptra_rom.bin --fw $(OUT)/image_bundle.bin
$(TARGET) -r $(OUT)/caliptra_rom.bin -f $(OUT)/image_bundle.bin

2 changes: 1 addition & 1 deletion hw-model/c-binding/examples/api/caliptra_fuses.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
extern "C" {
#endif

#define EXTERNAL_PERIPH_BASE 0x00000000
#define EXTERNAL_PERIPH_BASE 0x30000000

static inline void caliptra_fuse_write(caliptra_model *model, uint32_t offset, uint32_t data)
{
Expand Down
2 changes: 1 addition & 1 deletion hw-model/c-binding/examples/api/caliptra_mbox.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
extern "C" {
#endif

#define EXTERNAL_PERIPH_BASE 0x00000000
#define EXTERNAL_PERIPH_BASE 0x30000000

static inline void caliptra_mbox_write(caliptra_model *model, uint32_t offset, uint32_t data)
{
Expand Down

0 comments on commit 86a90e2

Please sign in to comment.