fdt: Add fdt_fixup_nor_flash_size() to fixup NOR FLASH size in dtb
authorStefan Roese <sr@denx.de>
Wed, 21 Oct 2009 09:59:52 +0000 (11:59 +0200)
committerStefan Roese <sr@denx.de>
Fri, 23 Oct 2009 13:55:23 +0000 (15:55 +0200)
commit30d45c0d3ea2231f9131276ea113595959a0720e
tree8b96098e1b7d458715d1803b79a7c6d67efc2dbb
parent76706cb86b1c76954ff5353db6757ab99cfd95fb
fdt: Add fdt_fixup_nor_flash_size() to fixup NOR FLASH size in dtb

This function can be used to update the size in the "reg" property
of the NOR FLASH device nodes. This is necessary for boards with
non-fixed NOR FLASH sizes.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
Acked-by: Wolfgang Denk <wd@denx.de>
common/fdt_support.c
include/fdt_support.h