[U-Boot] [PATCH V2] ARM: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

Igor Grinberg
2011-10-31T08:48:19Z

Hi Jens,

On 10/31/11 10:27, Jens Scharsig wrote:
> Am 2011-10-31 08:46, schrieb Igor Grinberg:
>> Hi Jens,
>>> @@ -41,6 +41,8 @@
>>> #define CONFIG_MISC_INIT_R
>>> #define CONFIG_BOARD_EARLY_INIT_F
>>>
>>> +#define MACH_TYPE_EB_CPUX9K2 1977
>>> +
>>
>> While you are at it, probably, it will be a good time
>> to switch to the new standard and use the CONFIG_MACH_TYPE
>> option. Please, read the README file.
>>
>>> /*--------------------------------------------------------------------------*/
>>> #define CONFIG_SYS_TEXT_BASE 0x00000000
>>> #define CONFIG_SYS_LOAD_ADDR 0x21000000 /* default load address */
>>
>
> Dear Albert ARIBAUD,
>
> What's your opinion?
>
> #define MACH_TYPE_EB_CPUX9K2 1977
>
> or
>
> #define CONFIG_MACH_TYPE 1977

It should be both:

#define MACH_TYPE_EB_CPUX9K2 1977

and then:

#define CONFIG_MACH_TYPE MACH_TYPE_EB_CPUX9K2

--
Regards,
Igor.