Marti Bolivar | 2da23eb | 2017-09-01 13:35:59 -0400 | [diff] [blame^] | 1 | /* |
| 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 Bolivar | 4094813 | 2017-08-30 17:54:53 -0400 | [diff] [blame] | 12 | / { |
| 13 | chosen { |
| 14 | zephyr,code-partition = &boot_partition; |
| 15 | }; |
| 16 | }; |
Marti Bolivar | 2da23eb | 2017-09-01 13:35:59 -0400 | [diff] [blame^] | 17 | #endif |