]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: ifdtool: Check that U-Boot does not overlap other regions
authorSimon Glass <sjg@chromium.org>
Sat, 15 Aug 2015 20:37:51 +0000 (14:37 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:45 +0000 (11:29 +0200)
commit28769f4b066e385227d13f791632a08a1cc45385
treed99d8359e971e651e7854572af98cb664cf27615
parent7b445bbd326cc87c7d0fe35cd64018e38607de82
x86: ifdtool: Check that U-Boot does not overlap other regions

Since U-Boot and its device tree can grow we should check that it does not
overlap the regions above it. Track the ROM offset that U-Boot reaches and
check that other regions (written after U-Boot) do not interfere.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
tools/ifdtool.c