diff options
author | Enric Balletbo i Serra <eballetbo@iseebcn.com> | 2013-02-07 00:40:05 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-02-18 18:51:19 (GMT) |
commit | aa127df60ecf5ab1450936902e3374d5a92bd0fb (patch) | |
tree | 0fbec4f9a9a276b59d648342009bfaa757301875 /board/isee | |
parent | 4c21b4c4adc1f84a58d17448c95259649d08d905 (diff) | |
download | u-boot-fsl-qoriq-aa127df60ecf5ab1450936902e3374d5a92bd0fb.tar.xz |
OMAP3: igep00x0: add missing include mach-types.h
Current '#if' directives (used in igep00x0.h config file) comparing MACH_TYPE
values in igep00x0.h doesn't work as expected. The comparision between
CONFIG_MACH_TYPE and MACH_TYPE_IGEP0020 is always true independent of the IGEP
machine configured.
For example, following directive
if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020)
define something
endif
Is always evaluated true although we configure u-boot for MACH_TYPE_IGEP0030.
The build doesn't shows any error so looks that both defines had always the same
value. Including the mach-types.h file sets properly the value of
MACH_TYPE_IGEPxxxx.
Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Diffstat (limited to 'board/isee')
0 files changed, 0 insertions, 0 deletions