mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Oleksij Rempel <linux@rempel-privat.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v2 2/4] asm-generic: partially sync io.h with linux kernel
Date: Mon, 4 Sep 2017 10:01:26 +0200	[thread overview]
Message-ID: <20170904080126.tn2j6anazjqqili2@pengutronix.de> (raw)
In-Reply-To: <20170818135707.17578-3-linux@rempel-privat.de>

Hi Oleksij,

On Fri, Aug 18, 2017 at 03:57:05PM +0200, Oleksij Rempel wrote:
> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
> ---
>  include/asm-generic/io.h | 229 +++++++++++++++++++++++++++++++++++++++++------
>  1 file changed, 201 insertions(+), 28 deletions(-)
> 
> diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
> index 8d83d6806..a3192bae6 100644
> --- a/include/asm-generic/io.h
> +++ b/include/asm-generic/io.h
> @@ -69,50 +69,114 @@ static inline void __raw_writeq(u64 b, volatile void __iomem *addr)
>  #endif
>  
>  #ifndef PCI_IOBASE
> -#define PCI_IOBASE ((void __iomem *) 0)
> +#define PCI_IOBASE ((void __iomem *)0)
> +#endif
> +
> +#ifndef IO_SPACE_LIMIT
> +#define IO_SPACE_LIMIT 0xffff
>  #endif

When compiling imx_v7_defconfig this change results in tons of:

arch/arm/include/asm/io.h:6:0: warning: "IO_SPACE_LIMIT" redefined
#define IO_SPACE_LIMIT 0
^

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2017-09-04  8:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-18 13:57 [PATCH v2 0/4] privide ns16550 support for AR9344 Oleksij Rempel
2017-08-18 13:57 ` [PATCH v2 1/4] of: base: port of_device_is_big_endian from linux Oleksij Rempel
2017-08-18 13:57 ` [PATCH v2 2/4] asm-generic: partially sync io.h with linux kernel Oleksij Rempel
2017-09-04  8:01   ` Sascha Hauer [this message]
2017-08-18 13:57 ` [PATCH v2 3/4] x86: asm: include asm-generic.h Oleksij Rempel
2017-08-18 13:57 ` [PATCH v2 4/4] serial: ns16550: provide big-endian support Oleksij Rempel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170904080126.tn2j6anazjqqili2@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=linux@rempel-privat.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox