[PATCH U-Boot v2019.04-aspeed-openbmc 3/3] configs: Add AST2600 SPL eMMC configuration
Eddie James
eajames at linux.ibm.com
Tue Oct 13 00:36:18 AEDT 2020
On 10/8/20 10:44 PM, Joel Stanley wrote:
> On Mon, 28 Sep 2020 at 20:28, Eddie James <eajames at linux.ibm.com> wrote:
>
>> diff --git a/include/configs/aspeed-common.h b/include/configs/aspeed-common.h
>> index 4c83035d3c..876958735b 100755
>> --- a/include/configs/aspeed-common.h
>> +++ b/include/configs/aspeed-common.h
>> @@ -41,6 +41,12 @@
>> #define CONFIG_SYS_BOOTMAPSZ (256 * 1024 * 1024)
>> #define CONFIG_SYS_MALLOC_LEN (32 << 20)
>>
>> +#ifdef CONFIG_ENV_IS_IN_MMC
>> +#define CONFIG_SYS_MMC_ENV_DEV 0
>> +#define CONFIG_SYS_MMC_ENV_PART 0
>> +#define CONFIG_ENV_OFFSET_REDUND 0x15000
> 84KB? How was this chosen?
The env is at 0x5000 in the user partition, and is sized at 0x10000. The
redundant follows it immediately...
Thanks,
Eddie
More information about the openbmc
mailing list