build: s5j: introduce a new kconfig, CONFIG_SAMSUNG_NS2
authorHeesub Shin <heesub.shin@samsung.com>
Mon, 13 Mar 2017 00:52:50 +0000 (09:52 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 10:08:14 +0000 (19:08 +0900)
commit49911bbfa9310ddc71e3c9b771fe6b75bf1f210c
tree6c46da7a481880dbac6b8187a58b1c2f86b8aefb
parent8f9a2e4812f99e0dfeff28c1a8ecb0d8e8acd537
build: s5j: introduce a new kconfig, CONFIG_SAMSUNG_NS2

Bootloader of S5J platform requires the raw binary to have SHA256
checksum and some magic numbers at the first 32bytes of the binary.
Second stage boot loaders checks it to verify the integrity.

This commit introduces a new Kconfig entry, CONFIG_SAMSUNG_NS2, and a
small python script for putting SHA256 checksum into the header.

Change-Id: I95b24d97094b2c9c87ee1b30a6fb7883fed9fc64
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/Kconfig
os/Makefile.unix
os/Makefile.win
os/tools/s5jchksum.py [new file with mode: 0755]