From patchwork Thu Jan 17 00:09:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Phillips X-Patchwork-Id: 213104 X-Patchwork-Delegate: joe.hershberger@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 0D8392C0040 for ; Thu, 17 Jan 2013 11:12:10 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id ACD894A0F8; Thu, 17 Jan 2013 01:12:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 73RXqIuXNlH9; Thu, 17 Jan 2013 01:12:07 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C399C4A0F1; Thu, 17 Jan 2013 01:12:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9D90B4A0F1 for ; Thu, 17 Jan 2013 01:12:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10gJLq0DNKLI for ; Thu, 17 Jan 2013 01:12:04 +0100 (CET) X-Greylist: delayed 620 seconds by postgrey-1.27 at theia; Thu, 17 Jan 2013 01:12:02 CET X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe001.messaging.microsoft.com [207.46.163.24]) by theia.denx.de (Postfix) with ESMTPS id 58FB94A0B9 for ; Thu, 17 Jan 2013 01:12:02 +0100 (CET) Received: from mail38-co9-R.bigfish.com (10.236.132.227) by CO9EHSOBE005.bigfish.com (10.236.130.68) with Microsoft SMTP Server id 14.1.225.23; Thu, 17 Jan 2013 00:11:58 +0000 Received: from mail38-co9 (localhost [127.0.0.1]) by mail38-co9-R.bigfish.com (Postfix) with ESMTP id 3E78CC034E; Thu, 17 Jan 2013 00:11:58 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1ee6h1de0h1202h1e76h1d1ah1d2ahzz8275bhz2dh2a8h668h839h944hd24he5bhf0ah1220h1288h12a5h12a9h12bdh137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h1155h) Received: from mail38-co9 (localhost.localdomain [127.0.0.1]) by mail38-co9 (MessageSwitch) id 1358381507132038_5410; Thu, 17 Jan 2013 00:11:47 +0000 (UTC) Received: from CO9EHSMHS025.bigfish.com (unknown [10.236.132.241]) by mail38-co9.bigfish.com (Postfix) with ESMTP id 1319668004D; Thu, 17 Jan 2013 00:11:47 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO9EHSMHS025.bigfish.com (10.236.130.35) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 17 Jan 2013 00:11:44 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-004.039d.mgd.msft.net (10.84.1.14) with Microsoft SMTP Server (TLS) id 14.2.318.3; Thu, 17 Jan 2013 00:11:43 +0000 Received: from x9.am.freescale.net (x9.am.freescale.net [10.82.120.9]) by az84smr01.freescale.net (8.14.3/8.14.0) with SMTP id r0H0Bgp6031838; Wed, 16 Jan 2013 17:11:43 -0700 Date: Wed, 16 Jan 2013 18:09:11 -0600 From: Kim Phillips To: Message-ID: <20130116180911.7a7f8bcb07c48d7b39a8677a@freescale.com> Organization: Freescale Semiconductor, Inc. X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [U-Boot] [PATCH 1/2] net: make IPaddr type big endian X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de for use with sparse. Signed-off-by: Kim Phillips Cc: Joe Hershberger --- include/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net.h b/include/net.h index 970d4d1..4c5a000 100644 --- a/include/net.h +++ b/include/net.h @@ -39,7 +39,7 @@ #define PKTALIGN ARCH_DMA_MINALIGN /* IPv4 addresses are always 32 bits in size */ -typedef u32 IPaddr_t; +typedef __be32 IPaddr_t; /**