Files
u-boot-tk1-som/include/configs
John Schmoller 72fb68d53c xes: Add board_flash_wp_on()
Add board_flash_wp_on() to check a pca9557 gpio pin to see
if non-volatile memory write protection is enabled.

Previously, write protected NOR flashes would fail initialization which
resulted in a bootup error such as:

 ...
 DTT:   53 C local / 64 C remote (adt7461@4c)
 DTT:   54 C local (ds1621@48)
 FLASH: Executed from FLASH1
 POST memory PASSED
 FLASH: ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB
 ## Unknown FLASH on Bank 2 - Size = 0x00000000 = 0 MB
 *** failed ***
 ### ERROR ### Please RESET the board ###

With this patch, NOR flash initialization is skipped:

 ...
 DTT:   53 C local / 64 C remote (adt7461@4c)
 DTT:   54 C local (ds1621@48)
 FLASH: Executed from FLASH1
 POST memory PASSED
 FLASH: Uninitialized - Write Protect On
 L2:    1024 KB enabled
 NAND:  1024 MiB
 ...

Note that flash related commands such as flinfo and saveenv will error
out when flash write protection is enabled.

Signed-off-by: John Schmoller <jschmoller@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22 02:17:19 -05:00
..
2010-10-18 23:48:15 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-08-12 16:40:00 +02:00
2010-08-08 05:17:05 +05:30
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-02-12 12:31:54 -06:00
2010-10-18 22:38:56 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-09-03 15:13:02 +02:00
2010-10-19 23:05:09 +02:00
2010-10-18 22:38:56 +02:00
2010-10-02 16:00:40 -04:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-02-12 12:31:54 -06:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-08-20 16:42:02 +02:00
2010-02-12 12:31:54 -06:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-19 23:47:20 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2009-07-11 09:02:21 +09:00
2010-10-18 22:38:56 +02:00
2009-12-13 21:31:26 -08:00
2010-09-03 15:13:02 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2009-06-23 00:10:04 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-02-12 12:31:54 -06:00
2010-10-18 22:38:56 +02:00
2010-10-13 09:50:55 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-02-12 12:31:54 -06:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-09-03 15:13:02 +02:00
2010-10-18 22:38:56 +02:00
2010-02-12 12:31:54 -06:00
2010-09-21 21:39:31 +02:00
2010-08-08 05:17:05 +05:30
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 10:43:19 +02:00
2010-03-07 12:36:35 -06:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-20 02:38:39 -05:00
2010-10-18 22:38:56 +02:00
2010-06-06 08:36:28 -05:00
2010-04-30 05:23:22 -05:00
2010-04-30 05:23:26 -05:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-19 12:55:16 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2009-11-27 16:26:13 -06:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2009-11-27 16:26:13 -06:00
2009-11-27 16:26:13 -06:00
2010-10-20 02:38:40 -05:00
2009-11-27 16:26:13 -06:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2010-10-18 22:38:56 +02:00
2009-11-27 16:26:13 -06:00
2010-10-18 10:43:19 +02:00
2010-10-22 02:17:16 -05:00
2010-10-22 02:17:16 -05:00
2010-10-22 02:17:19 -05:00
2010-10-22 02:17:16 -05:00
2010-10-18 22:38:56 +02:00
2010-10-19 23:05:05 +02:00
2010-10-18 22:38:56 +02:00