linux-gbmc: Fix FLASH_LAYOUT_SIZE size check

Make sure the flash size check is done properly to prevent the issue
where all system are running with gbmc-flash-layout-64.dtsi.

Tested:
On a gBMC with FLASH_SIZE of 32768.
```
$ cat ./tmp/work-shared/gbmc/kernel-source/arch/arm/boot/dts/npcm7xx-gbmc.dtsi
                #include "gbmc-flash-layout-32.dtsi"
```

Google-Bug-Id: 383236243
Fusion-Link: fusion2 N/A. This reverts back to the expected layout.
Change-Id: I603e69f9d8115772d1dc142e58ae00b5bef1fd18
Signed-off-by: Willy Tu <wltu@google.com>
Platforms-Affected: 32MB FLASH size systems
(cherry picked from commit 5a38c29e42af6fd89fca5080c24a54f7cf7663eb)
1 file changed
tree: 4f8bab7622395714204a97a099e11d1ed2929beb
  1. classes/
  2. conf/
  3. dynamic-layers/
  4. recipes-bsp/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-google/
  10. recipes-kernel/
  11. recipes-phosphor/
  12. recipes-support/
  13. recipes-tpm1/
  14. recipes-tpm2/
  15. LICENSE
  16. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.