All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: zynq: load u-boot.img whether CONFIG_OF_SEPARATE is defined or not
@ 2016-04-13 21:52 Masahiro Yamada
  2016-05-04 14:50 ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2016-04-13 21:52 UTC (permalink / raw)
  To: u-boot

Since commit ad1ecd2063da ("fdt: Build a U-Boot binary without device
tree"), u-boot-dtb.img is identical to u-boot.img, so SPL can always
load u-boot.img whether CONFIG_OF_SEPARATE is defined or not.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 include/configs/zynq-common.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
index 49d9fd0..3b5cd5b 100644
--- a/include/configs/zynq-common.h
+++ b/include/configs/zynq-common.h
@@ -339,11 +339,7 @@
 #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1
 #define CONFIG_SPL_LIBDISK_SUPPORT
 #define CONFIG_SPL_FAT_SUPPORT
-#ifdef CONFIG_OF_SEPARATE
-# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot-dtb.img"
-#else
-# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot.img"
-#endif
+#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot.img"
 #endif
 
 /* Disable dcache for SPL just for sure */
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] ARM: zynq: load u-boot.img whether CONFIG_OF_SEPARATE is defined or not
  2016-04-13 21:52 [U-Boot] [PATCH] ARM: zynq: load u-boot.img whether CONFIG_OF_SEPARATE is defined or not Masahiro Yamada
@ 2016-05-04 14:50 ` Masahiro Yamada
  2016-05-05  7:03   ` Michal Simek
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2016-05-04 14:50 UTC (permalink / raw)
  To: u-boot

Hi Michal,

Does this patch look good?
or does it have impact on your customers?


2016-04-14 6:52 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> Since commit ad1ecd2063da ("fdt: Build a U-Boot binary without device
> tree"), u-boot-dtb.img is identical to u-boot.img, so SPL can always
> load u-boot.img whether CONFIG_OF_SEPARATE is defined or not.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
>  include/configs/zynq-common.h | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h
> index 49d9fd0..3b5cd5b 100644
> --- a/include/configs/zynq-common.h
> +++ b/include/configs/zynq-common.h
> @@ -339,11 +339,7 @@
>  #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION     1
>  #define CONFIG_SPL_LIBDISK_SUPPORT
>  #define CONFIG_SPL_FAT_SUPPORT
> -#ifdef CONFIG_OF_SEPARATE
> -# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot-dtb.img"
> -#else
> -# define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot.img"
> -#endif
> +#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME     "u-boot.img"
>  #endif
>
>  /* Disable dcache for SPL just for sure */
> --
> 1.9.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot



-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] ARM: zynq: load u-boot.img whether CONFIG_OF_SEPARATE is defined or not
  2016-05-04 14:50 ` Masahiro Yamada
@ 2016-05-05  7:03   ` Michal Simek
  0 siblings, 0 replies; 3+ messages in thread
From: Michal Simek @ 2016-05-05  7:03 UTC (permalink / raw)
  To: u-boot

Hi,

On 4.5.2016 16:50, Masahiro Yamada wrote:
> Hi Michal,
> 
> Does this patch look good?
> or does it have impact on your customers?

Sorry I missed it. Yes it looks good.

Applied.

Thanks,
Michal

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-05  7:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-13 21:52 [U-Boot] [PATCH] ARM: zynq: load u-boot.img whether CONFIG_OF_SEPARATE is defined or not Masahiro Yamada
2016-05-04 14:50 ` Masahiro Yamada
2016-05-05  7:03   ` Michal Simek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.