mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-04-06 05:55:57 -04:00
Lock down access to FW in app mode
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
3220d1c119
commit
c07b24a0f2
@ -219,7 +219,7 @@ module tk1(
|
||||
app_size_we = 1'h0;
|
||||
cdi_mem_we = 1'h0;
|
||||
cdi_mem_we = 1'h0;
|
||||
tmp_read_data = 32'h00000000;
|
||||
tmp_read_data = 32'h0;
|
||||
tmp_ready = 1'h0;
|
||||
|
||||
if (cs) begin
|
||||
@ -296,7 +296,9 @@ module tk1(
|
||||
end
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user