summaryrefslogtreecommitdiff
path: root/lib_m68k
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2008-06-24 12:12:16 -0500
committerJohn Rigby <jrigby@freescale.com>2008-07-11 10:45:57 -0600
commit6e37091afc07fdcc15590093fd066b0cb7399f85 (patch)
tree1c7ad4a0652c7beebe307b0f4384699eaeed9dcc /lib_m68k
parent81cc32322acb1b3225ee45606ced48e2a14824dc (diff)
downloadu-boot-6e37091afc07fdcc15590093fd066b0cb7399f85.tar.gz
ColdFire: Fix warning messages by passing correct data type in board.c
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'lib_m68k')
-rw-r--r--lib_m68k/board.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib_m68k/board.c b/lib_m68k/board.c
index ae942e5e57..d27c89c645 100644
--- a/lib_m68k/board.c
+++ b/lib_m68k/board.c
@@ -176,7 +176,7 @@ typedef int (init_fnc_t) (void);
static int init_baudrate (void)
{
- uchar tmp[64]; /* long enough for environment variables */
+ char tmp[64]; /* long enough for environment variables */
int i = getenv_r ("baudrate", tmp, sizeof (tmp));
gd->baudrate = (i > 0)
@@ -267,7 +267,7 @@ board_init_f (ulong bootflag)
#ifdef CONFIG_PRAM
int i;
ulong reg;
- uchar tmp[64]; /* long enough for environment variables */
+ char tmp[64]; /* long enough for environment variables */
#endif
/* Pointer is writable since we allocated a register for it */
@@ -752,7 +752,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
*/
{
ulong pram;
- uchar memsz[32];
+ char memsz[32];
#ifdef CONFIG_PRAM
char *s;