Refine granularity handling in preparation of AT45DB series support
This is a backport of the upstream `commit 02437458` with some
minor additions to align more closely with master. Includes,
`commit c8305e` - Add support for 128 bytes write granularity.
Signed-off-by: Edward O'Callaghan <email@example.com>
Reviewed-by: Stefan Reinauer <firstname.lastname@example.org>
2 files changed