From: nicolas.pitre@linaro.org (Nicolas Pitre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 52/52] ARM: remove boot_params from struct machine_desc
Date: Tue, 05 Jul 2011 22:47:37 -0400 [thread overview]
Message-ID: <1309920457-21913-52-git-send-email-nicolas.pitre@linaro.org> (raw)
In-Reply-To: <1309920457-21913-1-git-send-email-nicolas.pitre@linaro.org>
Now that there is no more users, we can remove it from the kernel.
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
---
arch/arm/include/asm/mach/arch.h | 1 -
arch/arm/kernel/setup.c | 19 -------------------
2 files changed, 0 insertions(+), 20 deletions(-)
diff --git a/arch/arm/include/asm/mach/arch.h b/arch/arm/include/asm/mach/arch.h
index 1bdf6e1..e4e8e39 100644
--- a/arch/arm/include/asm/mach/arch.h
+++ b/arch/arm/include/asm/mach/arch.h
@@ -17,7 +17,6 @@ struct sys_timer;
struct machine_desc {
unsigned int nr; /* architecture number */
const char *name; /* architecture name */
- unsigned long boot_params; /* tagged list */
unsigned long atag_offset; /* tagged list (relative) */
const char **dt_compat; /* array of device tree
* 'compatible' strings */
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
index 4cc3e2b..fc9fc18 100644
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -818,25 +818,6 @@ static struct machine_desc * __init setup_machine_tags(unsigned int nr)
tags = phys_to_virt(__atags_pointer);
else if(mdesc->atag_offset)
tags = PAGE_OFFSET + mdesc->atag_offset;
- else if (mdesc->boot_params) {
-#ifdef CONFIG_MMU
- /*
- * We still are executing with a minimal MMU mapping created
- * with the presumption that the machine default for this
- * is located in the first MB of RAM. Anything else will
- * fault and silently hang the kernel at this point.
- */
- if (mdesc->boot_params < PHYS_OFFSET ||
- mdesc->boot_params >= PHYS_OFFSET + SZ_1M) {
- printk(KERN_WARNING
- "Default boot params at physical 0x%08lx out of reach\n",
- mdesc->boot_params);
- } else
-#endif
- {
- tags = phys_to_virt(mdesc->boot_params);
- }
- }
#if defined(CONFIG_DEPRECATED_PARAM_STRUCT)
/*
--
1.7.4
next prev parent reply other threads:[~2011-07-06 2:47 UTC|newest]
Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-06 2:46 [PATCH 01/52] ARM: introduce atag_offset to replace boot_params Nicolas Pitre
2011-07-06 2:46 ` [PATCH 02/52] ARM: mach-clps711x: convert boot_params to atag_offset Nicolas Pitre
2011-07-06 2:46 ` [PATCH 03/52] ARM: mach-cns3xxx: " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 04/52] ARM: mach-davinci: " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 05/52] ARM: mach-dove: convert boot-params " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 06/52] ARM: mach-ebsa110: convert boot_params " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 07/52] ARM: mach-ep93xx: " Nicolas Pitre
2011-07-07 16:32 ` H Hartley Sweeten
2011-07-07 16:59 ` Nicolas Pitre
2011-07-07 17:20 ` H Hartley Sweeten
2011-07-07 18:20 ` Nicolas Pitre
2011-07-06 2:46 ` [PATCH 08/52] ARM: mach-exynos4: " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 09/52] ARM: mach-footbridge: " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 10/52] ARM: mach-gemini: " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 11/52] ARM: mach-h720x: " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 12/52] ARM: mach-imx: " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 13/52] ARM: mach-integrator: " Nicolas Pitre
2011-07-06 2:46 ` [PATCH 14/52] ARM: mach-iop13xx: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 15/52] ARM: mach-iop32x: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 16/52] ARM: mach-iop33x: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 17/52] ARM: mach-ixp2000: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 18/52] ARM: mach-ixp23xx: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 19/52] ARM: mach-ixp4xx: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 20/52] ARM: mach-kirkwood: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 21/52] ARM: mach-ks8695: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 22/52] ARM: mach-loki: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 23/52] ARM: mach-lpc32xx: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 24/52] ARM: mach-msm: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 25/52] ARM: mach-mv78xx0: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 26/52] ARM: mach-mx5: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 27/52] ARM: mach-netx: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 28/52] ARM: mach-nomadik: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 29/52] ARM: mach-nuc93x: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 30/52] ARM: mach-omap1: " Nicolas Pitre
2011-07-07 14:28 ` Tony Lindgren
2011-07-06 2:47 ` [PATCH 31/52] ARM: mach-omap2: " Nicolas Pitre
2011-07-07 14:28 ` Tony Lindgren
2011-07-07 15:35 ` Nicolas Pitre
2011-07-06 2:47 ` [PATCH 32/52] ARM: mach-orion5x: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 33/52] ARM: mach-pnx4008: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 34/52] ARM: mach-pxa: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 35/52] ARM: mach-realview: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 36/52] ARM: mach-rpc: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 37/52] ARM: mach-s3c24*: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 38/52] ARM: mach-s5p64x0: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 39/52] ARM: mach-s3c64xx: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 40/52] ARM: mach-s5pc100, mach-s5pv210: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 41/52] ARM: mach-sa1100: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 42/52] ARM: mach-shark: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 43/52] ARM: mach-spear*: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 44/52] ARM: mach-tcc8k: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 45/52] ARM: mach-tegra: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 46/52] ARM: mach-u300: " Nicolas Pitre
2011-07-08 13:12 ` Linus Walleij
2011-07-08 21:20 ` Russell King - ARM Linux
2011-07-06 2:47 ` [PATCH 47/52] ARM: mach-ux500: convert boot-params " Nicolas Pitre
2011-07-08 13:18 ` Linus Walleij
2011-07-06 2:47 ` [PATCH 48/52] ARM: mach-versatile: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 49/52] ARM: vexpress: convert boot_params " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 50/52] ARM: mach-vt8500: " Nicolas Pitre
2011-07-06 2:47 ` [PATCH 51/52] ARM: mach-w90x900: remove useless boot_params entries Nicolas Pitre
2011-07-06 2:47 ` Nicolas Pitre [this message]
2011-07-06 4:28 ` [PATCH 01/52] ARM: introduce atag_offset to replace boot_params Stephen Boyd
2011-07-06 12:54 ` Nicolas Pitre
2011-07-06 17:59 ` Stephen Boyd
2011-07-07 0:43 ` H Hartley Sweeten
2011-07-07 4:04 ` Nicolas Pitre
2011-07-07 18:28 ` H Hartley Sweeten
2011-07-07 11:37 ` Sergei Shtylyov
2011-07-07 15:37 ` Nicolas Pitre
2011-07-07 15:45 ` Arnd Bergmann
2011-07-08 20:36 ` Russell King - ARM Linux
2011-07-08 21:20 ` Nicolas Pitre
2011-07-11 14:59 ` Nicolas Pitre
2011-07-11 17:17 ` H Hartley Sweeten
2011-07-12 20:48 ` Petr Štetiar
2011-07-12 21:39 ` H Hartley Sweeten
2011-07-15 6:48 ` Petr Štetiar
2011-07-15 22:40 ` H Hartley Sweeten
2011-07-16 2:44 ` Nicolas Pitre
2011-07-13 3:22 ` Nicolas Pitre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309920457-21913-52-git-send-email-nicolas.pitre@linaro.org \
--to=nicolas.pitre@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).