mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-12-29 17:36:26 -05:00
Lock down access to UDI in app mode
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
c573155ba1
commit
5c74a0727c
@ -317,7 +317,9 @@ module tk1(
|
|||||||
end
|
end
|
||||||
|
|
||||||
if ((address >= ADDR_UDI_FIRST) && (address <= ADDR_UDI_LAST)) begin
|
if ((address >= ADDR_UDI_FIRST) && (address <= ADDR_UDI_LAST)) begin
|
||||||
tmp_read_data = udi_mem[address[0]];
|
if (!switch_app_reg) begin
|
||||||
|
tmp_read_data = udi_mem[address[0]];
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user