mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Dave Kitchen <dave.kitchen@insync.tv>
Cc: barebox@lists.infradead.org
Subject: Re: MTD with non-power-of-2 page size
Date: Wed, 19 Aug 2015 16:45:19 +0200	[thread overview]
Message-ID: <20150819144519.GK18700@pengutronix.de> (raw)
In-Reply-To: <55D492C1.3000003@insync.tv>

On Wed, Aug 19, 2015 at 03:29:21PM +0100, Dave Kitchen wrote:
> Hi Sascha
> 
> Thank you for the hint. I now have running code with the
> non-power-of-2 page size.
> Shall I try and generate/submit a patch for this?

Yes please.

> The code may be
> marginally slower in the power-of-2 case than the original, but I
> defy anyone to notice if they are using spi boot!

Well this code is not only executed for SPI Flashes but also NAND
flashes. Anyway, the speed penalty should be negligible.

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:[~2015-08-19 14:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-12 11:21 Dave Kitchen
2015-08-12 12:13 ` Simon Aittamaa
2015-08-19 14:20 ` Sascha Hauer
2015-08-19 14:29   ` Dave Kitchen
2015-08-19 14:45     ` Sascha Hauer [this message]

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=20150819144519.GK18700@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=dave.kitchen@insync.tv \
    /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