altos: Support flash parts > 8MB
authorKeith Packard <keithp@keithp.com>
Wed, 29 Jul 2020 06:44:33 +0000 (23:44 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 30 Jul 2020 18:06:50 +0000 (11:06 -0700)
commit202166275ba5220db54f63dcd9366e9115d09c0d
treed580e8128dd1366644b7aed21fb8c2f5569a04ab
parentc56bcc315ac29d001e62859b61ede890a8b7c64f
altos: Support flash parts > 8MB

The number of sectors (64kB) units in the connected flash
part can be larger than 255, so switch from 8-bits to 32-bits for
holding this value.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_m25.c