commit | 51983b7dcf3a50f4fdf6353235cd520e6c946e5a | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Wed Sep 10 00:26:16 2014 -0700 |
committer | Brian Norris <computersforpeace@gmail.com> | Wed Nov 05 02:01:32 2014 -0800 |
tree | f7fc5ac39a0468a40c0a4c24607702b7cb55311b | |
parent | e76064464e814bdfe12d0f73d859488e28578946 [diff] |
mtd: spi-nor: eliminate duplicate spi_nor_wait_till_{, fsr}_ready() code These functions were near-carbon-copies due to a small per-flash quirk. Let's add a new spi_nor::flags bitfield to support these types of quirks. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Reviewed-by: Marek Vasut <marex@denx.de> Cc: Graham Moore <grmoore@altera.com> Cc: Huang Shijie <shijie8@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>