Commit c1a6386
committed
programmer/tinyprog: Fallback to roots "addrmap" if "bootmeta" missing
When querying the address map, if the "bootmeta" node does not exist
fallback to using the addrmap from the root of the metadata object.
This allows for a default SPI flash metadata section to define the
address map when there is no "bootmeta" data.1 parent 4e875f1 commit c1a6386
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
215 | 222 | | |
216 | 223 | | |
217 | 224 | | |
| |||
0 commit comments