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

2014-12-29 Thread Simon Glass
Hi Linus.

On 23 December 2014 at 18:02, Linus Walleij linus.wall...@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.wall...@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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2014-12-26 Thread Steve Rae

Acked-by: Steve Rae s...@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.wall...@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


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2014-12-23 Thread 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 linus.wall...@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
-- 
1.9.3

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot