]> git.sur5r.net Git - u-boot/commit
i.MX28: Drop __naked function from spl_mem_init
authorMarek Vasut <marex@denx.de>
Fri, 16 Mar 2012 11:32:43 +0000 (11:32 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 27 Mar 2012 07:41:16 +0000 (09:41 +0200)
commit494931a67465a95b66da346ec7bd002fdf40adee
treebb653e9aa41932ca9d93ce74d4197d5b6471befc
parentd9fb6a4c7e61d735eec2936a8dc3877f83e61d24
i.MX28: Drop __naked function from spl_mem_init

Instead of compiling the function and using the result as a constant, simply use
the constant.

NOTE: This patch works around bug:

  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52546

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@ti.com>
arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c