Skip to content

Commit

Permalink
[#65650] Use new SetRegister function
Browse files Browse the repository at this point in the history
  • Loading branch information
p-woj committed Sep 16, 2024
1 parent 251be18 commit ba3c387
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions samples/axi_fastvdma/platform_linux.resc
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ macro reset
"""
### set registers ###

cpu SetRegisterUnsafe 0 0x000
cpu SetRegisterUnsafe 1 0xD32 # board id
cpu SetRegisterUnsafe 2 0x100 # device tree address
cpu SetRegister 0 0x000
cpu SetRegister 1 0xD32 # board id
cpu SetRegister 2 0x100 # device tree address

### load binaries ###

Expand Down
6 changes: 3 additions & 3 deletions samples/axi_fastvdma_prebuilt/platform.resc
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ macro reset
"""
### set registers ###

cpu SetRegisterUnsafe 0 0x000
cpu SetRegisterUnsafe 1 0xD32 # board id
cpu SetRegisterUnsafe 2 0x100 # device tree address
cpu SetRegister 0 0x000
cpu SetRegister 1 0xD32 # board id
cpu SetRegister 2 0x100 # device tree address

### load binaries ###

Expand Down

0 comments on commit ba3c387

Please sign in to comment.