]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spring: Update flashmap details
authorSimon Glass <sjg@chromium.org>
Sat, 12 Jan 2019 01:37:11 +0000 (18:37 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 9 Feb 2019 19:50:22 +0000 (12:50 -0700)
Update the flashmap so that this board can be started over USB A-A. It
is slightly different from snow.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
arch/arm/dts/exynos5250-spring.dts

index 942f5027753b7ede0c799a956cb3f5acec22fb44..c7553208adeed6f85255f9c412c0ced2427f7d34 100644 (file)
                reg = <0x40000000 0x80000000>;
        };
 
+       iram {
+               reg = <0x02020000 0x60000>;
+       };
+
+       config {
+               samsung,bl1-offset = <0x1400>;
+               samsung,bl2-offset = <0x3400>;
+               u-boot-memory = "/memory";
+               u-boot-offset = <0x3e00000 0x100000>;
+       };
+
        flash@0 {
-               spl { /* spl size override */
-                       size = <0x8000>;
+               reg = <0 0x100000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               pre-boot {
+                       label = "bl1 pre-boot";
+                       reg = <0 0x2000>;
+                       read-only;
+                       filename = "e5250.nbl1.bin";
+                       type = "blob exynos-bl1";
+                       required;
+               };
+
+               spl {
+                       label = "bl2 spl";
+                       reg = <0x2000 0x8000>;
+                       read-only;
+                       filename = "bl2.bin";
+                       type = "blob exynos-bl2 boot,dtb";
+                       payload = "/flash/ro-boot";
+                       required;
+               };
+
+               ro-boot {
+                       label = "u-boot";
+                       reg = <0xa000 0xb0000>;
+                       read-only;
+                       type = "blob boot,dtb";
+                       required;
                };
        };