Re: MACH_TYPE undeclared error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Russell,

On Tue, Mar 29, 2011 at 2:57 PM, Russell King - ARM Linux
<linux@xxxxxxxxxxxxxxxx> wrote:
> On Tue, Mar 29, 2011 at 02:01:10PM +0530, Madhavi Manchala wrote:
>> Dear Uwe,
>>
>> 2011/3/29 Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>:
>> > On Tue, Mar 29, 2011 at 12:01:40PM +0530, Madhavi Manchala wrote:
>> >> Dear All,
>> >>
>> >> I have defined a MACHINE_START macro in my board C file as follows.
>> >>
>> >> MACHINE_START(S3C2510, "S3C2510")
>> >>       .init_irq       = s3c2510_init_irq,
>> >>       .timer          = &s3c2510_time_init,
>> >> MACHINE_END
>> >>
>> >> When I try to compile this C file, I am seeing the following error message.
>> >>
>> >> arch/arm/mach-s3c2510/s3c2510.c:35:1: error: 'MACH_TYPE_S3C2510'
>> >> undeclared here (not in a function)
>> > you need a line defining S3C2510 in arch/arm/tools/mach-types.
>>
>> Yeah. It is there in the arch/arm/tools/mach-types file. I did not add
>> to it, but it is automatically generated. The few lines from the
>> arch/arm/tools/mach-types file are as follows.
>>
>> izarus                MACH_IZARUS             IZARUS          573
>> pxa_rts               MACH_RTS                RTS                     574
>> se5100                MACH_SE5100             SE5100          575
>> s3c2510               MACH_S3C2510    S3C2510         576
>> csb437tl              MACH_CSB437TL   CSB437TL                577
>> slauson               MACH_SLAUSON    SLAUSON         578
>> pearlriver            MACH_PEARLRIVER PEARLRIVER      579
>> tdc_p210              MACH_TDC_P210   TDC_P210        580
>>
>> The machine S3C2510 is there in that file.
>
> S3C2510 sounds to me like a SoC name not a board name.  I delete anything
> which sounds like a SoC name as that's not the purpose of the database.
> It's for platforms and boards, not SoCs.

Yeah. The S3C2510 is a SoC. We have a board which is based on this
SoC. Just, I have given that name as I am new to this architecture
development environment. I will change the name and assigns an
appropriate one which suits for my board.

Thanks for your information.

Thanks and Regards,
Madhavi M.
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux