Fix hang trying to protect flash sectors
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | flash: Check info pointer in flash_protect(). | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/1] Fix hang trying to protect flash sectors
Dear Chris Packham,
Quoted 8 lines · In message <[email protected]> you wrote:
While it would be possible to shuffle the memory map around there is one problem with the hardware design that I don't think can be overcome (I'd love to be proven wrong). The boot chip select is mapped to the _bottom_ of the first flash chip. It was done this way so that we could expand the flash in the future as a rolling production change (we're now shipping units with 64MB fitted). i.e. we knew we could rely on a fixed base address so thats where we pointed the boot chip select.
I don't see why this should be relevant. Usually you can set up nearly any memory map in software, independent of the CPU state at boot time.
Which exact processor family are we talking about?
Quoted 2 lines
I think in hindsight we could have modified our flash detection code to start at the top and jump backwards looking for extra chips. Unfortunately
What do you mean by "our flash detection code"? Are you using any private code for that? Why? U-Boot already has all the needed stuff, just use it.
Quoted 2 lines
we're not able to change the hardware design for this product but we can take this into account on future designs.
I'm not convinced that any hardware changes would be needed.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Don't panic.