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

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@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

Acked-by: Steve Rae srae@broadcom.com
On 14-12-23 05:02 PM, Linus Walleij 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@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

Hi Linus.
On 23 December 2014 at 18:02, Linus Walleij linus.walleij@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@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

On Wed, Dec 24, 2014 at 02:02:46AM +0100, Linus Walleij 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@linaro.org Acked-by: Steve Rae srae@broadcom.com
Applied to u-boot/master, thanks!
participants (4)
-
Linus Walleij
-
Simon Glass
-
Steve Rae
-
Tom Rini