Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67256
b: refs/heads/master
c: 2f1d489
h: refs/heads/master
v: v3
  • Loading branch information
Scott Wood authored and Paul Mackerras committed Aug 22, 2007
1 parent f3c5867 commit e56b621
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 36 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d0f53fafc016b3f4f20f63ecf52f6df8774bcb3c
refs/heads/master: 2f1d4899321be87bc5f0c4ee0e62c9d9ced05f80
1 change: 0 additions & 1 deletion trunk/arch/powerpc/boot/cuboot-83xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "ppcboot.h"

static bd_t bd;
extern char _dtb_start[], _dtb_end[];

static void platform_fixups(void)
{
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/powerpc/boot/cuboot-85xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include "ppcboot.h"

static bd_t bd;
extern char _dtb_start[], _dtb_end[];

static void platform_fixups(void)
{
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/powerpc/boot/cuboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

#include "ppcboot.h"

extern char _end[];
extern char _dtb_start[], _dtb_end[];

void cuboot_init(unsigned long r4, unsigned long r5,
unsigned long r6, unsigned long r7,
unsigned long end_of_ram)
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/powerpc/boot/ebony.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
#include "4xx.h"
#include "44x.h"

extern char _dtb_start[];
extern char _dtb_end[];

static u8 *ebony_mac0, *ebony_mac1;

/* Calculate 440GP clocks */
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/powerpc/boot/holly.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
#include "ops.h"
#include "io.h"

extern char _start[];
extern char _end[];
extern char _dtb_start[];
extern char _dtb_end[];

BSS_STACK(4096);

void platform_init(unsigned long r3, unsigned long r4, unsigned long r5)
Expand Down
10 changes: 0 additions & 10 deletions trunk/arch/powerpc/boot/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@
#include "flatdevtree.h"
#include "reg.h"

extern char _start[];
extern char __bss_start[];
extern char _end[];
extern char _vmlinux_start[];
extern char _vmlinux_end[];
extern char _initrd_start[];
extern char _initrd_end[];
extern char _dtb_start[];
extern char _dtb_end[];

static struct gunzip_state gzstate;

struct addr_range {
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/powerpc/boot/of.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#include "of.h"

extern char _end[];

/* Value picked to match that used by yaboot */
#define PROG_START 0x01400000 /* only used on 64-bit systems */
#define RAM_END (512<<20) /* Fixme: use OF */
Expand Down
10 changes: 10 additions & 0 deletions trunk/arch/powerpc/boot/ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,14 @@ static inline void exit(void)
extern unsigned long timebase_period_ns;
void udelay(long delay);

extern char _start[];
extern char __bss_start[];
extern char _end[];
extern char _vmlinux_start[];
extern char _vmlinux_end[];
extern char _initrd_start[];
extern char _initrd_end[];
extern char _dtb_start[];
extern char _dtb_end[];

#endif /* _PPC_BOOT_OPS_H_ */
4 changes: 0 additions & 4 deletions trunk/arch/powerpc/boot/prpmc2800.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
#include "gunzip_util.h"
#include "mv64x60.h"

extern char _end[];
extern char _vmlinux_start[], _vmlinux_end[];
extern char _dtb_start[], _dtb_end[];

#define KB 1024U
#define MB (KB*KB)
#define GB (KB*MB)
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/powerpc/boot/ps3.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ void ps3_copy_vectors(void)

void platform_init(void)
{
extern char _end[];
extern char _dtb_start[];
extern char _initrd_start[];
extern char _initrd_end[];
const u32 heapsize = 0x1000000 - (u32)_end; /* 16MiB */
void *chosen;
unsigned long ft_addr;
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/powerpc/boot/treeboot-ebony.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#include "stdio.h"
#include "44x.h"

extern char _end[];

BSS_STACK(4096);

#define OPENBIOS_MAC_BASE 0xfffffe0c
Expand Down

0 comments on commit e56b621

Please sign in to comment.