summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/common.c
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2012-08-29 02:18:53 +0300
committerTony Lindgren <tony@atomide.com>2012-09-10 16:33:59 -0700
commit3927b3f78c46001a8bd268f901c7e54863c66726 (patch)
tree09cd87ebe0617ed5aae45154e1672826e75d7782 /arch/arm/plat-omap/common.c
parent8aa8a9037a814b3006fb87cc03d925a96a197956 (diff)
downloadlinux-3927b3f78c46001a8bd268f901c7e54863c66726.tar.gz
linux-3927b3f78c46001a8bd268f901c7e54863c66726.tar.bz2
linux-3927b3f78c46001a8bd268f901c7e54863c66726.zip
ARM: OMAP: remove the omap custom tags
The omap custom initialization tags are not used anymore (if ever) by the mainline kernel. Thus remove the omap custom initialization tags. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/common.c')
-rw-r--r--arch/arm/plat-omap/common.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c
index af98971d63d0..7c04748cb37f 100644
--- a/arch/arm/plat-omap/common.c
+++ b/arch/arm/plat-omap/common.c
@@ -24,40 +24,6 @@
#include <plat/omap-secure.h>
-
-#define NO_LENGTH_CHECK 0xffffffff
-
-struct omap_board_config_kernel *omap_board_config __initdata;
-int omap_board_config_size;
-
-static const void *__init get_config(u16 tag, size_t len,
- int skip, size_t *len_out)
-{
- struct omap_board_config_kernel *kinfo = NULL;
- int i;
-
- /* Try to find the config from the board-specific structures
- * in the kernel. */
- for (i = 0; i < omap_board_config_size; i++) {
- if (omap_board_config[i].tag == tag) {
- if (skip == 0) {
- kinfo = &omap_board_config[i];
- break;
- } else {
- skip--;
- }
- }
- }
- if (kinfo == NULL)
- return NULL;
- return kinfo->data;
-}
-
-const void *__init __omap_get_config(u16 tag, size_t len, int nr)
-{
- return get_config(tag, len, nr, NULL);
-}
-
void __init omap_reserve(void)
{
omap_vram_reserve_sdram_memblock();