]> Git Repo - J-u-boot.git/blame - include/configs/el6x_common.h
i2c: Convert CONFIG_POWER_I2C et al to Kconfig
[J-u-boot.git] / include / configs / el6x_common.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
8be4f40e
SB
2/*
3 * Copyright (C) Stefano Babic <[email protected]>
4 *
5 * Configuration settings for the E+L i.MX6Q DO82 board.
8be4f40e
SB
6 */
7
8#ifndef __EL6Q_COMMON_CONFIG_H
9#define __EL6Q_COMMON_CONFIG_H
10
1af3c7f4
SG
11#include <linux/stringify.h>
12
8be4f40e
SB
13#define CONFIG_BOARD_NAME EL6Q
14
8be4f40e
SB
15#include "mx6_common.h"
16
8be4f40e 17#ifdef CONFIG_SPL
8be4f40e
SB
18#include "imx6_spl.h"
19#endif
20
21/* MMC Configs */
22#define CONFIG_SYS_FSL_ESDHC_ADDR 0
23#define CONFIG_SYS_FSL_USDHC_NUM 2
24
8be4f40e 25/* PMIC */
8be4f40e
SB
26#define CONFIG_POWER_PFUZE100
27#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
28
29/* Commands */
8be4f40e 30
8be4f40e 31#define CONFIG_MXC_UART_BASE UART2_BASE
8be4f40e 32
8be4f40e
SB
33#define CONFIG_BOARD_NAME EL6Q
34
8be4f40e
SB
35#define CONFIG_EXTRA_ENV_SETTINGS \
36 "board="__stringify(CONFIG_BOARD_NAME)"\0" \
37 "cma_size="__stringify(EL6Q_CMA_SIZE)"\0" \
38 "chp_size="__stringify(EL6Q_COHERENT_POOL_SIZE)"\0" \
12ca05a3 39 "console=" CONSOLE_DEV "\0" \
8be4f40e
SB
40 "fdtfile=undefined\0" \
41 "fdt_high=0xffffffff\0" \
42 "fdt_addr_r=0x18000000\0" \
43 "fdt_addr=0x18000000\0" \
44 "findfdt=setenv fdtfile " CONFIG_DEFAULT_FDT_FILE "\0" \
72d81360
TR
45 "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
46 "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
47 "pxefile_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \
8be4f40e
SB
48 BOOTENV
49
50#define BOOT_TARGET_DEVICES(func) \
51 func(MMC, mmc, 0) \
52 func(MMC, mmc, 1) \
53 func(PXE, PXE, na) \
54 func(DHCP, dhcp, na)
55
8be4f40e
SB
56#include <config_distro_bootcmd.h>
57
58#define CONFIG_ARP_TIMEOUT 200UL
59
8be4f40e 60/* Physical Memory Map */
8be4f40e
SB
61#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
62
63#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
64#define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
65#define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
66
67#define CONFIG_SYS_INIT_SP_OFFSET \
68 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
69#define CONFIG_SYS_INIT_SP_ADDR \
70 (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
71
e856bdcf 72/* environment organization */
8be4f40e 73
8be4f40e 74#endif /* __EL6Q_COMMON_CONFIG_H */
This page took 0.390022 seconds and 4 git commands to generate.