vexpress64: switch to generic board
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.
--- include/configs/vexpress_aemv8a.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
include/configs/vexpress_aemv8a.h +3 -2
@@ -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
Signature · 1 line
1.9.3
PATCH 2/4 vexpress64: switch to generic board
Quoted 35 lines · Linus Walleij
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 <[email protected]>--- include/configs/vexpress_aemv8a.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)include/configs/vexpress_aemv8a.h +3
-2@@ -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
PATCH 2/4 vexpress64: switch to generic board
In reply to Linus WalleijHi Linus.
Quoted 26 lines · Linus Walleij
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 <[email protected]>--- include/configs/vexpress_aemv8a.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)include/configs/vexpress_aemv8a.h +3
-0@@ -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
include/configs/vexpress_aemv8a.h line 33
Quoted 8 lines
include/configs/vexpress_aemv8a.h +0
-2@@ -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
PATCH 2/4 vexpress64: switch to generic board
In reply to Linus WalleijQuoted 8 lines · Linus Walleij
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 <[email protected]>Acked-by Steve Rae <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141229/2c8107e3/attachment-0001.pgp>