Commit f4d0e1ad authored by Marti Bolivar's avatar Marti Bolivar Committed by David Brown
Browse files

zephyr: turn off I2C

Upstream Zephyr is making a habit of enabling subsystems on any board
that supports them. That's a potential security risk if any of those
allow interference with the running bootloader, and is currently
exceeding mcuboot's flash allowance on some STM32 targets,
e.g. 96b_carbon. Turn off I2C to restore the build for those.

Signed-off-by: default avatarMarti Bolivar <marti.bolivar@linaro.org>
parent 40948131
Loading
Loading
Loading
Loading
+4 −3
Changes for boot/zephyr/prj.conf: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -14,7 +14,8 @@ CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_FLASH=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y

### Disable Bluetooth by default
# CONFIG_BT is not set

CONFIG_MULTITHREADING=n

### Zephyr keeps turning on major subsystems by default that we don't want.
# CONFIG_BT is not set
# CONFIG_I2C is not set