diff options
author | Howard Chiu <howard_chiu@aspeedtech.com> | 2022-04-26 04:32:42 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2022-05-02 03:17:55 +0300 |
commit | c1c2370ca17d8d10c50e00b024da411f63f3b952 (patch) | |
tree | 762363f9859b057f2f53c92f5493da7024f122a2 /meta-aspeed/conf | |
parent | 03907ee1b9e938b9ce87f4d781c905c2a41592c2 (diff) | |
download | openbmc-c1c2370ca17d8d10c50e00b024da411f63f3b952.tar.xz |
meta-aspeed: Correct the offset to load kernel
OpenBMC places kernel at offset 512 if the flash size is 32MB,
but it was defined as 1024 in the present defconfig.
This patch corrects the offset if the flash size is set to 32MB.
Signed-off-by: Howard Chiu <howard_chiu@aspeedtech.com>
Change-Id: I05749eda519cc1660921e111a36be74cb121fa68
Diffstat (limited to 'meta-aspeed/conf')
-rw-r--r-- | meta-aspeed/conf/machine/evb-ast2500.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-aspeed/conf/machine/evb-ast2500.conf b/meta-aspeed/conf/machine/evb-ast2500.conf index 6946c52e5b..4de380f865 100644 --- a/meta-aspeed/conf/machine/evb-ast2500.conf +++ b/meta-aspeed/conf/machine/evb-ast2500.conf @@ -7,3 +7,5 @@ require conf/machine/include/ast2500.inc require conf/machine/include/obmc-evb-common.inc SERIAL_CONSOLES = "115200;ttyS4" + +FLASH_SIZE = "32768" |