[U-Boot] [PATCH 2/4] vexpress64: switch to generic board

Simon Glass sjg at chromium.org
Mon Dec 29 15:13:51 CET 2014


Hi Linus.

On 23 December 2014 at 18:02, Linus Walleij <linus.walleij at linaro.org> wrote:
> The few Versatile Express ARMv8 platforms we have may just as
> well be switched to generic board from the beginning.
>
> Tested on the ARM foundation model and the in progress support
> for the ARMv8 Juno board.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
>  include/configs/vexpress_aemv8a.h | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
> index f3af971214a5..027d78b59171 100644
> --- a/include/configs/vexpress_aemv8a.h
> +++ b/include/configs/vexpress_aemv8a.h
> @@ -8,6 +8,9 @@
>  #ifndef __VEXPRESS_AEMV8A_H
>  #define __VEXPRESS_AEMV8A_H
>
> +/* We use generic board for v8 Versatile Express */
> +#define CONFIG_SYS_GENERIC_BOARD
> +
>  #ifdef CONFIG_BASE_FVP
>  #ifndef CONFIG_SEMIHOSTING
>  #error CONFIG_BASE_FVP requires CONFIG_SEMIHOSTING
> @@ -25,8 +28,6 @@
>
>  /*#define CONFIG_ARMV8_SWITCH_TO_EL1*/
>
> -/*#define CONFIG_SYS_GENERIC_BOARD*/
> -
>  #define CONFIG_SYS_NO_FLASH
>
>  #define CONFIG_SUPPORT_RAW_INITRD

Also it would be good to switch to driver model as we should not be
adding new boards that don't support it. The PL011 serial driver
supports driver model so it should be pretty simple.

Here is the Raspberry Pi conversion as an example as i uses the same
UART (you only need to look at the CONFIG changes in he GPIO commit)

1150666 dm: rpi: Move serial to driver model
41e98e0 dm: rpi: Convert GPIO driver to driver model

Regards,
Simon


More information about the U-Boot mailing list