[U-Boot] [PATCH 3/9] ARM: cradle: re-add MACH_TYPE_HHP_CRADLE
Simon Glass
sjg at chromium.org
Sat Nov 19 18:57:19 CET 2011
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin <agust at denx.de> wrote:
> MACH_TYPE_HHP_CRADLE was removed from mach-types.h.
> Add it to the board config file.
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
I built this and it fixes the failure. I did not test on hardware.
Acked-by: Simon Glass <sjg at chromium.org>
> ---
> board/cradle/cradle.c | 3 ---
> include/configs/cradle.h | 3 +++
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/board/cradle/cradle.c b/board/cradle/cradle.c
> index 2bbf2d5..e9f38f8 100644
> --- a/board/cradle/cradle.c
> +++ b/board/cradle/cradle.c
> @@ -191,9 +191,6 @@ board_init (void)
>
> led_code (0xf, YELLOW);
>
> - /* arch number of HHP Cradle */
> - gd->bd->bi_arch_number = MACH_TYPE_HHP_CRADLE;
> -
> /* adress of boot parameters */
> gd->bd->bi_boot_params = 0xa0000100;
>
> diff --git a/include/configs/cradle.h b/include/configs/cradle.h
> index 25be616..d56deee 100644
> --- a/include/configs/cradle.h
> +++ b/include/configs/cradle.h
> @@ -35,6 +35,9 @@
> #define CONFIG_PXA250 1 /* This is an PXA250 CPU */
> #define CONFIG_HHP_CRADLE 1 /* on an Cradle Board */
>
> +#define MACH_TYPE_HHP_CRADLE 210
> +#define CONFIG_MACH_TYPE MACH_TYPE_HHP_CRADLE
> +
> #undef CONFIG_USE_IRQ /* we don't need IRQ/FIQ stuff */
>
> /* we will never enable dcache, because we have to setup MMU first */
> --
> 1.7.5.4
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
More information about the U-Boot
mailing list