[U-Boot] [PATCH 4/4 v2] s5pc1xx: add support SMDKC100 board

Wolfgang Denk wd at denx.de
Thu Sep 10 13:36:58 CEST 2009


Dear Minkyu Kang,

In message <4AA8AC52.4010906 at samsung.com> you wrote:
> Add new board SMDKC100 that uses s5pc100 SoC
> 
> Signed-off-by: Minkyu Kang <mk7.kang at samsung.com>
> Signed-off-by: HeungJun, Kim <riverful.kim at samsung.com>
...
> +#ifndef __CONFIG_H
> +#define __CONFIG_H
> +#include <asm/sizes.h>

Please don't use this header; it will probably be removed soon.

...
> +/*
> + * Architecture magic and machine type
> + */
> +#define MACH_TYPE_SMDKC100	1826

Please don't. Only use the constants defined in mach-types.h

...
> +/*-----------------------------------------------------------------------
> + * Boot configuration (define only one of next 3)
> + */
> +#define CONFIG_ENV_IS_IN_ONENAND	1
> +#define CONFIG_ENV_SIZE			SZ_128K		/* 128KB, 0x20000 */
> +#define CONFIG_ENV_ADDR			SZ_256K		/* 256KB, 0x40000 */
> +#define CONFIG_ENV_OFFSET		SZ_256K		/* 256KB, 0x40000 */

What does the "define only one of next 3" part mean?


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Though a program be but three lines long,
someday it will have to be maintained."
- The Tao of Programming


More information about the U-Boot mailing list