u-boot/board/davinci/sysmobts_v2
Holger Hans Peter Freyther 64b07727fb sysmobts-v2: Allow to remove the WP of the NAND flash
Starting from revision F we need to set nWP before writing to
flash. Create a new NAND command that can be used for that and
use it for fwup, booting and recovery mode. We assume that the
payload runs a RW filesystem so we set the GPIO before booting
the system.

sysmobts: ubifsmount might already write to the nand...

Remove the write protect a lot earlier as ubifsmount might already
try to grow the freshly flashed UBIFS and allocate UBIs for it.

sysmobts: Add a huge sleep to wait for the pin to be driven

Add some margin and wait for the pin to get high and such. I
can't easily measure if we sleep at all or if it is really 100ms
but it can't hurt and we don't optimize for boot times yet.

sysmobts: Toggle nWP on RevG and later as well

sysmobts-v2: ubi part appears to write as well

The ubi part command will write for the same reason. Move the
command line to the front.

(untested)
2017-03-28 15:59:47 +02:00
..
Kconfig sysmobts_v2: Add support for the sysmocom bts version two. 2017-03-28 15:41:44 +02:00
Makefile sysmobts_v2: Add support for the sysmocom bts version two. 2017-03-28 15:41:44 +02:00
board_init.S sysmobts_v2: Add support for the sysmocom bts version two. 2017-03-28 15:41:44 +02:00
sysmobts_v2.c sysmobts-v2: Allow to remove the WP of the NAND flash 2017-03-28 15:59:47 +02:00