3e46f9d5851f0878527f1ba8662b3fd0ee7658c5
[platform/kernel/u-boot.git] / include / configs / koelsch.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * include/configs/koelsch.h
4  *
5  * Copyright (C) 2013 Renesas Electronics Corporation
6  */
7
8 #ifndef __KOELSCH_H
9 #define __KOELSCH_H
10
11 #include "rcar-gen2-common.h"
12
13 #define STACK_AREA_SIZE                 0x00100000
14 #define LOW_LEVEL_MERAM_STACK \
15                 (SYS_INIT_SP_ADDR + STACK_AREA_SIZE - 4)
16
17 /* MEMORY */
18 #define RCAR_GEN2_SDRAM_BASE            0x40000000
19 #define RCAR_GEN2_SDRAM_SIZE            (2048u * 1024 * 1024)
20 #define RCAR_GEN2_UBOOT_SDRAM_SIZE      (512 * 1024 * 1024)
21
22 /* SH Ether */
23 #define CONFIG_SH_ETHER_USE_PORT        0
24 #define CONFIG_SH_ETHER_PHY_ADDR        0x1
25 #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
26 #define CONFIG_SH_ETHER_CACHE_WRITEBACK
27 #define CONFIG_SH_ETHER_CACHE_INVALIDATE
28 #define CONFIG_SH_ETHER_ALIGNE_SIZE     64
29
30 /* Board Clock */
31
32 #define CONFIG_EXTRA_ENV_SETTINGS       \
33         "bootm_size=0x10000000\0"
34
35 /* SPL support */
36 #define CONFIG_SPL_STACK                0xe6340000
37
38 #endif  /* __KOELSCH_H */