diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2009-12-15 09:11:09 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-12-15 10:18:30 +0100 |
commit | a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97 (patch) | |
tree | 7a9076c1a20df00baeadca9a07d4c1f5cd0611e2 /arch/ppc/include | |
parent | caa5cec7b1c93d660aa89d24eb160ab18e4eb628 (diff) | |
download | barebox-a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97.tar.gz barebox-a3ffa97f40dc81f2d6b07ee964f2340fe0c1ba97.tar.xz |
rename U-Boot-v2 project to barebox
This has been done with the following script:
find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \
-e 's/u2boot/barebox/g' \
-e 's/U2Boot/barebox/g' \
-e 's/U-boot V2/barebox/g' \
-e 's/u-boot v2/barebox/g' \
-e 's/U-Boot V2/barebox/g' \
-e 's/U-Boot-v2/barebox/g' \
-e 's/U_BOOT/BAREBOX/g' \
-e 's/UBOOT/BAREBOX/g' \
-e 's/uboot/barebox/g' \
-e 's/u-boot/barebox/g' \
-e 's/u_boot/barebox/g' \
-e 's/U-Boot/barebox/g' \
-e 's/U-boot/barebox/g' \
-e 's/U-BOOT/barebox/g'
find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \
xargs -0 -r rename 's/u[-_]?boot/barebox/'
It needs some manual fixup following in the next patch
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc/include')
-rw-r--r-- | arch/ppc/include/asm/barebox.h (renamed from arch/ppc/include/asm/u-boot.h) | 14 | ||||
-rw-r--r-- | arch/ppc/include/asm/common.h | 2 | ||||
-rw-r--r-- | arch/ppc/include/asm/global_data.h | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/arch/ppc/include/asm/u-boot.h b/arch/ppc/include/asm/barebox.h index 30b44e3d22..ac81495cc9 100644 --- a/arch/ppc/include/asm/u-boot.h +++ b/arch/ppc/include/asm/barebox.h @@ -18,20 +18,20 @@ * MA 02111-1307 USA * ******************************************************************** - * NOTE: This header file defines an interface to U-Boot. Including + * NOTE: This header file defines an interface to barebox. Including * this (unmodified) header file in another file is considered normal - * use of U-Boot, and does *not* fall under the heading of "derived + * use of barebox, and does *not* fall under the heading of "derived * work". ******************************************************************** */ -#ifndef __U_BOOT_H__ -#define __U_BOOT_H__ +#ifndef __BAREBOX_H__ +#define __BAREBOX_H__ /* - * Board information passed to Linux kernel from U-Boot + * Board information passed to Linux kernel from barebox * - * include/asm-ppc/u-boot.h + * include/asm-ppc/barebox.h */ #ifndef __ASSEMBLY__ @@ -131,4 +131,4 @@ typedef struct bd_info { } bd_t; #endif /* __ASSEMBLY__ */ -#endif /* __U_BOOT_H__ */ +#endif /* __BAREBOX_H__ */ diff --git a/arch/ppc/include/asm/common.h b/arch/ppc/include/asm/common.h index 843bcf71ed..96de5c6568 100644 --- a/arch/ppc/include/asm/common.h +++ b/arch/ppc/include/asm/common.h @@ -1,7 +1,7 @@ #ifndef __ASM_COMMON_H #define __ASM_COMMON_H -#include <asm/u-boot.h> +#include <asm/barebox.h> void upmconfig (unsigned int, unsigned int *, unsigned int); ulong get_tbclk (void); diff --git a/arch/ppc/include/asm/global_data.h b/arch/ppc/include/asm/global_data.h index 482c100d89..c36df9abbc 100644 --- a/arch/ppc/include/asm/global_data.h +++ b/arch/ppc/include/asm/global_data.h @@ -108,7 +108,7 @@ typedef struct global_data { void * console_addr; #endif #ifdef CONFIG_AMIGAONEG3SE - unsigned long relocaddr; /* Start address of U-Boot in RAM */ + unsigned long relocaddr; /* Start address of barebox in RAM */ #endif #if defined(CONFIG_LCD) || defined(CONFIG_VIDEO) unsigned long fb_base; /* Base address of framebuffer memory */ |