block_type_s2i

Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
John McMaster 2019-01-08 11:41:36 +01:00
parent d9fbfc35ca
commit 12c02c347b
1 changed files with 3 additions and 0 deletions

View File

@ -137,6 +137,9 @@ block_type_i2s = {
# special...maybe should error until we know what it is?
# 3: 'RESERVED',
}
block_type_s2i = {}
for k, v in block_type_i2s.items():
block_type_s2i[v] = k
def addr2btype(base_addr):