diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2018-07-12 11:29:11 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-07-13 08:24:20 +0200 |
commit | 8120d32a972990f6206063727dade9ae608c7781 (patch) | |
tree | 1d46e979ed0f2a4e7e25d53df4b555264867df38 /drivers/aiodev/Kconfig | |
parent | 87c08ac664272a5a440be1b9323612d30b5bd64e (diff) | |
download | barebox-8120d32a972990f6206063727dade9ae608c7781.tar.gz barebox-8120d32a972990f6206063727dade9ae608c7781.tar.xz |
net/e1000: allow to overwrite flash size from device tree
When barebox probes the e1000 driver and the flash on the i210 device is
unprogrammed, the driver assumes the flash has a size of only 4 kiB.
This is annoying because to program the flash an image must be written
that is bigger than 4 kiB. So you first have to flash the first sector
to make barebox detect the right size on the next boot. Then reset the
board to be able to write the remaining data.
To work around that limitation, try to read the actual size from the
device tree. (Note however that barebox' pci code currently doesn't use
the device tree and so currently this try always fails without further
patching.)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/aiodev/Kconfig')
0 files changed, 0 insertions, 0 deletions