]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mkimage: Add map_sysmem() and IH_ARCH_DEFAULT to simplfy building
authorSimon Glass <sjg@chromium.org>
Thu, 16 May 2013 13:53:20 +0000 (13:53 +0000)
committerTom Rini <trini@ti.com>
Tue, 4 Jun 2013 20:06:31 +0000 (16:06 -0400)
commit2434c66da041d3c79addde0077eeccb8fceee6e1
treed28715662d09b110975e40e502da69dbfad6d0b9
parenta2cc9bf4c121c3ab7be73a9e12f3d3abab6fa81d
mkimage: Add map_sysmem() and IH_ARCH_DEFAULT to simplfy building

These are not actually used in mkimage itself, but the image code (which
is common with mkimage) does use them. To avoid #ifdefs in the image code
just for mkimage, define dummy version of these here. The compiler will
eliminate the dead code anyway.

A better way to handle this might be to split out more things from common.h
so that mkimage can include them. At present any file that mkimage uses
has to be very careful what headers it includes.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/mkimage.h