summaryrefslogtreecommitdiff
path: root/board/servo_micro/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/servo_micro/board.c')
-rw-r--r--board/servo_micro/board.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/board/servo_micro/board.c b/board/servo_micro/board.c
index 1307ef08ba..dedfcfdd7a 100644
--- a/board/servo_micro/board.c
+++ b/board/servo_micro/board.c
@@ -200,27 +200,6 @@ const struct i2c_port_t i2c_ports[] = {
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
-
-/******************************************************************************
- * Support firmware upgrade over USB. We can update whichever section is not
- * the current section.
- */
-
-/*
- * This array defines possible sections available for the firmware update.
- * The section which does not map the current executing code is picked as the
- * valid update area. The values are offsets into the flash space.
- */
-const struct section_descriptor board_rw_sections[] = {
- {CONFIG_RO_MEM_OFF,
- CONFIG_RO_MEM_OFF + CONFIG_RO_SIZE},
- {CONFIG_RW_MEM_OFF,
- CONFIG_RW_MEM_OFF + CONFIG_RW_SIZE},
-};
-const struct section_descriptor * const rw_sections = board_rw_sections;
-const int num_rw_sections = ARRAY_SIZE(board_rw_sections);
-
-
/******************************************************************************
* Initialize board.
*/