Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f1d4899 authored by Scott Wood's avatar Scott Wood Committed by Paul Mackerras
Browse files

[POWERPC] bootwrapper: Move linker symbols into ops.h



Most of these were previously used by numerous C files and
redeclared in each one.

Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent d0f53faf
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@
#include "ppcboot.h"

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

static void platform_fixups(void)
{
+0 −1
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@
#include "ppcboot.h"

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

static void platform_fixups(void)
{
+0 −3
Original line number Diff line number Diff line
@@ -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)
+0 −3
Original line number Diff line number Diff line
@@ -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 */
+0 −5
Original line number Diff line number Diff line
@@ -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)
Loading