phosphor: image_types_phosphor: flash overrides

Add an override based on FLASH_SIZE, for use with the hardcoded offsets
that exist when building raw flash images.

This lets us have different flash layouts for different size flash
modules that can be shared between machines.

The existing 32MiB layouts are unchanged:
  partition: size: offset

  u-boot: 384 KiB (0 KiB)
  u-boot-env: 128 KiB (384 KiB)
  kernel/FIT: 4352 KiB (512 KiB)
  rootfs: 23808 KiB (4864 KiB)
  rwfs: 4MiB (28672 KiB)

The new layout is as follows:
  partition: size: offset

  u-boot: 896 KiB (0 KiB)
  u-boot-env: 128 KiB (896 KiB)
  kernel/FIT: 9 MiB (1 MiB)
  rootfs: 86 MiB (10 MiB)
  rwfs: 32MiB (96 MiB)

Change-Id: I35c413eafe73443253f487035bbaf5e004e2da3f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2 files changed
tree: 44a745ec21331bebf57c24934cc3c42690074fe2
  1. aspeed-layer/
  2. classes/
  3. conf/
  4. nuvoton-layer/
  5. raspberrypi/
  6. recipes-connectivity/
  7. recipes-core/
  8. recipes-devtools/
  9. recipes-extended/
  10. recipes-graphics/
  11. recipes-phosphor/
  12. recipes-protocols/
  13. recipes-support/
  14. recipes-textproc/
  15. COPYING.apache-2.0
  16. COPYING.MIT
  17. LICENSE
  18. MAINTAINERS
  19. README.md
  20. recipes.txt
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.