| /* |
| * Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| |
| /* |
| * This is a sub-fmap embedded into the main fmap. This sub-fmap defines |
| * the layout of the read-only portion. |
| */ |
| |
| / { |
| /* |
| * Labels have been selected to be to compatible with existing tools, |
| * even thought the terminology may be a little different on ARM. |
| * Names will be capitalized and hyphen converted to underscore by |
| * cros_bundle_firmware. |
| * |
| * This map is optimized to fit into 1MB. We may or may not get away |
| * with something this small. 512KB would be even better but that |
| * seems a bit too brave at present. |
| */ |
| flash@0 { |
| /* ---- Section: Read-only ---- */ |
| ro-section { |
| label = "ro-section"; |
| reg = <0x00000000 0x00100000>; |
| read-only; |
| }; |
| |
| pre-boot { |
| label = "bl1 pre-boot"; |
| size = <0x2000>; |
| read-only; |
| filename = "e5250.nbl1.bin"; |
| type = "blob exynos-bl1"; |
| required; |
| }; |
| |
| spl { |
| label = "bl2 spl"; |
| size = <0x4000>; |
| read-only; |
| filename = "bl2.bin"; |
| type = "blob exynos-bl2 boot,dtb"; |
| required; |
| }; |
| |
| ro-boot { |
| label = "u-boot"; |
| size = <0x7a000>; |
| read-only; |
| type = "blob boot,dtb,ecbin"; |
| required; |
| }; |
| |
| ro-fmap { |
| label = "fmap"; |
| |
| /* We encourage to align FMAP partition in as large |
| * block as possible so that flashrom can find it soon. |
| * For example, aligning to 512KB is better than to |
| * 256KB. */ |
| |
| reg = <0x00080000 0x00001000>; |
| read-only; |
| type = "fmap"; |
| ver-major = <1>; |
| ver-minor = <0>; |
| }; |
| |
| /* ---- Section: Vital-product data (VPD) ---- */ |
| ro-vpd { |
| label = "ro-vpd"; |
| |
| /* VPD offset must be aligned to 4K bytes */ |
| reg = <0x000b0000 0x0000ff00>; |
| read-only; |
| type = "wiped"; |
| wipe-value = [ff]; |
| }; |
| |
| ro-firmware-id { |
| label = "ro-frid"; |
| reg = <0x000bff00 0x00000100>; |
| read-only; |
| type = "blobstring fwid"; |
| }; |
| |
| ro-gbb { |
| label = "gbb"; |
| |
| /* GBB offset must be aligned to 4K bytes */ |
| reg = <0x000c0000 0x00040000>; |
| read-only; |
| type = "blob gbb"; |
| }; |
| }; |
| }; |