mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* An error of compile kernel2.6.22-rc3 for ARM CPU s3c2440
@ 2007-05-28 11:05 丁丁
  2007-05-28 11:30 ` Jiri Kosina
  2007-06-14 10:41 ` Ben Dooks
  0 siblings, 2 replies; 3+ messages in thread
From: 丁丁 @ 2007-05-28 11:05 UTC (permalink / raw)
  To: linux-kernel

Hi,All.

I compiled new kernel2.6.22-rc3 for my s3c2440 platform yesterday,
I got follow error message from gcc-compiler.

>CC      arch/arm/plat-s3c24xx/devs.o
>linux/linux-2.6/arch/arm/plat-s3c24xx/devs.c:410:
error:'S3C2443_PA_HSMMC' undeclared here (not in a function)
>linux/linux-2.6/arch/arm/plat-s3c24xx/devs.c:411:
error:'S3C2443_SZ_HSMMC' undeclared here (not in a function)

I found the reason of the error is the two marco  wasn't add into the
file "arch-s3c2410/map.h",so I make a patch file for the problem.

>>------------------------------------------------------
fix_miss_marco_for_s3c2443.patch
>>------------------------------------------------------
diff -Nurp linux-2.6.22-rc3-org/include/asm-arm/arch-s3c2410/map.h
linux-2.6.22-rc3/include/asm-arm/arch-s3c2410/map.h
--- linux-2.6.22-rc3-org/include/asm-arm/arch-s3c2410/map.h     2007-04-26
11:08:32.000000000 +0800
+++ linux-2.6.22-rc3/include/asm-arm/arch-s3c2410/map.h 2007-05-28
18:38:54.000000000 +0800
@@ -153,6 +153,10 @@
 #define S3C2440_PA_AC97           (0x5B000000)
 #define S3C2440_SZ_AC97           SZ_1M

+/* High-speed MMC/SD */
+#define S3C2443_PA_HSMMC          (0x4A800000)
+#define S3C2443_SZ_HSMMC          0xFF
+
 /* ISA style IO, for each machine to sort out mappings for, if it
 * implements it. We reserve two 16M regions for ISA.
 */


-------
Ding Yi
sns2002@gmail.com
-------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: An error of compile kernel2.6.22-rc3 for ARM CPU s3c2440
  2007-05-28 11:05 An error of compile kernel2.6.22-rc3 for ARM CPU s3c2440 丁丁
@ 2007-05-28 11:30 ` Jiri Kosina
  2007-06-14 10:41 ` Ben Dooks
  1 sibling, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2007-05-28 11:30 UTC (permalink / raw)
  To: 丁丁; +Cc: linux-kernel

On Mon, 28 May 2007, ?? wrote:

> I compiled new kernel2.6.22-rc3 for my s3c2440 platform yesterday, I got 
> follow error message from gcc-compiler.
> >CC      arch/arm/plat-s3c24xx/devs.o
> >linux/linux-2.6/arch/arm/plat-s3c24xx/devs.c:410:
> error:'S3C2443_PA_HSMMC' undeclared here (not in a function)
> >linux/linux-2.6/arch/arm/plat-s3c24xx/devs.c:411:
> error:'S3C2443_SZ_HSMMC' undeclared here (not in a function)

http://lkml.org/lkml/2007/5/28/75

-- 
Jiri Kosina

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: An error of compile kernel2.6.22-rc3 for ARM CPU s3c2440
  2007-05-28 11:05 An error of compile kernel2.6.22-rc3 for ARM CPU s3c2440 丁丁
  2007-05-28 11:30 ` Jiri Kosina
@ 2007-06-14 10:41 ` Ben Dooks
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Dooks @ 2007-06-14 10:41 UTC (permalink / raw)
  To: ??????; +Cc: linux-kernel

On Mon, May 28, 2007 at 07:05:43PM +0800, ?????? wrote:
> Hi,All.
> 
> I compiled new kernel2.6.22-rc3 for my s3c2440 platform yesterday,
> I got follow error message from gcc-compiler.
> 
> >CC      arch/arm/plat-s3c24xx/devs.o
> >linux/linux-2.6/arch/arm/plat-s3c24xx/devs.c:410:
> error:'S3C2443_PA_HSMMC' undeclared here (not in a function)
> >linux/linux-2.6/arch/arm/plat-s3c24xx/devs.c:411:
> error:'S3C2443_SZ_HSMMC' undeclared here (not in a function)
> 
> I found the reason of the error is the two marco  wasn't add into the
> file "arch-s3c2410/map.h",so I make a patch file for the problem.
> 
> >>------------------------------------------------------
> fix_miss_marco_for_s3c2443.patch
> >>------------------------------------------------------
> diff -Nurp linux-2.6.22-rc3-org/include/asm-arm/arch-s3c2410/map.h
> linux-2.6.22-rc3/include/asm-arm/arch-s3c2410/map.h
> --- linux-2.6.22-rc3-org/include/asm-arm/arch-s3c2410/map.h     2007-04-26
> 11:08:32.000000000 +0800
> +++ linux-2.6.22-rc3/include/asm-arm/arch-s3c2410/map.h 2007-05-28
> 18:38:54.000000000 +0800
> @@ -153,6 +153,10 @@
> #define S3C2440_PA_AC97           (0x5B000000)
> #define S3C2440_SZ_AC97           SZ_1M
> 
> +/* High-speed MMC/SD */
> +#define S3C2443_PA_HSMMC          (0x4A800000)
> +#define S3C2443_SZ_HSMMC          0xFF
> +
> /* ISA style IO, for each machine to sort out mappings for, if it
> * implements it. We reserve two 16M regions for ISA.
> */

It was missed out of the original patch to setup the device and
fixed as soon as the error was reported from kautobuild.

Errors like this are better reported to the linux-arm-kernel list
which I read more often than the linux-kernel list.

-- 
Ben (ben@fluff.org, http://www.fluff.org/)

  'a smiley only costs 4 bytes'

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-06-14 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-28 11:05 An error of compile kernel2.6.22-rc3 for ARM CPU s3c2440 丁丁
2007-05-28 11:30 ` Jiri Kosina
2007-06-14 10:41 ` Ben Dooks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®