diff mbox series

[U-Boot] microblaze: Fix FDT message in boot_prep_linux()

Message ID e50f43e736bab570aab4a5e16379c2f6b9866d5b.1571642613.git.michal.simek@xilinx.com
State Accepted
Commit 4ab8d6328265da995401fcbfb8be5e20f660cfb0
Delegated to: Michal Simek
Headers show
Series [U-Boot] microblaze: Fix FDT message in boot_prep_linux() | expand

Commit Message

Michal Simek Oct. 21, 2019, 7:23 a.m. UTC
There is no need to show FDT message in regular flow that's why switch it
to debug level.

Fixes: 0905046050b0 ("microblaze: Switch to generic bootm implementation")
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/microblaze/lib/bootm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michal Simek Oct. 24, 2019, 11:32 a.m. UTC | #1
po 21. 10. 2019 v 9:23 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> There is no need to show FDT message in regular flow that's why switch it
> to debug level.
>
> Fixes: 0905046050b0 ("microblaze: Switch to generic bootm implementation")
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  arch/microblaze/lib/bootm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c
> index e8e419d91aa1..01c5d57bc5b0 100644
> --- a/arch/microblaze/lib/bootm.c
> +++ b/arch/microblaze/lib/bootm.c
> @@ -95,7 +95,7 @@ static void boot_jump_linux(bootm_headers_t *images, int flag)
>  static void boot_prep_linux(bootm_headers_t *images)
>  {
>         if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) {
> -               printf("using: FDT\n");
> +               debug("using: FDT\n");
>                 if (image_setup_linux(images)) {
>                         printf("FDT creation failed! hanging...");
>                         hang();
> --
> 2.17.1
>

Applied.
M
diff mbox series

Patch

diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c
index e8e419d91aa1..01c5d57bc5b0 100644
--- a/arch/microblaze/lib/bootm.c
+++ b/arch/microblaze/lib/bootm.c
@@ -95,7 +95,7 @@  static void boot_jump_linux(bootm_headers_t *images, int flag)
 static void boot_prep_linux(bootm_headers_t *images)
 {
 	if (IMAGE_ENABLE_OF_LIBFDT && images->ft_len) {
-		printf("using: FDT\n");
+		debug("using: FDT\n");
 		if (image_setup_linux(images)) {
 			printf("FDT creation failed! hanging...");
 			hang();