zephyr/soc/arm/microchip_mec
Jay Vasanth e74978cc03 microchip: mec: zephyr spi image generation
Added mchp mec zephyr image generator python script. It takes
zephyr.bin as input and produces zephyr.mchp.bin.
The default behavior is to not pad to SPI flash size.
(Enable through CONFIG_MCHP_MEC_UNSIGNED_HEADER=y and
CONFIG_MCHP_MEC_HEADER_FLASH_SIZE_256K=y)

zephyr.mchp.bin is composed of:
1. First 4KB contains TAG at offset 0 and header at offset 0x100
2. Offset 0x1000 is the start of zephyr.bin which has been padded
to a multiple of 128 bytes.
3. Boot-ROM EC Info Block (128 bytes)
4. Boot-ROM Co-Signature Block (96 bytes)
5. Boot-ROM trailer (160 bytes) contains the SHA-384 digest of 2-4.

Signed-off-by: Jay Vasanth <jay.vasanth@microchip.com>
2022-07-01 11:35:13 +02:00
..
common microchip: mec: zephyr spi image generation 2022-07-01 11:35:13 +02:00
mec172x soc: pm: Microchip MEC172x SoC based power management 2022-06-05 14:28:25 +02:00
mec1501 linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
mec1701 linker: update files with <zephyr/...> include prefix 2022-05-09 12:45:29 -04:00
CMakeLists.txt drivers: pinctrl: Microchip MEC172x pinctrl driver 2022-03-07 11:03:06 +01:00
Kconfig microchip: mec: zephyr spi image generation 2022-07-01 11:35:13 +02:00
Kconfig.defconfig
Kconfig.soc