Nick: heijligen E-mail: none Board: set_flashsize Contents: /* The following function is part of the (par_)master api * and replaces the map / unmap functions. * The limited feature is needed if the controller doesn't * support the whole size, but a part of the flash chip. */ /* Tell the programmer / master which size the * flashchip has. After the call size bytes of * the flashchip can be accessed through the * programmer / master. The return value shows * a status code * * 0 all ok, size = original size * 1 failure, size = 0 * 2 limited, size = max size which can be used */ int set_flashsize(size_t *const size);