]> git.dujemihanovic.xyz Git - u-boot.git/commit
ublimage: NAND block size isn't set at build-time
authorLoïc Minier <loic.minier@linaro.org>
Mon, 3 Oct 2011 09:57:12 +0000 (11:57 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 6 Oct 2011 18:21:16 +0000 (20:21 +0200)
commit9f8765805400db65b44c3edb68a638f17dd8399d
tree154d3a7c0510087bcc7c6fb5f8f30c7be970a73e
parenta76406fb05f68bcf0156f456f8ba17ef076cebab
ublimage: NAND block size isn't set at build-time

mkimage's ublimage support can't depend of build-time board configs;
instead, this should be set in ublimage.cfg.  Since currently no configs
in u-boot override the NAND block size, hardcode it as such in
ublimage.h to fix a build failure with "make tools":
gcc [...] -o ublimage.o ublimage.c -c
In file included from ublimage.c:37:0:
ublimage.h:31:20: fatal error: config.h: No such file or directory

Cc: Heiko Schocher <hs@denx.de>
Cc: patches@linaro.org
Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Acked-by: Heiko Schocher <hs@denx.de>
tools/ublimage.h