ARM: UniPhier: minor fixes
Subsystems (2)
cover ARM: UniPhier: minor fixes
Masahiro Yamada (5):
ARM: UniPhier: fix property names of aliases nodes of device trees
ARM: UniPhier: remove unnecessary ifdef conditional
ARM: UniPhier: use DRAM area for init stack of normal image
ARM: UniPhier: select CONFIG_SPL
ARM: UniPhier: enable CONFIG_CMD_DM
arch/arm/Kconfig | 1 + arch/arm/cpu/armv7/uniphier/init_page_table.c | 4 ---- arch/arm/dts/uniphier-ph1-ld4-ref.dts | 8 ++++---- arch/arm/dts/uniphier-ph1-pro4-ref.dts | 8 ++++---- arch/arm/dts/uniphier-ph1-sld3-ref.dts | 6 +++--- arch/arm/dts/uniphier-ph1-sld8-ref.dts | 8 ++++---- configs/ph1_ld4_defconfig | 1 - configs/ph1_pro4_defconfig | 1 - configs/ph1_sld8_defconfig | 1 - include/configs/uniphier.h | 6 ++++++ 10 files changed, 22 insertions(+), 22 deletions(-)
Signature · 1 line
1.9.1
PATCH 1/5 ARM: UniPhier: fix property names of aliases nodes of device trees
The property name of the "aliases" node should be "serial*" to assign a desired number for the device sequence number.
---
arch/arm/dts/uniphier-ph1-ld4-ref.dts | 8 ++++---- arch/arm/dts/uniphier-ph1-pro4-ref.dts | 8 ++++---- arch/arm/dts/uniphier-ph1-sld3-ref.dts | 6 +++--- arch/arm/dts/uniphier-ph1-sld8-ref.dts | 8 ++++---- 4 files changed, 15 insertions(+), 15 deletions(-)
arch/arm/dts/uniphier-ph1-ld4-ref.dts +4 -4
@@ -25,10 +25,10 @@ }; aliases { - uart0 = &uart0; - uart1 = &uart1; - uart2 = &uart2; - uart3 = &uart3; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2;
arch/arm/dts/uniphier-ph1-pro4-ref.dts +4 -4
@@ -25,10 +25,10 @@ }; aliases { - uart0 = &uart0; - uart1 = &uart1; - uart2 = &uart2; - uart3 = &uart3; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2;
arch/arm/dts/uniphier-ph1-sld3-ref.dts +3 -3
@@ -25,9 +25,9 @@ }; aliases { - uart0 = &uart0; - uart1 = &uart1; - uart2 = &uart2; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2;
arch/arm/dts/uniphier-ph1-sld8-ref.dts +4 -4
@@ -25,10 +25,10 @@ }; aliases { - uart0 = &uart0; - uart1 = &uart1; - uart2 = &uart2; - uart3 = &uart3; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; i2c0 = &i2c0; i2c1 = &i2c1; i2c2 = &i2c2;
Signature · 1 line
1.9.1
PATCH 2/5 ARM: UniPhier: remove unnecessary ifdef conditional
In reply to Masahiro Yamadainit_page_table is only set on SPL.
---
arch/arm/cpu/armv7/uniphier/init_page_table.c | 4 ---- 1 file changed, 4 deletions(-)
arch/arm/cpu/armv7/uniphier/init_page_table.c +0 -4
@@ -17,11 +17,7 @@#define REG DEVICE/* IO Register: Device */ #define DDR DEVICE/* DDR SDRAM: Device */ -#ifdef CONFIG_SPL_BUILD #define IS_SPL_TEXT_AREA (x) ((x) == ((CONFIG_SPL_TEXT_BASE) >> 20)) -#else -#define IS_SPL_TEXT_AREA (x) ((x) == ((CONFIG_SYS_TEXT_BASE) >> 20)) -#endif #define IS_INIT_STACK_AREA (x) ((x) == ((CONFIG_SYS_INIT_SP_ADDR) >> 20))
Signature · 1 line
1.9.1
PATCH 3/5 ARM: UniPhier: use DRAM area for init stack of normal image
In reply to Masahiro YamadaThe normal image is working on DRAM. It is better to use DRAM also for init stack than L2 cache.
---
include/configs/uniphier.h | 4 ++++ 1 file changed, 4 insertions(+)
include/configs/uniphier.h +4 -0
@@ -273,7 +273,11 @@#define CONFIG_SYS_SPL_MALLOC_START (0x0ff00000)#define CONFIG_SYS_SPL_MALLOC_SIZE (0x00004000) +#ifdef CONFIG_SPL_BUILD #define CONFIG_SYS_INIT_SP_ADDR (0x0ff08000) +#else +#define CONFIG_SYS_INIT_SP_ADDR ((CONFIG_SYS_TEXT_BASE) - 0x00001000) +#endif #define CONFIG_SPL_FRAMEWORK #define CONFIG_SPL_NAND_SUPPORT
Signature · 1 line
1.9.1
PATCH 4/5 ARM: UniPhier: select CONFIG_SPL
In reply to Masahiro YamadaNow UniPhier platform is only supported with SPL.
---
arch/arm/Kconfig | 1 + configs/ph1_ld4_defconfig | 1 - configs/ph1_pro4_defconfig | 1 - configs/ph1_sld8_defconfig | 1 - 4 files changed, 1 insertion(+), 3 deletions(-)
arch/arm/Kconfig +1 -0
@@ -800,6 +800,7 @@ config ARCH_UNIPHIER bool "Panasonic UniPhier platform" select CPU_V7 select SUPPORT_SPL + select SPL select OF_CONTROL if !SPL_BUILD endchoice
configs/ph1_ld4_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_SPL=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y +S:CONFIG_ARM=y
configs/ph1_pro4_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_SPL=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y +S:CONFIG_ARM=y
configs/ph1_sld8_defconfig +0 -1
@@ -1,4 +1,3 @@ -CONFIG_SPL=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y +S:CONFIG_ARM=y
Signature · 1 line
1.9.1
PATCH 5/5 ARM: UniPhier: enable CONFIG_CMD_DM
In reply to Masahiro Yamada---
include/configs/uniphier.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/uniphier.h +2 -0
@@ -187,6 +187,8 @@#define CONFIG_FAT_WRITE #define CONFIG_DOS_PARTITION +#define CONFIG_CMD_DM +/* memtest works on */ #define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE#define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_SDRAM_BASE + 0x01000000)
Signature · 1 line
1.9.1
PATCH 5/5 ARM: UniPhier: enable CONFIG_CMD_DM
Hi Masahiro,
Quoted 6 lines · Masahiro Yamada
Signed-off-by Masahiro Yamada <[email protected]>---
include/configs/uniphier.h | 2 ++ 1 file changed, 2 insertions(+)
Note that this will become the default once we get the DM Kconfig series done.
(But I assume you will apply it)
Regards,
Simon
cover ARM: UniPhier: minor fixes
In reply to Masahiro Yamada2014-12-18 19:10 GMT+09:00 Masahiro Yamada <[email protected]>:
Quoted 10 lines
Masahiro Yamada (5):
ARM: UniPhier: fix property names of aliases nodes of device trees
ARM: UniPhier: remove unnecessary ifdef conditional
ARM: UniPhier: use DRAM area for init stack of normal image
ARM: UniPhier: selectCONFIG_SPL
ARM: UniPhier: enableCONFIG_CMD_DM
Series, applied to u-boot-uniphier
Signature · 2 lines
Best Regards Masahiro Yamada
cover ARM: UniPhier: minor fixes
Quoted 4 lines · Masahiro YAMADA
2014-12-18 19:10 GMT+09:00 Masahiro Yamada <[email protected]>:
Quoted 3 lines
Quoted 8 lines
Quoted 6 lines
Masahiro Yamada (5):
ARM: UniPhier: fix property names of aliases nodes of device trees
ARM: UniPhier: remove unnecessary ifdef conditional
ARM: UniPhier: use DRAM area for init stack of normal image
ARM: UniPhier: selectCONFIG_SPL
ARM: UniPhier: enableCONFIG_CMD_DMSeries, applied to u-boot-uniphier
In public, as a reminder to everyone (not picking on Masahiro), as a rule of thumb please try and wait 24h between posting your patches and applying them to your own tree. The patches themselves are fine so I'll be taking the PR shortly.
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/20141218/f4294010/attachment.pgp>