aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.9/0100-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches-3.9/0100-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch')
-rw-r--r--target/linux/ramips/patches-3.9/0100-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch21
1 files changed, 4 insertions, 17 deletions
diff --git a/target/linux/ramips/patches-3.9/0100-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch b/target/linux/ramips/patches-3.9/0100-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch
index 89f40bf2e1..1b9935123d 100644
--- a/target/linux/ramips/patches-3.9/0100-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch
+++ b/target/linux/ramips/patches-3.9/0100-MIPS-move-mips_-set-get-_machine_name-to-a-more-gene.patch
@@ -17,8 +17,6 @@ Patchwork: http://patchwork.linux-mips.org/patch/5164/
arch/mips/kernel/prom.c | 31 +++++++++++++++++++++++++++++++
5 files changed, 35 insertions(+), 26 deletions(-)
-diff --git a/arch/mips/include/asm/mips_machine.h b/arch/mips/include/asm/mips_machine.h
-index 363bb35..9d00aeb 100644
--- a/arch/mips/include/asm/mips_machine.h
+++ b/arch/mips/include/asm/mips_machine.h
@@ -42,13 +42,9 @@ extern long __mips_machines_end;
@@ -35,11 +33,9 @@ index 363bb35..9d00aeb 100644
#endif /* CONFIG_MIPS_MACHINE */
#endif /* __ASM_MIPS_MACHINE_H */
-diff --git a/arch/mips/include/asm/prom.h b/arch/mips/include/asm/prom.h
-index 8808bf5..1e7e096 100644
--- a/arch/mips/include/asm/prom.h
+++ b/arch/mips/include/asm/prom.h
-@@ -48,4 +48,7 @@ extern void __dt_setup_arch(struct boot_param_header *bph);
+@@ -48,4 +48,7 @@ extern void __dt_setup_arch(struct boot_
static inline void device_tree_init(void) { }
#endif /* CONFIG_OF */
@@ -47,8 +43,6 @@ index 8808bf5..1e7e096 100644
+extern void mips_set_machine_name(const char *name);
+
#endif /* __ASM_PROM_H */
-diff --git a/arch/mips/kernel/mips_machine.c b/arch/mips/kernel/mips_machine.c
-index 411a058..6dc5866 100644
--- a/arch/mips/kernel/mips_machine.c
+++ b/arch/mips/kernel/mips_machine.c
@@ -13,7 +13,6 @@
@@ -59,7 +53,7 @@ index 411a058..6dc5866 100644
#define for_each_machine(mach) \
for ((mach) = (struct mips_machine *)&__mips_machines_start; \
-@@ -21,25 +20,6 @@ static char *mips_machine_name = "Unknown";
+@@ -21,25 +20,6 @@ static char *mips_machine_name = "Unknow
(unsigned long)(mach) < (unsigned long)&__mips_machines_end; \
(mach)++)
@@ -93,8 +87,6 @@ index 411a058..6dc5866 100644
if (mips_machine->mach_setup)
mips_machine->mach_setup();
-diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c
-index 7a54f74..1dd137b 100644
--- a/arch/mips/kernel/proc.c
+++ b/arch/mips/kernel/proc.c
@@ -12,7 +12,7 @@
@@ -106,8 +98,6 @@ index 7a54f74..1dd137b 100644
unsigned int vced_count, vcei_count;
-diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c
-index 028f6f8..b68e53b 100644
--- a/arch/mips/kernel/prom.c
+++ b/arch/mips/kernel/prom.c
@@ -23,6 +23,22 @@
@@ -133,7 +123,7 @@ index 028f6f8..b68e53b 100644
int __init early_init_dt_scan_memory_arch(unsigned long node,
const char *uname, int depth,
void *data)
-@@ -50,6 +66,18 @@ void __init early_init_dt_setup_initrd_arch(unsigned long start,
+@@ -50,6 +66,18 @@ void __init early_init_dt_setup_initrd_a
}
#endif
@@ -152,7 +142,7 @@ index 028f6f8..b68e53b 100644
void __init early_init_devtree(void *params)
{
/* Setup flat device-tree pointer */
-@@ -65,6 +93,9 @@ void __init early_init_devtree(void *params)
+@@ -65,6 +93,9 @@ void __init early_init_devtree(void *par
/* Scan memory nodes */
of_scan_flat_dt(early_init_dt_scan_root, NULL);
of_scan_flat_dt(early_init_dt_scan_memory_arch, NULL);
@@ -162,6 +152,3 @@ index 028f6f8..b68e53b 100644
}
void __init __dt_setup_arch(struct boot_param_header *bph)
---
-1.7.10.4
-