summaryrefslogtreecommitdiffstats
path: root/programmer.c
diff options
context:
space:
mode:
Diffstat (limited to 'programmer.c')
-rw-r--r--programmer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/programmer.c b/programmer.c
index 2b960e6a0..939d8c2d7 100644
--- a/programmer.c
+++ b/programmer.c
@@ -20,7 +20,12 @@
/* Fallback map() for programmers which don't need special handling */
void *fallback_map(const char *descr, uintptr_t phys_addr, size_t len)
{
- /* FIXME: Should return phys_addr. */
+ /* A result of NULL causes mapped addresses to be chip physical
+ * addresses, assuming only a single region is mapped (the entire flash
+ * space). Chips with a second region (like a register map) require a
+ * real memory mapping to distinguish the different ranges. Those chips
+ * are FWH/LPC, so the bus master provides a real mapping.
+ */
return NULL;
}