]> git.sur5r.net Git - u-boot/commit
sandbox: Force command sections to be 4-byte aligned
authorSimon Glass <sjg@chromium.org>
Sat, 17 Sep 2011 06:48:51 +0000 (06:48 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 17 Oct 2011 21:56:58 +0000 (23:56 +0200)
commit8edf844f1b652bc81604d9b5fab59e2fa80fe3af
tree51f2fe36e6908ea69ff444482f8d7fed86ac769c
parent711523958f620a9834c822f905c87ed892b32ec4
sandbox: Force command sections to be 4-byte aligned

By default sections are 16-byte aligned on some architectures, but the
command name structure (struct cmd_tbl_s) does not have padding to
16 bytes. This reduces the alignment to 4-bytes so that the command
table can be accessed correctly on any architecture.

(Note: this needs doing properly)

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