summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/servo_v4/board.h12
-rw-r--r--extra/usb_updater/servo_v4.json3
2 files changed, 2 insertions, 13 deletions
diff --git a/board/servo_v4/board.h b/board/servo_v4/board.h
index 1480583af6..24cff51544 100644
--- a/board/servo_v4/board.h
+++ b/board/servo_v4/board.h
@@ -68,18 +68,6 @@
#define CONFIG_I2C_MASTER
#define I2C_PORT_MASTER 1
-/*
- * Create 0x1000 more space in RO so that the build with USB PD will fit.
- * TODO(crosbug.com/p/61170): This fix works currently, but as more PD
- * options are included, the image will no longer fit in the 0x10000 space
- * that's allocated.
- */
-#undef CONFIG_FLASH_PSTATE
-#undef CONFIG_FLASH_PSTATE_BANK
-#undef CONFIG_FW_PSTATE_SIZE
-#define CONFIG_FW_PSTATE_SIZE 0
-
-
/* PD features */
#define CONFIG_ADC
diff --git a/extra/usb_updater/servo_v4.json b/extra/usb_updater/servo_v4.json
index d85949aec4..0167fa1cb4 100644
--- a/extra/usb_updater/servo_v4.json
+++ b/extra/usb_updater/servo_v4.json
@@ -8,6 +8,7 @@
"Comment on region format": "name: [baseoffset, length]",
"regions": {
"RW": ["0x10000", "0x10000"],
- "RO": ["0x0000", "0x10000"]
+ "PSTATE": ["0xf000", "0x1000"],
+ "RO": ["0x0000", "0xf000"]
}
}