From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 09 Aug 2012 21:46:58 +0200 Subject: [U-Boot] [PATCH v3] global_data: unify global flag defines In-Reply-To: <1332117084-25486-1-git-send-email-vapier@gentoo.org> References: <1320513751-15108-1-git-send-email-vapier@gentoo.org> <1332117084-25486-1-git-send-email-vapier@gentoo.org> Message-ID: <20120809194658.498C420401A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1332117084-25486-1-git-send-email-vapier@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 > --- > 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"