board/lego/ev3: fix max U-Boot flash size
authorDavid Lechner <david@lechnology.com>
Thu, 27 Dec 2018 19:53:04 +0000 (13:53 -0600)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 28 Dec 2018 10:48:34 +0000 (11:48 +0100)
The first stage bootloader on LEGO MINDSTORMS EV3 only loads the first
256K of the flash memory (this is hard-coded in an EEPROM). So, the
second stage bootloader (U-Boot) cannot exceed this size.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
board/lego/ev3/genimage.cfg

index 3da3048d8d337541ac77d3c1d379b2043d211aca..65d9714650d2854672609c533f8da48c1891e982 100644 (file)
@@ -16,7 +16,7 @@ image flash.bin {
        flashtype = "nor-16M-256"
        partition uboot {
                image = "u-boot.bin"
-               size = 320K
+               size = 256K
        }
        partition uimage {
                image = "uImage.da850-lego-ev3"