2018-11-19 |
ARM: omap: Add missing includes
...
Include header files that provide the prototypes for functions
implemented in that C files.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 19 Nov 2018
|
2018-01-30 |
ARM: am33xx: bbu: Make pointers to image const
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 30 Jan 2018
|
2016-04-19 |
fix erasing/protecting flashes with unspecified size
...
fixes: 81737c1 mtd: Fix erasing of devices >4GiB
Several places erased a complete flash partition passing ~0 as count to
erase(). With the above commit count to erase was changed from an unsigned
type to a signed type, so the (count > f->size - offset) check in
erase() no longer triggers and the ~0 count is no longer adjusted to the whole
device size. Among other things this results in saveenv failures on NOR
flashes.
This patch fixes this by introducing an explicit macro for erasing the
whole device which is tested for in erase(). All other negative values
are rejected.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reported-by: Giorgio <giorgio.nicole@arcor.de>
Sascha Hauer
committed
on 19 Apr 2016
|
2015-07-01 |
ARM: AM335x: replace specific barebox update handler with generic one
...
The AM335x SPI NOR barebox update handlers only writes a file to a device,
so use the generic handler for this purpose.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 1 Jul 2015
|
2014-09-30 |
ARM: am33xx update SPI NOR: Ask use before flashing
...
Let the user confirm the update process before flashing the new
image.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 30 Sep 2014
|
ARM: am33xx update SPI NOR: Check image size before flashing
...
Test if the image fits into the partition before flashing it. Makes
the update process more safe.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 30 Sep 2014
|
2014-09-26 |
ARM: AM33xx SPI MLO update handler: detect non CH images
...
The AM3xxx can boot images containing a Configuration Header
(generated with omap_signGP) or images with GP Header (simple
size/address information in front of raw image). Update the
SPI NOR barebox update handler to detect the GP Header images.
These have 0x65726162 ('bare') at the offset header[10]. Also
automatically swap the endianess for non swapped images so
that the regular non swapped images can also be flashed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 26 Sep 2014
|
2014-05-15 |
ARM: AM33xx: Add SPI bbu handler
...
We already have an update handler for the MLO on SPI, add
a update handler for the regular barebox aswell.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 15 May 2014
|
ARM: AM33xx: swap MLO SPI image automatically
...
The MLO image for SPI differs in the normal MLO in that the
SPI version is big endian. As both types of images are floating
around detect whether or not the image is swapped automatically.
This also adds a check whether we have a valid MLO image.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha Hauer
committed
on 15 May 2014
|
2013-08-26 |
ARM: omap: barebox update spi nor MLO handler
...
-Added mlo spi NOR copy handler
-This handler will convert the MLO to big endian
-Tested with pcm051 board
Signed-off-by: shravan <shravan.k@phytec.in>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
shravan
authored
on 23 Aug 2013
Sascha Hauer
committed
on 26 Aug 2013
|