diff options
author | Milton D. Miller II <miltonm@us.ibm.com> | 2016-01-21 00:28:27 +0300 |
---|---|---|
committer | Milton D. Miller II <miltonm@us.ibm.com> | 2016-01-29 00:45:45 +0300 |
commit | f1d00122b3714028055caa2d09888643ca743601 (patch) | |
tree | dd8b6f7512d838fcdb1c42fae634298e05884b54 /meta-openbmc-bsp/meta-aspeed | |
parent | ee7c1206b575b634e27b605664bdaade9dd814ec (diff) | |
download | openbmc-f1d00122b3714028055caa2d09888643ca743601.tar.xz |
u-boot : add fw_env.config
Add the fw_env.config file to SRC_URI to include it in the build
tree, and update it to point to /dev/mtd2 as 128k, which the
current flash layout.
Signed-off-by: Milton Miller <miltonm@us.ibm.com>
Diffstat (limited to 'meta-openbmc-bsp/meta-aspeed')
-rw-r--r-- | meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config | 3 | ||||
-rw-r--r-- | meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/u-boot_2013.07%.bbappend | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config index 9cb3ad2b56..fe09890c91 100644 --- a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/files/fw_env.config @@ -7,11 +7,12 @@ # NOR example # MTD device name Device offset Env. size Flash sector size Number of sectors -/dev/mtd1 0x0000 0x20000 0x20000 +#/dev/mtd1 0x0000 0x20000 0x20000 #/dev/mtd2 0x0000 0x4000 0x4000 # MTD SPI-dataflash example # MTD device name Device offset Env. size Flash sector size Number of sectors +/dev/mtd2 0x00000 0x20000 #/dev/mtd5 0x4200 0x4200 #/dev/mtd6 0x4200 0x4200 diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/u-boot_2013.07%.bbappend b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/u-boot_2013.07%.bbappend index 12fddbfe33..50adb9fddd 100644 --- a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/u-boot_2013.07%.bbappend +++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-bsp/u-boot/u-boot_2013.07%.bbappend @@ -1,5 +1,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" +SRC_URI += "file://fw_env.config" SRC_URI += "file://config.patch" # Do not install u-boot in rootfs |