summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/armlinux.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:58 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:58 +0200
commit327b4128ad9f74fd106b79314eed72b6535c8d43 (patch)
tree377a89815bf029e8044bae5e1a064963bff0a357 /arch/arm/lib/armlinux.c
parent12eb42a6f922acedf8b48ac44a1140238ae29db2 (diff)
downloadbarebox-327b4128ad9f74fd106b79314eed72b6535c8d43.tar.gz
barebox-327b4128ad9f74fd106b79314eed72b6535c8d43.tar.xz
svn_rev_486
Diffstat (limited to 'arch/arm/lib/armlinux.c')
-rw-r--r--arch/arm/lib/armlinux.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c
index 760a7fb56..5b4414546 100644
--- a/arch/arm/lib/armlinux.c
+++ b/arch/arm/lib/armlinux.c
@@ -46,7 +46,7 @@ static void setup_start_tag (void);
# ifdef CONFIG_SETUP_MEMORY_TAGS
static void setup_memory_tags (void);
# endif
-static void setup_commandline_tag (char *commandline);
+static void setup_commandline_tag (const char *commandline);
# ifdef CONFIG_INITRD_TAG
static void setup_initrd_tag (ulong initrd_start,
@@ -82,7 +82,7 @@ void do_bootm_linux (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
image_header_t *hdr = &header;
#ifdef CONFIG_CMDLINE_TAG
- char *commandline = getenv ("bootargs");
+ const char *commandline = getenv ("bootargs");
#endif
theKernel = (void (*)(int, int, uint))ntohl(hdr->ih_ep);
@@ -298,9 +298,9 @@ static void setup_memory_tags (void)
#endif /* CONFIG_SETUP_MEMORY_TAGS */
-static void setup_commandline_tag (char *commandline)
+static void setup_commandline_tag (const char *commandline)
{
- char *p;
+ const char *p;
if (!commandline)
return;