mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-23 02:18:51 +09:00
![Vipul Kumar](/assets/img/avatar_default.png)
This patch added support to enable CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET and CONFIG_ENV_SECT_SIZE through Kconfig for Zynq and Zynqmp. Signed-off-by: Vipul Kumar <vipul.kumar@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
28 lines
632 B
C
28 lines
632 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* (C) Copyright 2018 Michal Simek <monstr@monstr.eu>
|
|
*/
|
|
|
|
#ifndef __CONFIG_BITMAIN_ANTMINER_S9_H
|
|
#define __CONFIG_BITMAIN_ANTMINER_S9_H
|
|
|
|
#define CONFIG_SYS_SDRAM_BASE 0x00000000
|
|
#define CONFIG_SYS_SDRAM_SIZE 0x40000000
|
|
|
|
#define CONFIG_BOOTP_SERVERIP
|
|
|
|
#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
"autoload=no\0" \
|
|
"pxefile_addr_r=0x2000000\0" \
|
|
"scriptaddr=0x3000000\0" \
|
|
"kernel_addr_r=0x2000000\0" \
|
|
"fdt_high=0xefff000\0" \
|
|
"initrd_high=0xefff000\0" \
|
|
"devnum=0\0" \
|
|
"wdstop=mw f8005000 ABC000\0" \
|
|
BOOTENV
|
|
|
|
#include <configs/zynq-common.h>
|
|
|
|
#endif /* __CONFIG_BITMAIN_ANTMINER_S9_H */
|