mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge branch 'master' of git://www.denx.de/git/u-boot-imx
This commit is contained in:
@@ -54,6 +54,11 @@
|
||||
#define CONFIG_SYS_MAX_NAND_DEVICE 1
|
||||
#define CONFIG_SYS_NAND_BASE NFC_BASE_ADDR
|
||||
|
||||
/* GPIO support */
|
||||
#define CONFIG_DM_GPIO
|
||||
#define CONFIG_CMD_GPIO
|
||||
#define CONFIG_VYBRID_GPIO
|
||||
|
||||
/* Dynamic MTD partition support */
|
||||
#define CONFIG_CMD_MTDPARTS /* Enable 'mtdparts' command line support */
|
||||
#define CONFIG_MTD_PARTITIONS
|
||||
@@ -266,4 +271,11 @@
|
||||
#define CONFIG_USB_GADGET_MASS_STORAGE
|
||||
#define CONFIG_CMD_USB_MASS_STORAGE
|
||||
|
||||
/* Enable SPI support */
|
||||
#ifdef CONFIG_OF_CONTROL
|
||||
#define CONFIG_DM_SPI
|
||||
#define CONFIG_CMD_SPI
|
||||
#define CONFIG_FSL_DSPI
|
||||
#endif
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
@@ -53,11 +53,19 @@
|
||||
#define CONFIG_REVISION_TAG
|
||||
|
||||
/* Boot options */
|
||||
#if (defined(CONFIG_MX6SX) || defined(CONFIG_MX6SL))
|
||||
#define CONFIG_LOADADDR 0x82000000
|
||||
#ifndef CONFIG_SYS_TEXT_BASE
|
||||
#define CONFIG_SYS_TEXT_BASE 0x87800000
|
||||
#endif
|
||||
#else
|
||||
#define CONFIG_LOADADDR 0x12000000
|
||||
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
|
||||
#ifndef CONFIG_SYS_TEXT_BASE
|
||||
#define CONFIG_SYS_TEXT_BASE 0x17800000
|
||||
#endif
|
||||
#endif
|
||||
#define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
|
||||
|
||||
#ifndef CONFIG_BOOTDELAY
|
||||
#define CONFIG_BOOTDELAY 3
|
||||
#endif
|
||||
|
||||
@@ -22,6 +22,13 @@
|
||||
|
||||
/* #endif */
|
||||
|
||||
/* place code in last 4 MiB of RAM */
|
||||
#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
|
||||
#define CONFIG_SYS_TEXT_BASE 0x2fc00000
|
||||
#elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6D)
|
||||
#define CONFIG_SYS_TEXT_BASE 0x4fc00000
|
||||
#endif
|
||||
|
||||
#include "mx6_common.h"
|
||||
|
||||
#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
|
||||
@@ -116,13 +123,6 @@
|
||||
#define CONFIG_CMD_BMODE
|
||||
#define CONFIG_CMD_ITEST
|
||||
|
||||
/* place code in last 4 MiB of RAM */
|
||||
#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
|
||||
#define CONFIG_SYS_TEXT_BASE 0x2fc00000
|
||||
#elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6D)
|
||||
#define CONFIG_SYS_TEXT_BASE 0x4fc00000
|
||||
#endif
|
||||
|
||||
#define CONFIG_ENV_SIZE (SZ_8K)
|
||||
/* Size of malloc() pool */
|
||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * SZ_1M)
|
||||
@@ -367,10 +367,6 @@
|
||||
"panicboot=echo No boot device !!! reset\0" \
|
||||
TQMA6_EXTRA_BOOTDEV_ENV_SETTINGS \
|
||||
|
||||
/* Print Buffer Size */
|
||||
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
|
||||
sizeof(CONFIG_SYS_PROMPT) + 16)
|
||||
|
||||
#define CONFIG_STACKSIZE (128u * SZ_1K)
|
||||
|
||||
/* Physical Memory Map */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2013, 2014 Markus Niebel <Markus.Niebel@tq-group.com>
|
||||
* Copyright (C) 2013 - 2015 Markus Niebel <Markus.Niebel@tq-group.com>
|
||||
*
|
||||
* Configuration settings for the TQ Systems TQMa6<Q,S> module.
|
||||
*
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#if defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
|
||||
#define CONFIG_DEFAULT_FDT_FILE "imx6dl-mba6x.dtb"
|
||||
#elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6Q)
|
||||
#elif defined(CONFIG_MX6Q) || defined(CONFIG_MX6D)
|
||||
#define CONFIG_DEFAULT_FDT_FILE "imx6q-mba6x.dtb"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -192,10 +192,14 @@
|
||||
"bootz; " \
|
||||
"fi;\0" \
|
||||
"findfdt="\
|
||||
"if test $board_rev = MX6Q ; then " \
|
||||
"if test $board_name = C1 && test $board_rev = MX6Q ; then " \
|
||||
"setenv fdtfile imx6q-wandboard.dtb; fi; " \
|
||||
"if test $board_rev = MX6DL ; then " \
|
||||
"if test $board_name = C1 && test $board_rev = MX6DL ; then " \
|
||||
"setenv fdtfile imx6dl-wandboard.dtb; fi; " \
|
||||
"if test $board_name = B1 && test $board_rev = MX6Q ; then " \
|
||||
"setenv fdtfile imx6q-wandboard-revb1.dtb; fi; " \
|
||||
"if test $board_name = B1 && test $board_rev = MX6DL ; then " \
|
||||
"setenv fdtfile imx6dl-wandboard-revb1.dtb; fi; " \
|
||||
"if test $fdtfile = undefined; then " \
|
||||
"echo WARNING: Could not determine dtb to use; fi; \0" \
|
||||
|
||||
|
||||
@@ -25,9 +25,10 @@
|
||||
#define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR
|
||||
|
||||
/* MMC Configs */
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
|
||||
#define CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT
|
||||
#define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
|
||||
#define CONFIG_SUPPORT_EMMC_BOOT
|
||||
|
||||
/* Command definition */
|
||||
#undef CONFIG_CMD_NFS
|
||||
@@ -93,9 +94,13 @@
|
||||
#define CONFIG_CMD_DFU
|
||||
#define CONFIG_DFU_FUNCTION
|
||||
#define CONFIG_DFU_MMC
|
||||
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
|
||||
#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
|
||||
#define DFU_DEFAULT_POLL_TIMEOUT 300
|
||||
|
||||
/* Fuses */
|
||||
#define CONFIG_CMD_FUSE
|
||||
#define CONFIG_MXC_OCOTP
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"script=boot.scr\0" \
|
||||
"image=zImage\0" \
|
||||
|
||||
Reference in New Issue
Block a user