]> git.ipfire.org Git - people/ms/u-boot.git/blob - include/configs/rcar-gen3-common.h
stm32f7: use stm32f7 gpio driver supporting driver model
[people/ms/u-boot.git] / include / configs / rcar-gen3-common.h
1 /*
2 * include/configs/rcar-gen3-common.h
3 * This file is R-Car Gen3 common configuration file.
4 *
5 * Copyright (C) 2015 Renesas Electronics Corporation
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10 #ifndef __RCAR_GEN3_COMMON_H
11 #define __RCAR_GEN3_COMMON_H
12
13 #include <asm/arch/rmobile.h>
14
15 #define CONFIG_CMD_SDRAM
16 #define CONFIG_CMD_FAT
17 #define CONFIG_CMD_EXT2
18 #define CONFIG_CMD_EXT4
19 #define CONFIG_CMD_EXT4_WRITE
20 #define CONFIG_CMD_FDT
21
22 #define CONFIG_REMAKE_ELF
23
24 /* boot option */
25 #define CONFIG_SUPPORT_RAW_INITRD
26
27 /* Support File sytems */
28 #define CONFIG_FAT_WRITE
29 #define CONFIG_SUPPORT_VFAT
30 #define CONFIG_FS_EXT4
31 #define CONFIG_EXT4_WRITE
32
33 #define CONFIG_CMDLINE_TAG
34 #define CONFIG_SETUP_MEMORY_TAGS
35 #define CONFIG_INITRD_TAG
36 #define CONFIG_CMDLINE_EDITING
37 #define CONFIG_OF_LIBFDT
38
39 #undef CONFIG_SHOW_BOOT_PROGRESS
40
41 #define CONFIG_ARCH_CPU_INIT
42
43 #define CONFIG_SH_GPIO_PFC
44
45 /* console */
46
47 #define CONFIG_SYS_LONGHELP
48 #define CONFIG_SYS_CBSIZE 256
49 #define CONFIG_SYS_PBSIZE 256
50 #define CONFIG_SYS_MAXARGS 16
51 #define CONFIG_SYS_BARGSIZE 512
52 #define CONFIG_SYS_BAUDRATE_TABLE { 115200, 38400 }
53
54 /* MEMORY */
55 #define CONFIG_SYS_TEXT_BASE 0x49000000
56 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + 0x7fff0)
57
58 #define CONFIG_SYS_SDRAM_BASE (0x48000000)
59 #define CONFIG_SYS_SDRAM_SIZE (1024u * 1024 * 1024 - 0x08000000)
60 #define CONFIG_SYS_LOAD_ADDR (0x48080000)
61 #define CONFIG_NR_DRAM_BANKS 1
62
63 #define CONFIG_SYS_MONITOR_BASE 0x00000000
64 #define CONFIG_SYS_MONITOR_LEN (256 * 1024)
65 #define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024)
66 #define CONFIG_SYS_BOOTMAPSZ (8 * 1024 * 1024)
67
68 /* ENV setting */
69 #define CONFIG_ENV_OVERWRITE
70 #define CONFIG_ENV_SECT_SIZE (128 * 1024)
71 #define CONFIG_ENV_SIZE (CONFIG_ENV_SECT_SIZE)
72 #define CONFIG_ENV_SIZE_REDUND (CONFIG_ENV_SIZE)
73
74 #define CONFIG_EXTRA_ENV_SETTINGS \
75 "fdt_high=0xffffffffffffffff\0" \
76 "initrd_high=0xffffffffffffffff\0"
77
78 #define CONFIG_BOOTARGS \
79 "console=ttySC0,115200 rw root=/dev/nfs " \
80 "nfsroot=192.168.0.1:/export/rfs ip=192.168.0.20"
81
82 #define CONFIG_BOOTCOMMAND \
83 "tftp 0x48080000 Image; " \
84 "tftp 0x48000000 Image-r8a7795-salvator-x.dtb; " \
85 "booti 0x48080000 - 0x48000000"
86
87 #endif /* __RCAR_GEN3_COMMON_H */