[U-Boot] [PATCH v3] global_data: unify global flag defines

Wolfgang Denk wd at denx.de
Thu Aug 9 21:46:58 CEST 2012


Dear Mike Frysinger,

In message <1332117084-25486-1-git-send-email-vapier at gentoo.org> you wrote:
> All the global flag defines are the same across all arches.  So unify them
> in one place, and add a simple way for arches to extend for their needs.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> v3
> 	- rebase onto mainline
> 
>  arch/arm/include/asm/global_data.h        |   14 +-------------
>  arch/avr32/include/asm/global_data.h      |   14 +-------------
>  arch/blackfin/include/asm/global_data.h   |   14 +-------------
>  arch/m68k/include/asm/global_data.h       |   14 +-------------
>  arch/microblaze/include/asm/global_data.h |   14 +-------------
>  arch/mips/include/asm/global_data.h       |   14 +-------------
>  arch/nds32/include/asm/global_data.h      |   14 +-------------
>  arch/nios2/include/asm/global_data.h      |   10 +---------
>  arch/openrisc/include/asm/global_data.h   |   22 +---------------------
>  arch/powerpc/include/asm/global_data.h    |   14 +-------------
>  arch/sandbox/include/asm/global_data.h    |   14 +-------------
>  arch/sh/include/asm/global_data.h         |    9 +--------
>  arch/sparc/include/asm/global_data.h      |   14 +-------------
>  arch/x86/include/asm/global_data.h        |   14 +-------------
>  include/asm-generic/global_data_flags.h   |   28 ++++++++++++++++++++++++++++
>  15 files changed, 42 insertions(+), 181 deletions(-)
>  create mode 100644 include/asm-generic/global_data_flags.h

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
Certain old men prefer to rise at dawn, taking a cold bath and a long
walk with an empty stomach and otherwise mortifying the  flesh.  They
then point with pride to these practices as the cause of their sturdy
health  and ripe years; the truth being that they are hearty and old,
not because of their habits, but in spite of them. The reason we find
only robust persons doing this thing is that it has  killed  all  the
others who have tried it.  - Ambrose Bierce, "The Devil's Dictionary"


More information about the U-Boot mailing list