commit
94228a9188
@ -0,0 +1,7 @@ |
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
||||
|
||||
extra-y = start.o
|
||||
|
||||
obj-y += cpu.o
|
@ -0,0 +1,49 @@ |
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> |
||||
*/ |
||||
|
||||
#include <common.h> |
||||
#include <asm/csr.h> |
||||
|
||||
enum { |
||||
ISA_INVALID = 0, |
||||
ISA_32BIT, |
||||
ISA_64BIT, |
||||
ISA_128BIT |
||||
}; |
||||
|
||||
static const char * const isa_bits[] = { |
||||
[ISA_INVALID] = NULL, |
||||
[ISA_32BIT] = "32", |
||||
[ISA_64BIT] = "64", |
||||
[ISA_128BIT] = "128" |
||||
}; |
||||
|
||||
static inline bool supports_extension(char ext) |
||||
{ |
||||
return csr_read(misa) & (1 << (ext - 'a')); |
||||
} |
||||
|
||||
int print_cpuinfo(void) |
||||
{ |
||||
char name[32]; |
||||
char *s = name; |
||||
int bit; |
||||
|
||||
s += sprintf(name, "rv"); |
||||
bit = csr_read(misa) >> (sizeof(long) * 8 - 2); |
||||
s += sprintf(s, isa_bits[bit]); |
||||
|
||||
supports_extension('i') ? *s++ = 'i' : 'r'; |
||||
supports_extension('m') ? *s++ = 'm' : 'i'; |
||||
supports_extension('a') ? *s++ = 'a' : 's'; |
||||
supports_extension('f') ? *s++ = 'f' : 'c'; |
||||
supports_extension('d') ? *s++ = 'd' : '-'; |
||||
supports_extension('c') ? *s++ = 'c' : 'v'; |
||||
*s++ = '\0'; |
||||
|
||||
printf("CPU: %s\n", name); |
||||
|
||||
return 0; |
||||
} |
@ -0,0 +1,6 @@ |
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
||||
|
||||
obj-y += dram.o
|
||||
obj-y += cpu.o
|
@ -0,0 +1,21 @@ |
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> |
||||
*/ |
||||
|
||||
#include <common.h> |
||||
|
||||
/*
|
||||
* cleanup_before_linux() is called just before we call linux |
||||
* it prepares the processor for linux |
||||
* |
||||
* we disable interrupt and caches. |
||||
*/ |
||||
int cleanup_before_linux(void) |
||||
{ |
||||
disable_interrupts(); |
||||
|
||||
/* turn off I/D-cache */ |
||||
|
||||
return 0; |
||||
} |
@ -0,0 +1,17 @@ |
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> |
||||
*/ |
||||
|
||||
#include <common.h> |
||||
#include <fdtdec.h> |
||||
|
||||
int dram_init(void) |
||||
{ |
||||
return fdtdec_setup_mem_size_base(); |
||||
} |
||||
|
||||
int dram_init_banksize(void) |
||||
{ |
||||
return fdtdec_setup_memory_banksize(); |
||||
} |
@ -1,13 +0,0 @@ |
||||
/* SPDX-License-Identifier: GPL-2.0+ */ |
||||
/*
|
||||
* Copyright (c) 2013, Google Inc. |
||||
* |
||||
* Copyright (C) 2011 |
||||
* Corscience GmbH & Co. KG - Simon Schwarz <schwarz@corscience.de> |
||||
*/ |
||||
#ifndef NDS32_BOOTM_H |
||||
#define NDS32_BOOTM_H |
||||
|
||||
#include <asm/setup.h> |
||||
|
||||
#endif |
@ -0,0 +1,124 @@ |
||||
/* SPDX-License-Identifier: GPL-2.0 */ |
||||
/*
|
||||
* Copyright (C) 2015 Regents of the University of California |
||||
* |
||||
* Taken from Linux arch/riscv/include/asm/csr.h |
||||
*/ |
||||
|
||||
#ifndef _ASM_RISCV_CSR_H |
||||
#define _ASM_RISCV_CSR_H |
||||
|
||||
/* Status register flags */ |
||||
#define SR_SIE _AC(0x00000002, UL) /* Supervisor Interrupt Enable */ |
||||
#define SR_SPIE _AC(0x00000020, UL) /* Previous Supervisor IE */ |
||||
#define SR_SPP _AC(0x00000100, UL) /* Previously Supervisor */ |
||||
#define SR_SUM _AC(0x00040000, UL) /* Supervisor access User Memory */ |
||||
|
||||
#define SR_FS _AC(0x00006000, UL) /* Floating-point Status */ |
||||
#define SR_FS_OFF _AC(0x00000000, UL) |
||||
#define SR_FS_INITIAL _AC(0x00002000, UL) |
||||
#define SR_FS_CLEAN _AC(0x00004000, UL) |
||||
#define SR_FS_DIRTY _AC(0x00006000, UL) |
||||
|
||||
#define SR_XS _AC(0x00018000, UL) /* Extension Status */ |
||||
#define SR_XS_OFF _AC(0x00000000, UL) |
||||
#define SR_XS_INITIAL _AC(0x00008000, UL) |
||||
#define SR_XS_CLEAN _AC(0x00010000, UL) |
||||
#define SR_XS_DIRTY _AC(0x00018000, UL) |
||||
|
||||
#ifndef CONFIG_64BIT |
||||
#define SR_SD _AC(0x80000000, UL) /* FS/XS dirty */ |
||||
#else |
||||
#define SR_SD _AC(0x8000000000000000, UL) /* FS/XS dirty */ |
||||
#endif |
||||
|
||||
/* SATP flags */ |
||||
#if __riscv_xlen == 32 |
||||
#define SATP_PPN _AC(0x003FFFFF, UL) |
||||
#define SATP_MODE_32 _AC(0x80000000, UL) |
||||
#define SATP_MODE SATP_MODE_32 |
||||
#else |
||||
#define SATP_PPN _AC(0x00000FFFFFFFFFFF, UL) |
||||
#define SATP_MODE_39 _AC(0x8000000000000000, UL) |
||||
#define SATP_MODE SATP_MODE_39 |
||||
#endif |
||||
|
||||
/* Interrupt Enable and Interrupt Pending flags */ |
||||
#define SIE_SSIE _AC(0x00000002, UL) /* Software Interrupt Enable */ |
||||
#define SIE_STIE _AC(0x00000020, UL) /* Timer Interrupt Enable */ |
||||
|
||||
#define EXC_INST_MISALIGNED 0 |
||||
#define EXC_INST_ACCESS 1 |
||||
#define EXC_BREAKPOINT 3 |
||||
#define EXC_LOAD_ACCESS 5 |
||||
#define EXC_STORE_ACCESS 7 |
||||
#define EXC_SYSCALL 8 |
||||
#define EXC_INST_PAGE_FAULT 12 |
||||
#define EXC_LOAD_PAGE_FAULT 13 |
||||
#define EXC_STORE_PAGE_FAULT 15 |
||||
|
||||
#ifndef __ASSEMBLY__ |
||||
|
||||
#define csr_swap(csr, val) \ |
||||
({ \
|
||||
unsigned long __v = (unsigned long)(val); \
|
||||
__asm__ __volatile__ ("csrrw %0, " #csr ", %1" \
|
||||
: "=r" (__v) : "rK" (__v) \
|
||||
: "memory"); \
|
||||
__v; \
|
||||
}) |
||||
|
||||
#define csr_read(csr) \ |
||||
({ \
|
||||
register unsigned long __v; \
|
||||
__asm__ __volatile__ ("csrr %0, " #csr \
|
||||
: "=r" (__v) : \
|
||||
: "memory"); \
|
||||
__v; \
|
||||
}) |
||||
|
||||
#define csr_write(csr, val) \ |
||||
({ \
|
||||
unsigned long __v = (unsigned long)(val); \
|
||||
__asm__ __volatile__ ("csrw " #csr ", %0" \
|
||||
: : "rK" (__v) \
|
||||
: "memory"); \
|
||||
}) |
||||
|
||||
#define csr_read_set(csr, val) \ |
||||
({ \
|
||||
unsigned long __v = (unsigned long)(val); \
|
||||
__asm__ __volatile__ ("csrrs %0, " #csr ", %1" \
|
||||
: "=r" (__v) : "rK" (__v) \
|
||||
: "memory"); \
|
||||
__v; \
|
||||
}) |
||||
|
||||
#define csr_set(csr, val) \ |
||||
({ \
|
||||
unsigned long __v = (unsigned long)(val); \
|
||||
__asm__ __volatile__ ("csrs " #csr ", %0" \
|
||||
: : "rK" (__v) \
|
||||
: "memory"); \
|
||||
}) |
||||
|
||||
#define csr_read_clear(csr, val) \ |
||||
({ \
|
||||
unsigned long __v = (unsigned long)(val); \
|
||||
__asm__ __volatile__ ("csrrc %0, " #csr ", %1" \
|
||||
: "=r" (__v) : "rK" (__v) \
|
||||
: "memory"); \
|
||||
__v; \
|
||||
}) |
||||
|
||||
#define csr_clear(csr, val) \ |
||||
({ \
|
||||
unsigned long __v = (unsigned long)(val); \
|
||||
__asm__ __volatile__ ("csrc " #csr ", %0" \
|
||||
: : "rK" (__v) \
|
||||
: "memory"); \
|
||||
}) |
||||
|
||||
#endif /* __ASSEMBLY__ */ |
||||
|
||||
#endif /* _ASM_RISCV_CSR_H */ |
@ -1,29 +0,0 @@ |
||||
/* SPDX-License-Identifier: GPL-2.0+ */ |
||||
/*
|
||||
* Copyright (C) 2017 Andes Technology Corporation |
||||
* Rick Chen, Andes Technology Corporation <rick@andestech.com> |
||||
*/ |
||||
|
||||
#ifndef __ASM_RISCV_MACH_TYPE_H |
||||
#define __ASM_RISCV_MACH_TYPE_H |
||||
|
||||
#ifndef __ASSEMBLY__ |
||||
/* The type of machine we're running on */ |
||||
extern unsigned int __machine_arch_type; |
||||
#endif |
||||
|
||||
#define MACH_TYPE_AE350 1 |
||||
|
||||
#ifdef CONFIG_ARCH_AE350 |
||||
# ifdef machine_arch_type |
||||
# undef machine_arch_type |
||||
# define machine_arch_type __machine_arch_type |
||||
# else |
||||
# define machine_arch_type MACH_TYPE_AE350 |
||||
# endif |
||||
# define machine_is_ae350() (machine_arch_type == MACH_TYPE_AE350) |
||||
#else |
||||
# define machine_is_ae350() (1) |
||||
#endif |
||||
|
||||
#endif /* __ASM_RISCV_MACH_TYPE_H */ |
@ -1,194 +0,0 @@ |
||||
/* SPDX-License-Identifier: GPL-2.0 */ |
||||
/*
|
||||
* linux/arch/nds32/include/asm/setup.h |
||||
* |
||||
* Copyright (C) 1997-1999 Russell King |
||||
* Copyright (C) 2008 Andes Technology Corporation |
||||
* Copyright (C) 2013 Ken Kuo (ken_kuo@andestech.com) |
||||
* Copyright (C) 2017 Rick Chen (rick@andestech.com) |
||||
* |
||||
* Structure passed to kernel to tell it about the |
||||
* hardware it's running on. See Documentation/arm/Setup |
||||
* for more info. |
||||
*/ |
||||
#ifndef __RISCV_SETUP_H |
||||
#define __RISCV_SETUP_H |
||||
|
||||
#define COMMAND_LINE_SIZE 256 |
||||
|
||||
/* The list ends with an ATAG_NONE node. */ |
||||
#define ATAG_NONE 0x00000000 |
||||
|
||||
struct tag_header { |
||||
u32 size; |
||||
u32 tag; |
||||
}; |
||||
|
||||
/* The list must start with an ATAG_CORE node */ |
||||
#define ATAG_CORE 0x54410001 |
||||
|
||||
struct tag_core { |
||||
u32 flags; /* bit 0 = read-only */ |
||||
u32 pagesize; |
||||
u32 rootdev; |
||||
}; |
||||
|
||||
/* it is allowed to have multiple ATAG_MEM nodes */ |
||||
#define ATAG_MEM 0x54410002 |
||||
|
||||
struct tag_mem32 { |
||||
u32 size; |
||||
u32 start; /* physical start address */ |
||||
}; |
||||
|
||||
/* VGA text type displays */ |
||||
#define ATAG_VIDEOTEXT 0x54410003 |
||||
|
||||
struct tag_videotext { |
||||
u8 x; |
||||
u8 y; |
||||
u16 video_page; |
||||
u8 video_mode; |
||||
u8 video_cols; |
||||
u16 video_ega_bx; |
||||
u8 video_lines; |
||||
u8 video_isvga; |
||||
u16 video_points; |
||||
}; |
||||
|
||||
/* describes how the ramdisk will be used in kernel */ |
||||
#define ATAG_RAMDISK 0x54410004 |
||||
|
||||
struct tag_ramdisk { |
||||
u32 flags; /* bit 0 = load, bit 1 = prompt */ |
||||
u32 size; /* decompressed ramdisk size in _kilo_ bytes */ |
||||
u32 start; /* starting block of floppy-based RAM disk image */ |
||||
}; |
||||
|
||||
/*
|
||||
* this one accidentally used virtual addresses - as such, |
||||
* it's deprecated. |
||||
* describes where the compressed ramdisk image lives (virtual address) |
||||
*/ |
||||
#define ATAG_INITRD 0x54410005 |
||||
|
||||
/* describes where the compressed ramdisk image lives (physical address) */ |
||||
#define ATAG_INITRD2 0x54420005 |
||||
|
||||
struct tag_initrd { |
||||
u32 start; /* physical start address */ |
||||
u32 size; /* size of compressed ramdisk image in bytes */ |
||||
}; |
||||
|
||||
/* board serial number. "64 bits should be enough for everybody" */ |
||||
#define ATAG_SERIAL 0x54410006 |
||||
|
||||
struct tag_serialnr { |
||||
u32 low; |
||||
u32 high; |
||||
}; |
||||
|
||||
/* board revision */ |
||||
#define ATAG_REVISION 0x54410007 |
||||
|
||||
struct tag_revision { |
||||
u32 rev; |
||||
}; |
||||
|
||||
/* initial values for vesafb-type framebuffers. see struct screen_info
|
||||
* in include/linux/tty.h |
||||
*/ |
||||
#define ATAG_VIDEOLFB 0x54410008 |
||||
|
||||
struct tag_videolfb { |
||||
u16 lfb_width; |
||||
u16 lfb_height; |
||||
u16 lfb_depth; |
||||
u16 lfb_linelength; |
||||
u32 lfb_base; |
||||
u32 lfb_size; |
||||
u8 red_size; |
||||
u8 red_pos; |
||||
u8 green_size; |
||||
u8 green_pos; |
||||
u8 blue_size; |
||||
u8 blue_pos; |
||||
u8 rsvd_size; |
||||
u8 rsvd_pos; |
||||
}; |
||||
|
||||
/* command line: \0 terminated string */ |
||||
#define ATAG_CMDLINE 0x54410009 |
||||
|
||||
struct tag_cmdline { |
||||
char cmdline[COMMAND_LINE_SIZE]; |
||||
}; |
||||
|
||||
struct tag { |
||||
struct tag_header hdr; |
||||
union { |
||||
struct tag_core core; |
||||
struct tag_mem32 mem; |
||||
struct tag_videotext videotext; |
||||
struct tag_ramdisk ramdisk; |
||||
struct tag_initrd initrd; |
||||
struct tag_serialnr serialnr; |
||||
struct tag_revision revision; |
||||
struct tag_videolfb videolfb; |
||||
struct tag_cmdline cmdline; |
||||
} u; |
||||
}; |
||||
|
||||
struct tagtable { |
||||
u32 tag; |
||||
int (*parse)(const struct tag *); |
||||
}; |
||||
|
||||
#define tag_member_present(_tag, member) \ |
||||
typeof(_tag) (tag) = (_tag); \
|
||||
((unsigned long)(&((struct tag *)0L)->member + 1) \
|
||||
<= (tag)->hdr.size * 4) |
||||
|
||||
#define tag_next(_t) \ |
||||
typeof(_t) (t) = (_t); \
|
||||
((struct tag *)((u32 *)(t) + (t)->hdr.size)) |
||||
#define tag_size(type) ((sizeof(struct tag_header) + sizeof(struct type)) >> 2) |
||||
|
||||
#define for_each_tag(_t, base) \ |
||||
typeof(_t) (t) = (_t); \
|
||||
for (t = base; t->hdr.size; t = tag_next(t)) |
||||
|
||||
#ifdef __KERNEL__ |
||||
|
||||
#define __tag __used __attribute__((__section__(".taglist"))) |
||||
#define __tagtable(tag, fn) \ |
||||
static struct tagtable __tagtable_##fn __tag = { tag, fn } |
||||
|
||||
/*
|
||||
* Memory map description |
||||
*/ |
||||
#define NR_BANKS 8 |
||||
|
||||
struct meminfo { |
||||
int nr_banks; |
||||
struct { |
||||
unsigned long start; |
||||
unsigned long size; |
||||
int node; |
||||
} bank[NR_BANKS]; |
||||
}; |
||||
|
||||
/*
|
||||
* Early command line parameters. |
||||
*/ |
||||
struct early_params { |
||||
const char *arg; |
||||
void (*fn)(char **p); |
||||
}; |
||||
|
||||
#define __early_param(name, fn) \ |
||||
static struct early_params __early_##fn __used \
|
||||
__attribute__((__section__("__early_param"))) = { name, fn } |
||||
|
||||
#endif |
||||
#endif |
@ -0,0 +1,17 @@ |
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> |
||||
*/ |
||||
|
||||
#include <common.h> |
||||
#include <command.h> |
||||
|
||||
int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) |
||||
{ |
||||
printf("resetting ...\n"); |
||||
|
||||
printf("reset not supported yet\n"); |
||||
hang(); |
||||
|
||||
return 0; |
||||
} |
@ -0,0 +1,22 @@ |
||||
if TARGET_QEMU_VIRT |
||||
|
||||
config SYS_BOARD |
||||
default "qemu-riscv" |
||||
|
||||
config SYS_VENDOR |
||||
default "emulation" |
||||
|
||||
config SYS_CPU |
||||
default "qemu" |
||||
|
||||
config SYS_CONFIG_NAME |
||||
default "qemu-riscv" |
||||
|
||||
config SYS_TEXT_BASE |
||||
default 0x80000000 |
||||
|
||||
config BOARD_SPECIFIC_OPTIONS # dummy |
||||
def_bool y |
||||
imply SYS_NS16550 |
||||
|
||||
endif |
@ -0,0 +1,7 @@ |
||||
QEMU RISC-V 'VIRT' BOARD |
||||
M: Bin Meng <bmeng.cn@gmail.com> |
||||
S: Maintained |
||||
F: board/emulation/qemu-riscv/ |
||||
F: include/configs/qemu-riscv.h |
||||
F: configs/qemu-riscv32_defconfig |
||||
F: configs/qemu-riscv64_defconfig |
@ -0,0 +1,5 @@ |
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
||||
|
||||
obj-y += qemu-riscv.o
|
@ -0,0 +1,23 @@ |
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> |
||||
*/ |
||||
|
||||
#include <common.h> |
||||
#include <fdtdec.h> |
||||
|
||||
#define MROM_FDT_ADDR 0x1020 |
||||
|
||||
int board_init(void) |
||||
{ |
||||
return 0; |
||||
} |
||||
|
||||
void *board_fdt_blob_setup(void) |
||||
{ |
||||
/*
|
||||
* QEMU loads a generated DTB for us immediately |
||||
* after the reset vectors in the MROM |
||||
*/ |
||||
return (void *)MROM_FDT_ADDR; |
||||
} |
@ -0,0 +1,6 @@ |
||||
CONFIG_RISCV=y |
||||
CONFIG_TARGET_QEMU_VIRT=y |
||||
CONFIG_NR_DRAM_BANKS=1 |
||||
CONFIG_DISPLAY_CPUINFO=y |
||||
CONFIG_DISPLAY_BOARDINFO=y |
||||
CONFIG_OF_BOARD=y |
@ -0,0 +1,7 @@ |
||||
CONFIG_RISCV=y |
||||
CONFIG_TARGET_QEMU_VIRT=y |
||||
CONFIG_CPU_RISCV_64=y |
||||
CONFIG_NR_DRAM_BANKS=1 |
||||
CONFIG_DISPLAY_CPUINFO=y |
||||
CONFIG_DISPLAY_BOARDINFO=y |
||||
CONFIG_OF_BOARD=y |
@ -0,0 +1,46 @@ |
||||
# SPDX-License-Identifier: GPL-2.0+ |
||||
# |
||||
# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> |
||||
|
||||
U-Boot on QEMU's 'virt' machine on RISC-V |
||||
========================================= |
||||
|
||||
QEMU for RISC-V supports a special 'virt' machine designed for emulation and |
||||
virtualization purposes. This document describes how to run U-Boot under it. |
||||
Both 32-bit 64-bit targets are supported. |
||||
|
||||
The QEMU virt machine models a generic RISC-V virtual machine with support for |
||||
the VirtIO standard networking and block storage devices. It has CLINT, PLIC, |
||||
16550A UART devices in addition to VirtIO and it also uses device-tree to pass |
||||
configuration information to guest software. It implements RISC-V privileged |
||||
architecture spec v1.10. |
||||
|
||||
Building U-Boot |
||||
--------------- |
||||
Set the CROSS_COMPILE environment variable as usual, and run: |
||||
|
||||
- For 32-bit RISC-V: |
||||
make qemu-riscv32_defconfig |
||||
make |
||||
|
||||
- For 64-bit RISC-V: |
||||
make qemu-riscv64_defconfig |
||||
make |
||||
|
||||
Running U-Boot |
||||
-------------- |
||||
The minimal QEMU command line to get U-Boot up and running is: |
||||
|
||||
- For 32-bit RISC-V: |
||||
qemu-system-riscv32 -nographic -machine virt -kernel u-boot |
||||
|
||||
- For 64-bit RISC-V: |
||||
qemu-system-riscv64 -nographic -machine virt -kernel u-boot |
||||
|
||||
The commands above create targets with 128MiB memory by default. |
||||
A freely configurable amount of RAM can be created via the '-m' |
||||
parameter. For example, '-m 2G' creates 2GiB memory for the target, |
||||
and the memory node in the embedded DTB created by QEMU reflects |
||||
the new setting. |
||||
|
||||
These have been tested in QEMU 3.0.0. |
@ -0,0 +1,21 @@ |
||||
/* SPDX-License-Identifier: GPL-2.0+ */ |
||||
/*
|
||||
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> |
||||
*/ |
||||
|
||||
#ifndef __CONFIG_H |
||||
#define __CONFIG_H |
||||
|
||||
#include <linux/sizes.h> |
||||
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x80000000 |
||||
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M) |
||||
|
||||
#define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_2M) |
||||
|
||||
#define CONFIG_SYS_MALLOC_LEN SZ_8M |
||||
|
||||
/* Environment options */ |
||||
#define CONFIG_ENV_SIZE SZ_4K |
||||
|
||||
#endif /* __CONFIG_H */ |
Loading…
Reference in new issue