Merge tag 'u-boot-imx-20200716' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
i.MX for 2020.10 ---------------- - i.MX DDR driver fix/update for i.MX8M - i.MX pinctrl driver fix. - Use arm_smccc_smc to remove imx sip function - i.MX8M clk update - support booting aarch32 kernel on aarch64 hardware - fused part support for i.MX8MP - imx6: pcm058 to DM Travis: https://travis-ci.org/github/sbabic/u-boot-imx/builds/708734785
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <linux/stringify.h>
|
||||
#include <asm/arch/imx-regs.h>
|
||||
|
||||
#define CONFIG_SYS_BOOTM_LEN (32 * SZ_1M)
|
||||
#define CONFIG_SPL_MAX_SIZE (148 * 1024)
|
||||
#define CONFIG_SYS_MONITOR_LEN SZ_512K
|
||||
#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright (C) Stefano Babic <sbabic@denx.de>
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __PCM058_CONFIG_H
|
||||
#define __PCM058_CONFIG_H
|
||||
|
||||
@@ -13,48 +12,13 @@
|
||||
|
||||
#include "mx6_common.h"
|
||||
|
||||
/* Thermal */
|
||||
#define CONFIG_IMX_THERMAL
|
||||
|
||||
/* Serial */
|
||||
#define CONFIG_MXC_UART
|
||||
#define CONFIG_MXC_UART_BASE UART2_BASE
|
||||
#define CONSOLE_DEV "ttymxc1"
|
||||
|
||||
#define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024)
|
||||
|
||||
/* Early setup */
|
||||
|
||||
|
||||
/* Size of malloc() pool */
|
||||
#define CONFIG_SYS_MALLOC_LEN (8 * SZ_1M)
|
||||
|
||||
/* Ethernet */
|
||||
#define CONFIG_FEC_MXC
|
||||
#define IMX_FEC_BASE ENET_BASE_ADDR
|
||||
#define CONFIG_FEC_XCV_TYPE RGMII
|
||||
#define CONFIG_ETHPRIME "FEC"
|
||||
#define CONFIG_FEC_MXC_PHYADDR 3
|
||||
|
||||
/* SPI Flash */
|
||||
|
||||
/* I2C Configs */
|
||||
#define CONFIG_SYS_I2C
|
||||
#define CONFIG_SYS_I2C_MXC
|
||||
#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 2 */
|
||||
#define CONFIG_SYS_I2C_SPEED 100000
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
/* Enable NAND support */
|
||||
#define CONFIG_SYS_MAX_NAND_DEVICE 1
|
||||
#define CONFIG_SYS_NAND_BASE 0x40000000
|
||||
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
|
||||
#define CONFIG_SYS_NAND_ONFI_DETECTION
|
||||
#endif
|
||||
|
||||
/* DMA stuff, needed for GPMI/MXS NAND support */
|
||||
|
||||
/* Filesystem support */
|
||||
|
||||
/* Physical Memory Map */
|
||||
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
|
||||
@@ -68,10 +32,33 @@
|
||||
#define CONFIG_SYS_INIT_SP_ADDR \
|
||||
(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
|
||||
|
||||
/* MMC Configs */
|
||||
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
|
||||
#define CONFIG_SYS_FSL_USDHC_NUM 1
|
||||
|
||||
/* Environment organization */
|
||||
#define ENV_MMC \
|
||||
"mmcdev=0\0" \
|
||||
"mmcpart=2\0" \
|
||||
"fitpart=1\0" \
|
||||
"mmcrootfstype=ext4\0" \
|
||||
"fitname=fitImage\0" \
|
||||
"mmcloadfit=load mmc ${mmcdev}:${fitpart} ${loadaddr} ${fitname}\0" \
|
||||
"mmcargs=setenv bootargs root=/dev/mmcblk${mmcdev}p${mmcpart} " \
|
||||
"rootfstype=${mmcrootfstype} ${optargs}\0" \
|
||||
"mmcboot=run mmcloadfit;run mmcargs;bootm ${loadaddr}\0"
|
||||
|
||||
#define ENV_NAND \
|
||||
"mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
|
||||
"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
|
||||
"nandroot=ubi0:root ubi.mtd=rootfs\0" \
|
||||
"nandrootfstype=ubifs\0" \
|
||||
"nandargs=setenv bootargs root=${nandroot} " \
|
||||
"rootfstype=${nandrootfstype} ${mtdparts} ${optargs}\0" \
|
||||
"nandloadfit=ubi part rootfs;ubi readvol ${loadaddr} fit\0" \
|
||||
"nandboot=run nandloadfit;run nandargs;bootm ${loadaddr}\0"
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"bootm_size=0x30000000\0" \
|
||||
"optargs=rw rootwait\0" \
|
||||
ENV_MMC \
|
||||
ENV_NAND
|
||||
|
||||
#define CONFIG_BOOTCOMMAND "run mmcboot;run nandboot"
|
||||
#endif
|
||||
|
||||
16
include/dt-bindings/regulator/dlg,da9063-regulator.h
Normal file
16
include/dt-bindings/regulator/dlg,da9063-regulator.h
Normal file
@@ -0,0 +1,16 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
|
||||
#ifndef _DT_BINDINGS_REGULATOR_DLG_DA9063_H
|
||||
#define _DT_BINDINGS_REGULATOR_DLG_DA9063_H
|
||||
|
||||
/*
|
||||
* These buck mode constants may be used to specify values in device tree
|
||||
* properties (e.g. regulator-initial-mode).
|
||||
* A description of the following modes is in the manufacturers datasheet.
|
||||
*/
|
||||
|
||||
#define DA9063_BUCK_MODE_SLEEP 1
|
||||
#define DA9063_BUCK_MODE_SYNC 2
|
||||
#define DA9063_BUCK_MODE_AUTO 3
|
||||
|
||||
#endif
|
||||
@@ -54,7 +54,6 @@ enum {
|
||||
PCA9450_REG_NUM,
|
||||
};
|
||||
|
||||
int power_pca9450a_init(unsigned char bus);
|
||||
int power_pca9450b_init(unsigned char bus);
|
||||
int power_pca9450_init(unsigned char bus);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user