summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-02-26 15:38:37 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2008-02-26 15:38:37 +0100
commit8d8f90036628581217e749827c8008dcb78c6cfc (patch)
tree279c7aac659d47d3862a83c2b3e69ff76067847e /include
parent066ac7abdbc814d272c294c47b0acc4a642da061 (diff)
downloadbarebox-8d8f90036628581217e749827c8008dcb78c6cfc.tar.gz
barebox-8d8f90036628581217e749827c8008dcb78c6cfc.tar.xz
[ARM] Remove CONFIG_ARCH_NUMBER from Kconfig system. Putting too many
values into kconfig which are not user configurable at all only encourages people to put even more stuff in there. This is not good because people tend to have board patches lying around and these patches won't apply regularly if they all change the same file (arch/arm/Kconfig) Instead, introduce a function armlinux_set_architecture() which everyone can call during board setup. Similarly introduce armlinux_set_bootparams() for the boot parameter pointer.
Diffstat (limited to 'include')
-rw-r--r--include/configs/eco920.h3
-rw-r--r--include/configs/imx27ads.h1
-rw-r--r--include/configs/netx.h2
-rw-r--r--include/configs/pcm037.h4
-rw-r--r--include/configs/pcm038.h3
-rw-r--r--include/configs/scb9328.h8
6 files changed, 0 insertions, 21 deletions
diff --git a/include/configs/eco920.h b/include/configs/eco920.h
index 41041350a9..c023517719 100644
--- a/include/configs/eco920.h
+++ b/include/configs/eco920.h
@@ -133,9 +133,6 @@
#define CFG_SPLASH 1
#define CFG_S1D13706FB 1
-#define CONFIG_ARCH_NUMBER MACH_TYPE_ECO920
-#define CONFIG_BOOT_PARAMS PHYS_SDRAM + 0x100
-
#define CFG_USB_OHCI_MAX_ROOT_PORTS 15
#define CFG_USB_OHCI_SLOT_NAME "at91rm9200"
#define LITTLEENDIAN
diff --git a/include/configs/imx27ads.h b/include/configs/imx27ads.h
index b92209a7e8..362fe9d29f 100644
--- a/include/configs/imx27ads.h
+++ b/include/configs/imx27ads.h
@@ -25,7 +25,6 @@
#include <asm/mach-types.h>
-#define CONFIG_BOOT_PARAMS 0xa0000100
#define CFG_MALLOC_LEN (4096 << 10)
#define CONFIG_STACKSIZE ( 120 << 10) /* stack size */
diff --git a/include/configs/netx.h b/include/configs/netx.h
index 736a7ae951..f622f67fc8 100644
--- a/include/configs/netx.h
+++ b/include/configs/netx.h
@@ -1,4 +1,2 @@
-#define CONFIG_BOOT_PARAMS 0x0 /* FIXME */
-#define CONFIG_ARCH_NUMBER 0 /* FIXME */
#define CFG_MALLOC_LEN (4096 << 10)
#define CONFIG_STACKSIZE (120<<10) /* stack size */
diff --git a/include/configs/pcm037.h b/include/configs/pcm037.h
index 9dac9eacd6..aa79c8a575 100644
--- a/include/configs/pcm037.h
+++ b/include/configs/pcm037.h
@@ -20,10 +20,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#include <asm/mach-types.h>
-
-#define CONFIG_BOOT_PARAMS 0x08000100
-
/*
* Definitions related to passing arguments to kernel.
*/
diff --git a/include/configs/pcm038.h b/include/configs/pcm038.h
index 3dbeea0733..51f9bd9983 100644
--- a/include/configs/pcm038.h
+++ b/include/configs/pcm038.h
@@ -23,9 +23,6 @@
/* FIXME: ugly....should be simply part of the BSP file */
-#include <asm/mach-types.h>
-
-#define CONFIG_BOOT_PARAMS 0xa0000100
#define CFG_MALLOC_LEN (4096 << 10)
#define CONFIG_STACKSIZE ( 120 << 10) /* stack size */
diff --git a/include/configs/scb9328.h b/include/configs/scb9328.h
index 40ce91bac6..38e11549d9 100644
--- a/include/configs/scb9328.h
+++ b/include/configs/scb9328.h
@@ -24,14 +24,6 @@
#ifndef __CONFIG_H
#define __CONFIG_H
-#include <asm/mach-types.h>
-
-#define CONFIG_BOOT_PARAMS 0x08000100
-
-/*
- * Definitions related to passing arguments to kernel.
- */
-
#define CFG_MALLOC_LEN (4096 << 10)
#define CONFIG_STACKSIZE (120<<10) /* stack size */