summaryrefslogtreecommitdiff
path: root/common/fmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/fmap.c')
-rw-r--r--common/fmap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/fmap.c b/common/fmap.c
index 28800ee663..4fbafe6f91 100644
--- a/common/fmap.c
+++ b/common/fmap.c
@@ -21,12 +21,8 @@
* variable), this computes the offset to the start of the image on flash.
*/
-#ifdef NPCX_RO_HEADER
-#define RELATIVE_RO(addr) ((addr) - CONFIG_CDRAM_BASE)
-#else
#define RELATIVE_RO(addr) ((addr) - CONFIG_PROGRAM_MEMORY_BASE - \
CONFIG_RO_MEM_OFF)
-#endif
struct fmap_header {
char fmap_signature[FMAP_SIGNATURE_SIZE];