diff options
author | Jon Loeliger <jdl@freescale.com> | 2006-10-10 17:21:42 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-10-10 17:21:42 -0500 |
commit | daaba9859b0b94571dc3e45ad0c26e136426b351 (patch) | |
tree | 688c9068794d45f78f9347cb47b7fba55a4b10be /common | |
parent | 1fd5699a4a24f5c1dab1b32f480bace1ebb9fc3e (diff) | |
parent | a3bb7bfc06a9ccb7e2f91ccc54a90ae69177214f (diff) | |
download | u-boot-imx-daaba9859b0b94571dc3e45ad0c26e136426b351.zip u-boot-imx-daaba9859b0b94571dc3e45ad0c26e136426b351.tar.gz u-boot-imx-daaba9859b0b94571dc3e45ad0c26e136426b351.tar.bz2 |
Merge branch 'master' of http://www.denx.de/git/u-boot
Diffstat (limited to 'common')
-rw-r--r-- | common/Makefile | 2 | ||||
-rw-r--r-- | common/cmd_bootm.c | 3 | ||||
-rw-r--r-- | common/ft_build.c | 4 | ||||
-rw-r--r-- | common/lcd.c | 4 |
4 files changed, 9 insertions, 4 deletions
diff --git a/common/Makefile b/common/Makefile index 5ff8f93..07ddc95 100644 --- a/common/Makefile +++ b/common/Makefile @@ -61,7 +61,7 @@ CPPFLAGS += -I.. all: $(LIB) $(AOBJS) $(LIB): $(obj).depend $(OBJS) - $(AR) crv $@ $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) $(obj)environment.o: $(src)environment.c $(obj)../tools/envcrc $(CC) $(AFLAGS) -Wa,--no-warn \ diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 652d843..e2cb6b9 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -260,6 +260,8 @@ int do_bootm (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) if (hdr->ih_arch != IH_CPU_NIOS2) #elif defined(__blackfin__) if (hdr->ih_arch != IH_CPU_BLACKFIN) +#elif defined(__avr32__) + if (hdr->ih_arch != IH_CPU_AVR32) #else # error Unknown CPU type #endif @@ -1310,6 +1312,7 @@ print_type (image_header_t *hdr) case IH_CPU_INVALID: arch = "Invalid CPU"; break; case IH_CPU_ALPHA: arch = "Alpha"; break; case IH_CPU_ARM: arch = "ARM"; break; + case IH_CPU_AVR32: arch = "AVR32"; break; case IH_CPU_I386: arch = "Intel x86"; break; case IH_CPU_IA64: arch = "IA64"; break; case IH_CPU_MIPS: arch = "MIPS"; break; diff --git a/common/ft_build.c b/common/ft_build.c index b5937e3..87883cc 100644 --- a/common/ft_build.c +++ b/common/ft_build.c @@ -219,7 +219,9 @@ static void print_data(const void *data, int len) return; if (is_printable_string(data, len)) { - printf(" = \"%s\"", (char *)data); + puts(" = \""); + puts(data); + puts("\""); return; } diff --git a/common/lcd.c b/common/lcd.c index d79350f..df31ca9 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -661,8 +661,8 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y) * So, in case of Monochrome BMP we should align widths * on a byte boundary and convert them from Bit to Byte * units. - * Probably, PXA250 and MPC823 process 1bpp BMP images in - * their own ways, so make the converting to be MCC200 + * Probably, PXA250 and MPC823 process 1bpp BMP images in + * their own ways, so make the converting to be MCC200 * specific. */ #if defined(CONFIG_MCC200) |