Files
u-boot-tk1-som/include
Ezequiel Garcia 86a720aafc mtd: Introduce mtd_block_isreserved()
In addition to mtd_block_isbad(), which checks if a block is bad or
reserved, it's needed to check if a block is reserved only (but not
bad). This commit adds an MTD interface for it, in a similar fashion to
mtd_block_isbad().

While here, fix mtd_block_isbad() so the out-of-bounds checking is done
before the callback check.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Tested-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
[scottwood: Cherry-picked from Linux 8471bb73ba10ed67]
Signed-off-by: Scott Wood <scottwood@freescale.com>
2015-08-25 22:53:57 -05:00
..
2014-07-30 08:48:03 -04:00
2015-05-05 20:58:20 -06:00
2015-06-10 19:26:54 -06:00
2015-07-21 17:39:29 -06:00
2015-07-27 15:53:48 -07:00
2015-08-05 21:06:16 -06:00
2014-06-21 10:06:58 -06:00
2015-04-10 14:23:23 +02:00
2015-07-21 17:39:25 -06:00
2015-08-05 08:42:41 -06:00
2015-08-05 08:44:07 -06:00
2015-05-28 08:18:24 -04:00
2014-12-05 08:06:15 -08:00
2015-01-21 10:25:02 +01:00
2015-04-23 16:46:50 -07:00
2015-07-22 08:57:54 +02:00
2014-11-19 08:48:42 +01:00
2014-12-11 13:18:43 -07:00
2013-09-24 09:10:33 -04:00
2014-10-25 15:27:37 -04:00
2014-05-28 10:58:19 +09:00
2014-06-20 11:54:29 -06:00
2015-04-23 09:05:53 -06:00
2013-09-20 10:30:54 -04:00
2015-07-21 17:39:25 -06:00
2014-05-30 14:03:24 -04:00
2013-11-09 17:21:01 +01:00
2015-01-06 10:10:04 +02:00
2015-06-04 03:34:47 -06:00
2015-08-05 08:42:41 -06:00
2015-01-05 12:08:55 -05:00
2015-04-20 17:57:13 -05:00
2015-07-21 17:39:27 -06:00
2015-07-21 17:39:28 -06:00
2014-11-24 12:00:00 +01:00
2015-07-01 21:15:03 +05:30
2015-03-05 20:50:29 -05:00
2015-07-26 12:11:33 +02:00
2013-12-04 08:11:28 -05:00
2015-01-21 10:25:53 +01:00