summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-03-22 17:09:05 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:11 -0600
commitfce6900b492c18962a098eae837ea345b75f9a75 (patch)
tree8437b8c78a2076cf57252e970b8638a6b5298f32 /include/net.h
parent05324a488b09c57e7bcc70ae528cd7c098c3e3d3 (diff)
downloadtalos-obmc-uboot-fce6900b492c18962a098eae837ea345b75f9a75.tar.gz
talos-obmc-uboot-fce6900b492c18962a098eae837ea345b75f9a75.zip
net: Use int instead of u8 for boolean flag
On some archs masking the parameter is inefficient, so don't use u8. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reported-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h
index df86176efe..bcf396a4eb 100644
--- a/include/net.h
+++ b/include/net.h
@@ -178,7 +178,7 @@ void eth_halt(void); /* stop SCC */
const char *eth_get_name(void); /* get name of current device */
#ifdef CONFIG_MCAST_TFTP
-int eth_mcast_join(IPaddr_t mcast_addr, u8 join);
+int eth_mcast_join(IPaddr_t mcast_addr, int join);
u32 ether_crc(size_t len, unsigned char const *p);
#endif
OpenPOWER on IntegriCloud