U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] spl: remove dependency to "asm/utils.h"
@ 2018-07-17 19:15 Paulo Zaneti
  2018-07-26 19:54 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Paulo Zaneti @ 2018-07-17 19:15 UTC (permalink / raw)
  To: u-boot

Header file "asm/utils.h" is not required to compile "spl_ymodem.c".
So, removing this dependency allows other architectures to use this
booting device as "asm/utils.h" is only present in "arm" architecture.

Signed-off-by: Paulo Zaneti <paulo.zaneti@datacom.ind.br>
---

 common/spl/spl_ymodem.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/spl/spl_ymodem.c b/common/spl/spl_ymodem.c
index 35f8f80..3b1bd71 100644
--- a/common/spl/spl_ymodem.c
+++ b/common/spl/spl_ymodem.c
@@ -12,7 +12,6 @@
 #include <spl.h>
 #include <xyzModem.h>
 #include <asm/u-boot.h>
-#include <asm/utils.h>
 #include <linux/libfdt.h>
 
 #define BUF_SIZE 1024
-- 
2.7.4

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

* [U-Boot] spl: remove dependency to "asm/utils.h"
  2018-07-17 19:15 [U-Boot] [PATCH] spl: remove dependency to "asm/utils.h" Paulo Zaneti
@ 2018-07-26 19:54 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2018-07-26 19:54 UTC (permalink / raw)
  To: u-boot

On Tue, Jul 17, 2018 at 04:15:46PM -0300, Paulo Zaneti wrote:

> Header file "asm/utils.h" is not required to compile "spl_ymodem.c".
> So, removing this dependency allows other architectures to use this
> booting device as "asm/utils.h" is only present in "arm" architecture.
> 
> Signed-off-by: Paulo Zaneti <paulo.zaneti@datacom.ind.br>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180726/240a39f7/attachment.sig>

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

end of thread, other threads:[~2018-07-26 19:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-17 19:15 [U-Boot] [PATCH] spl: remove dependency to "asm/utils.h" Paulo Zaneti
2018-07-26 19:54 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox