diff options
author | Stefano Babic <sbabic@denx.de> | 2008-07-25 08:57:40 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-30 00:45:42 +0200 |
commit | 5d1d00fb36005482e1803a00ddc46efa11d719af (patch) | |
tree | f0f9a6b8b7b25143604599248a5dddfc0f4145de /mips_config.mk | |
parent | 2dacb734bac9dba1db9e704d3e0b200ef521c79a (diff) | |
download | u-boot-imx-5d1d00fb36005482e1803a00ddc46efa11d719af.zip u-boot-imx-5d1d00fb36005482e1803a00ddc46efa11d719af.tar.gz u-boot-imx-5d1d00fb36005482e1803a00ddc46efa11d719af.tar.bz2 |
Add include for config.h in command.h.
Because the cmd_tbl_s structure depends on the configuration file, it
must be assured that config.h is included before the structure is
evaluated by the compiler. If this is not certain, it could happen
that the compiler generates structures of different size, depending
on the fact if the source file includes <config.h> before or after
<command.h>.
The effect is that u-boot crashes when tries to relocate the command
table (for ppc) or try to access to the command table for other
architectures.
The problem can happen on board-depending commands. All general
commands under /common are unaffected, because they include already
config.h before command.h.
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'mips_config.mk')
0 files changed, 0 insertions, 0 deletions