Re: [U-Boot] [patch v3] armv8: ls1043a/ls1046aqds: fix the offsets of MTD partitions on Nor flash

2017-03-28 Thread york sun
On 03/24/2017 03:20 AM, Wenbin song wrote:
> Fix the offsets of MTD partitions on Nor flash on ls1043ardb, ls1043aqds
> and ls1046aqds boards.
> Delete the rcw, uboot env and fman partitions.
> Add user partitions for general usage.
>
> Signed-off-by: Wenbin Song 
> ---
> Changes for v1:
>   Delete the rcw, uboot env and fman partitions.
>   Add user partitions for general usage.


Minor adjustment to subject and commit message. Applied to fsl-qoriq 
master, awaiting upstream. Thanks.

York

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


Re: [U-Boot] [patch v3] armv8: ls1043a/ls1046aqds: fix the offsets of MTD partitions on Nor flash

2017-03-24 Thread york sun
On 03/24/2017 03:20 AM, Wenbin song wrote:
> Fix the offsets of MTD partitions on Nor flash on ls1043ardb, ls1043aqds
> and ls1046aqds boards.
> Delete the rcw, uboot env and fman partitions.
> Add user partitions for general usage.
>
> Signed-off-by: Wenbin Song 
> ---
> Changes for v1:
>   Delete the rcw, uboot env and fman partitions.
>   Add user partitions for general usage.
> ---
>  include/configs/ls1043a_common.h | 14 --
>  include/configs/ls1046aqds.h | 14 --
>  2 files changed, 16 insertions(+), 12 deletions(-)
>
> diff --git a/include/configs/ls1043a_common.h 
> b/include/configs/ls1043a_common.h
> index 9a01e48..d5d1388 100644
> --- a/include/configs/ls1043a_common.h
> +++ b/include/configs/ls1043a_common.h
> @@ -188,12 +188,14 @@
>  #define MTDPARTS_DEFAULT "mtdparts=spi0.0:1m(uboot)," \
>   "5m(kernel),1m(dtb),9m(file_system)"
>  #else
> -#define MTDPARTS_DEFAULT "mtdparts=6000.nor:1m(nor_bank0_rcw)," \
> - "1m(nor_bank0_uboot),1m(nor_bank0_uboot_env)," \
> - "1m(nor_bank0_fman_uconde),40m(nor_bank0_fit)," \
> - "1m(nor_bank4_rcw),1m(nor_bank4_uboot)," \
> - "1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode)," \
> - "40m(nor_bank4_fit);7e80.flash:" \
> +#define MTDPARTS_DEFAULT "mtdparts=6000.nor:" \
> + "2m@0x10(nor_bank0_uboot),"\
> + "40m@0x110(nor_bank0_fit)," \
> + "7m(nor_bank0_user)," \
> + "2m@0x410(nor_bank4_uboot)," \
> + "40m@0x510(nor_bank4_fit),"\
> + "-(nor_bank4_user);" \
> + "7e80.flash:" \
>   "1m(nand_uboot),1m(nand_uboot_env)," \
>   "20m(nand_fit);spi0.0:1m(uboot)," \
>   "5m(kernel),1m(dtb),9m(file_system)"
> diff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h
> index 4b3b21e..476387d 100644
> --- a/include/configs/ls1046aqds.h
> +++ b/include/configs/ls1046aqds.h
> @@ -485,12 +485,14 @@ unsigned long get_board_ddr_clk(void);
>  #define MTDPARTS_DEFAULT "mtdparts=155.quadspi:2m(uboot)," \
>   "14m(free)"
>  #else
> -#define MTDPARTS_DEFAULT "mtdparts=6000.nor:1m(nor_bank0_rcw)," \
> - "1m(nor_bank0_uboot),1m(nor_bank0_uboot_env)," \
> - "1m(nor_bank0_fman_uconde),40m(nor_bank0_fit)," \
> - "1m(nor_bank4_rcw),1m(nor_bank4_uboot)," \
> - "1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode)," \
> - "40m(nor_bank4_fit);7e80.flash:" \
> +#define MTDPARTS_DEFAULT "mtdparts=6000.nor:" \
> + "2m@0x10(nor_bank0_uboot),"\
> + "40m@0x110(nor_bank0_fit)," \
> + "7m(nor_bank0_user)," \
> + "2m@0x410(nor_bank4_uboot)," \
> + "40m@0x510(nor_bank4_fit),"\
> + "-(nor_bank4_user);" \
> + "7e80.flash:" \
>   "4m(nand_uboot),36m(nand_kernel)," \
>   "472m(nand_free);spi0.0:2m(uboot)," \
>   "14m(free)"
>

Thanks. This looks better.

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


[U-Boot] [patch v3] armv8: ls1043a/ls1046aqds: fix the offsets of MTD partitions on Nor flash

2017-03-24 Thread Wenbin song
Fix the offsets of MTD partitions on Nor flash on ls1043ardb, ls1043aqds
and ls1046aqds boards.
Delete the rcw, uboot env and fman partitions.
Add user partitions for general usage.

Signed-off-by: Wenbin Song 
---
Changes for v1:
Delete the rcw, uboot env and fman partitions.
Add user partitions for general usage.
---
 include/configs/ls1043a_common.h | 14 --
 include/configs/ls1046aqds.h | 14 --
 2 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h
index 9a01e48..d5d1388 100644
--- a/include/configs/ls1043a_common.h
+++ b/include/configs/ls1043a_common.h
@@ -188,12 +188,14 @@
 #define MTDPARTS_DEFAULT "mtdparts=spi0.0:1m(uboot)," \
"5m(kernel),1m(dtb),9m(file_system)"
 #else
-#define MTDPARTS_DEFAULT "mtdparts=6000.nor:1m(nor_bank0_rcw)," \
-   "1m(nor_bank0_uboot),1m(nor_bank0_uboot_env)," \
-   "1m(nor_bank0_fman_uconde),40m(nor_bank0_fit)," \
-   "1m(nor_bank4_rcw),1m(nor_bank4_uboot)," \
-   "1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode)," \
-   "40m(nor_bank4_fit);7e80.flash:" \
+#define MTDPARTS_DEFAULT "mtdparts=6000.nor:" \
+   "2m@0x10(nor_bank0_uboot),"\
+   "40m@0x110(nor_bank0_fit)," \
+   "7m(nor_bank0_user)," \
+   "2m@0x410(nor_bank4_uboot)," \
+   "40m@0x510(nor_bank4_fit),"\
+   "-(nor_bank4_user);" \
+   "7e80.flash:" \
"1m(nand_uboot),1m(nand_uboot_env)," \
"20m(nand_fit);spi0.0:1m(uboot)," \
"5m(kernel),1m(dtb),9m(file_system)"
diff --git a/include/configs/ls1046aqds.h b/include/configs/ls1046aqds.h
index 4b3b21e..476387d 100644
--- a/include/configs/ls1046aqds.h
+++ b/include/configs/ls1046aqds.h
@@ -485,12 +485,14 @@ unsigned long get_board_ddr_clk(void);
 #define MTDPARTS_DEFAULT "mtdparts=155.quadspi:2m(uboot)," \
"14m(free)"
 #else
-#define MTDPARTS_DEFAULT "mtdparts=6000.nor:1m(nor_bank0_rcw)," \
-   "1m(nor_bank0_uboot),1m(nor_bank0_uboot_env)," \
-   "1m(nor_bank0_fman_uconde),40m(nor_bank0_fit)," \
-   "1m(nor_bank4_rcw),1m(nor_bank4_uboot)," \
-   "1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode)," \
-   "40m(nor_bank4_fit);7e80.flash:" \
+#define MTDPARTS_DEFAULT "mtdparts=6000.nor:" \
+   "2m@0x10(nor_bank0_uboot),"\
+   "40m@0x110(nor_bank0_fit)," \
+   "7m(nor_bank0_user)," \
+   "2m@0x410(nor_bank4_uboot)," \
+   "40m@0x510(nor_bank4_fit),"\
+   "-(nor_bank4_user);" \
+   "7e80.flash:" \
"4m(nand_uboot),36m(nand_kernel)," \
"472m(nand_free);spi0.0:2m(uboot)," \
"14m(free)"
-- 
2.1.0.27.g96db324

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