blob: c9697df9f22efc017c7a8567177c8ccbacad13c4 [file] [log] [blame]
Marti Bolivar2da23eb2017-09-01 13:35:59 -04001/*
2 * HACK: don't enforce fitting in the boot partition on x86.
3 *
4 * The currently only x86 target supported by mcuboot, arduino_101, doesn't
5 * have its flash partitions defined in DTS. On the other hand, all ARM-based
6 * SoCs currently supported do, and no other arches are currently supported.
7 *
8 * Keep the build working on x86 until the board(s) in that arch support flash
9 * partition layout in DTS.
10 */
11#ifndef CONFIG_X86
Marti Bolivar40948132017-08-30 17:54:53 -040012/ {
13 chosen {
14 zephyr,code-partition = &boot_partition;
15 };
16};
Marti Bolivar2da23eb2017-09-01 13:35:59 -040017#endif