Merge git://git.denx.de/u-boot-dm
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
"fdtfile=exynos5250-arndale.dtb\0"
|
||||
|
||||
#include "exynos5250-common.h"
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
/* SD/MMC configuration */
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
@@ -20,15 +21,6 @@
|
||||
/* allow to overwrite serial and ethaddr */
|
||||
#define CONFIG_ENV_OVERWRITE
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_EHCI
|
||||
#define CONFIG_USB_EHCI_EXYNOS
|
||||
|
||||
#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
|
||||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
#define CONFIG_USB_ETHER_ASIX88179
|
||||
|
||||
/* MMC SPL */
|
||||
#define CONFIG_EXYNOS_SPL
|
||||
|
||||
@@ -36,9 +28,6 @@
|
||||
#define CONFIG_SYS_PROMPT "ARNDALE # "
|
||||
#define CONFIG_DEFAULT_CONSOLE "console=ttySAC2,115200n8\0"
|
||||
|
||||
#define CONFIG_NR_DRAM_BANKS 8
|
||||
#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
|
||||
|
||||
#define CONFIG_IDENT_STRING " for ARNDALE"
|
||||
|
||||
#define CONFIG_ENV_IS_IN_MMC
|
||||
@@ -49,6 +38,7 @@
|
||||
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
|
||||
|
||||
/* PMIC */
|
||||
#define CONFIG_POWER
|
||||
#define CONFIG_PMIC
|
||||
#define CONFIG_POWER_I2C
|
||||
|
||||
@@ -60,4 +50,8 @@
|
||||
/* The PERIPHBASE in the CBAR register is wrong on the Arndale, so override it */
|
||||
#define CONFIG_ARM_GIC_BASE_ADDRESS 0x10480000
|
||||
|
||||
/* Power */
|
||||
#define CONFIG_POWER
|
||||
#define CONFIG_POWER_I2C
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
@@ -67,6 +67,8 @@
|
||||
|
||||
#define CONFIG_SPL_LIBCOMMON_SUPPORT
|
||||
#define CONFIG_SPL_GPIO_SUPPORT
|
||||
#define CONFIG_SPL_SERIAL_SUPPORT
|
||||
#define CONFIG_SPL_LIBGENERIC_SUPPORT
|
||||
|
||||
/* specific .lds file */
|
||||
#define CONFIG_SPL_LDSCRIPT "board/samsung/common/exynos-uboot-spl.lds"
|
||||
@@ -126,10 +128,6 @@
|
||||
#define SPI_FLASH_UBOOT_POS (CONFIG_SEC_FW_SIZE + CONFIG_BL1_SIZE)
|
||||
|
||||
/* I2C */
|
||||
|
||||
/* TODO(sjg@chromium.org): Move these two options to Kconfig */
|
||||
#define CONFIG_DM_I2C
|
||||
#define CONFIG_DM_I2C_COMPAT
|
||||
#define CONFIG_CMD_I2C
|
||||
#define CONFIG_SYS_I2C_S3C24X0
|
||||
#define CONFIG_SYS_I2C_S3C24X0_SPEED 100000 /* 100 Kbps */
|
||||
@@ -145,14 +143,8 @@
|
||||
#define CONFIG_SPI_FLASH_GIGADEVICE
|
||||
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
|
||||
#define CONFIG_SF_DEFAULT_SPEED 50000000
|
||||
#define EXYNOS5_SPI_NUM_CONTROLLERS 5
|
||||
#define CONFIG_OF_SPI
|
||||
#endif
|
||||
|
||||
/* Power */
|
||||
#define CONFIG_POWER
|
||||
#define CONFIG_POWER_I2C
|
||||
|
||||
#ifdef CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_ENV_SPI_MODE SPI_MODE_0
|
||||
#define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
|
||||
@@ -200,7 +192,6 @@
|
||||
#define CONFIG_FIT
|
||||
#define CONFIG_FIT_BEST_MATCH
|
||||
|
||||
|
||||
#define BOOT_TARGET_DEVICES(func) \
|
||||
func(MMC, mmc, 1) \
|
||||
func(MMC, mmc, 0) \
|
||||
|
||||
@@ -16,12 +16,23 @@
|
||||
"stdout=serial,lcd\0" \
|
||||
"stderr=serial,lcd\0"
|
||||
|
||||
#include "exynos5-common.h"
|
||||
#define CONFIG_EXYNOS5_DT
|
||||
|
||||
/* PMIC */
|
||||
#define CONFIG_POWER
|
||||
#define CONFIG_POWER_I2C
|
||||
#define CONFIG_POWER_TPS65090
|
||||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_ENV_SPI_BASE 0x12D30000
|
||||
#define FLASH_SIZE (4 << 20)
|
||||
#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_ENV_SECT_SIZE)
|
||||
#define CONFIG_SPI_BOOTING
|
||||
|
||||
#define CONFIG_BOARD_COMMON
|
||||
|
||||
/* Display */
|
||||
#define CONFIG_LCD
|
||||
#ifdef CONFIG_LCD
|
||||
#define CONFIG_EXYNOS_FB
|
||||
#define CONFIG_EXYNOS_DP
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#endif
|
||||
|
||||
/* Enable keyboard */
|
||||
#define CONFIG_KEYBOARD
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#ifndef __CONFIG_5250_H
|
||||
#define __CONFIG_5250_H
|
||||
|
||||
#include <configs/exynos5-common.h>
|
||||
#define CONFIG_EXYNOS5250
|
||||
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x40000000
|
||||
@@ -28,16 +27,13 @@
|
||||
|
||||
#define CONFIG_SYS_INIT_SP_ADDR CONFIG_IRAM_STACK
|
||||
|
||||
/* I2C */
|
||||
#define CONFIG_MAX_I2C_NUM 8
|
||||
/* USB */
|
||||
#define CONFIG_USB_EHCI
|
||||
#define CONFIG_USB_EHCI_EXYNOS
|
||||
|
||||
/* Display */
|
||||
#define CONFIG_LCD
|
||||
#ifdef CONFIG_LCD
|
||||
#define CONFIG_EXYNOS_FB
|
||||
#define CONFIG_EXYNOS_DP
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#endif
|
||||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
#define CONFIG_USB_ETHER_ASIX88179
|
||||
|
||||
/* DRAM Memory Banks */
|
||||
#define CONFIG_NR_DRAM_BANKS 8
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
/* A variant of Exynos5420 (Exynos5 Family) */
|
||||
#define CONFIG_EXYNOS5800
|
||||
|
||||
#include <configs/exynos5-common.h>
|
||||
#define CONFIG_EXYNOS5_DT
|
||||
|
||||
#define MACH_TYPE_SMDK5420 8002
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_SMDK5420
|
||||
@@ -32,10 +32,6 @@
|
||||
#define CONFIG_DEVICE_TREE_LIST "exynos5800-peach-pi" \
|
||||
"exynos5420-peach-pit exynos5420-smdk5420"
|
||||
|
||||
#define CONFIG_MAX_I2C_NUM 11
|
||||
|
||||
#define CONFIG_BOARD_REV_GPIO_COUNT 2
|
||||
|
||||
#define CONFIG_PHY_IRAM_BASE 0x02020000
|
||||
|
||||
/* Address for relocating helper code (Last 4 KB of IRAM) */
|
||||
@@ -52,4 +48,7 @@
|
||||
*/
|
||||
#define CONFIG_CORE_COUNT 0x8
|
||||
|
||||
#define CONFIG_USB_XHCI
|
||||
#define CONFIG_USB_XHCI_EXYNOS
|
||||
|
||||
#endif /* __CONFIG_EXYNOS5420_H */
|
||||
|
||||
@@ -9,7 +9,9 @@
|
||||
#define __CONFIG_ODROID_XU3_H
|
||||
|
||||
#include "exynos5420-common.h"
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
#undef CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_SYS_PROMPT "ODROID-XU3 # "
|
||||
#define CONFIG_IDENT_STRING " for ODROID-XU3"
|
||||
|
||||
|
||||
@@ -9,12 +9,6 @@
|
||||
#ifndef __CONFIG_PEACH_PI_H
|
||||
#define __CONFIG_PEACH_PI_H
|
||||
|
||||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_ENV_SPI_BASE 0x12D30000
|
||||
#define FLASH_SIZE (0x4 << 20)
|
||||
#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_BL2_SIZE)
|
||||
#define CONFIG_SPI_BOOTING
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
"bootm_size=0x10000000\0" \
|
||||
"kernel_addr_r=0x22000000\0" \
|
||||
@@ -25,8 +19,7 @@
|
||||
|
||||
#include <configs/exynos5420-common.h>
|
||||
#include <configs/exynos5-dt-common.h>
|
||||
|
||||
#define CONFIG_BOARD_COMMON
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x20000000
|
||||
#define CONFIG_SYS_TEXT_BASE 0x23E00000
|
||||
@@ -39,8 +32,6 @@
|
||||
#define CONFIG_SYS_PROMPT "Peach-Pi # "
|
||||
#define CONFIG_IDENT_STRING " for Peach-Pi"
|
||||
|
||||
#define CONFIG_VIDEO_PARADE
|
||||
|
||||
/* Display */
|
||||
#define CONFIG_LCD
|
||||
#ifdef CONFIG_LCD
|
||||
@@ -51,9 +42,6 @@
|
||||
|
||||
#define CONFIG_POWER_TPS65090_EC
|
||||
|
||||
#define CONFIG_USB_XHCI
|
||||
#define CONFIG_USB_XHCI_EXYNOS
|
||||
|
||||
/* DRAM Memory Banks */
|
||||
#define CONFIG_NR_DRAM_BANKS 7
|
||||
#define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */
|
||||
|
||||
@@ -9,12 +9,6 @@
|
||||
#ifndef __CONFIG_PEACH_PIT_H
|
||||
#define __CONFIG_PEACH_PIT_H
|
||||
|
||||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_ENV_SPI_BASE 0x12D30000
|
||||
#define FLASH_SIZE (0x4 << 20)
|
||||
#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_BL2_SIZE)
|
||||
#define CONFIG_SPI_BOOTING
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
"bootm_size=0x10000000\0" \
|
||||
"kernel_addr_r=0x22000000\0" \
|
||||
@@ -25,8 +19,7 @@
|
||||
|
||||
#include <configs/exynos5420-common.h>
|
||||
#include <configs/exynos5-dt-common.h>
|
||||
|
||||
#define CONFIG_BOARD_COMMON
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
#define CONFIG_SYS_SDRAM_BASE 0x20000000
|
||||
#define CONFIG_SYS_TEXT_BASE 0x23E00000
|
||||
@@ -39,21 +32,6 @@
|
||||
#define CONFIG_SYS_PROMPT "Peach-Pit # "
|
||||
#define CONFIG_IDENT_STRING " for Peach-Pit"
|
||||
|
||||
#define CONFIG_VIDEO_PARADE
|
||||
|
||||
/* Display */
|
||||
#define CONFIG_LCD
|
||||
#ifdef CONFIG_LCD
|
||||
#define CONFIG_EXYNOS_FB
|
||||
#define CONFIG_EXYNOS_DP
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#endif
|
||||
|
||||
#define CONFIG_POWER_TPS65090_EC
|
||||
|
||||
#define CONFIG_USB_XHCI
|
||||
#define CONFIG_USB_XHCI_EXYNOS
|
||||
|
||||
/* DRAM Memory Banks */
|
||||
#define CONFIG_NR_DRAM_BANKS 4
|
||||
#define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */
|
||||
|
||||
@@ -9,26 +9,16 @@
|
||||
#ifndef __CONFIG_SMDK_H
|
||||
#define __CONFIG_SMDK_H
|
||||
|
||||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_ENV_SPI_BASE 0x12D30000
|
||||
#define FLASH_SIZE (0x4 << 20)
|
||||
#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_BL2_SIZE)
|
||||
#define CONFIG_SPI_BOOTING
|
||||
|
||||
#include <configs/exynos5250-common.h>
|
||||
#include <configs/exynos5-dt-common.h>
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
/* PMIC */
|
||||
#define CONFIG_POWER_MAX77686
|
||||
#undef CONFIG_KEYBOARD
|
||||
|
||||
#define CONFIG_BOARD_COMMON
|
||||
|
||||
#define CONFIG_USB_XHCI
|
||||
#define CONFIG_USB_XHCI_EXYNOS
|
||||
|
||||
#define CONFIG_SYS_PROMPT "SMDK5250 # "
|
||||
#define CONFIG_IDENT_STRING " for SMDK5250"
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
|
||||
|
||||
#endif /* __CONFIG_SMDK_H */
|
||||
|
||||
@@ -9,13 +9,11 @@
|
||||
#ifndef __CONFIG_SMDK5420_H
|
||||
#define __CONFIG_SMDK5420_H
|
||||
|
||||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_ENV_SPI_BASE 0x12D30000
|
||||
#define FLASH_SIZE (0x4 << 20)
|
||||
#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_BL2_SIZE)
|
||||
#define CONFIG_SPI_BOOTING
|
||||
|
||||
#include <configs/exynos5420-common.h>
|
||||
#include <configs/exynos5-dt-common.h>
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
#undef CONFIG_KEYBOARD
|
||||
|
||||
#define CONFIG_BOARD_COMMON
|
||||
|
||||
|
||||
@@ -9,25 +9,12 @@
|
||||
#ifndef __CONFIG_SNOW_H
|
||||
#define __CONFIG_SNOW_H
|
||||
|
||||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_ENV_SPI_BASE 0x12D30000
|
||||
#define FLASH_SIZE (0x4 << 20)
|
||||
#define CONFIG_ENV_OFFSET (FLASH_SIZE - CONFIG_BL2_SIZE)
|
||||
#define CONFIG_SPI_BOOTING
|
||||
|
||||
#include <configs/exynos5250-common.h>
|
||||
#include <configs/exynos5-dt-common.h>
|
||||
|
||||
|
||||
#define CONFIG_POWER_TPS65090_I2C
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
#define CONFIG_BOARD_COMMON
|
||||
|
||||
#define CONFIG_USB_XHCI
|
||||
#define CONFIG_USB_EHCI
|
||||
#define CONFIG_USB_XHCI_EXYNOS
|
||||
#define CONFIG_USB_EHCI_EXYNOS
|
||||
|
||||
#define CONFIG_SYS_PROMPT "snow # "
|
||||
#define CONFIG_IDENT_STRING " for snow"
|
||||
#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
|
||||
|
||||
20
include/configs/spring.h
Normal file
20
include/configs/spring.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright (c) 2015 Google, Inc
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_SPRING_H
|
||||
#define __CONFIG_SPRING_H
|
||||
|
||||
#include <configs/exynos5250-common.h>
|
||||
#include <configs/exynos5-dt-common.h>
|
||||
#include <configs/exynos5-common.h>
|
||||
|
||||
#define CONFIG_BOARD_COMMON
|
||||
|
||||
#define CONFIG_SYS_PROMPT "spring # "
|
||||
#define CONFIG_IDENT_STRING " for spring"
|
||||
#define CONFIG_DEFAULT_CONSOLE "console=ttySAC1,115200n8\0"
|
||||
|
||||
#endif /* __CONFIG_SPRING_H */
|
||||
Reference in New Issue
Block a user