[U-Boot] [PATCH 1/2 v2] mpc5200: a3m071/a4m2k: Fix problem with increased global_data struct

Wolfgang Denk wd at denx.de
Thu May 2 20:45:57 CEST 2013


Dear Stefan Roese,

In message <1366967402-8804-1-git-send-email-sr at denx.de> you wrote:
> The v2013.04 release has this patch set included:
> 
> 5cb48582 "Add architecture-specific global data"
> 
> With this, the global_data struct is now common and new variables
> have been added. Resulting in a bigger struct. Unfortunately the
> currently allocated 128 bytes are just a bit too small for this
> new struct.
> 
> This patch now uses the automatically generated struct size instead to
> not run into this problem again.
> 
> Please note that this problem might hit some other platforms which
> currently reserve a tight space of 128 bytes for the global_data
> struct!
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
> v2:
> - Use automatically generated struct size instead instead of a fixed
>   value
> 
>  include/configs/a3m071.h | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Wenn das dann in die Hose geht, nehme ich es auf meine Kappe.
                                         -- Rudi Völler, 15. Nov 2003


More information about the U-Boot mailing list