Merge tag 'xilinx-for-v2017.03' of git://www.denx.de/git/u-boot-microblaze
Xilinx changes for v2017.03 - ATF handoff - DT syncups - gem: Use wait_for_bit(), add simple clk support - Simple clk driver for ZynqMP - Other small changes
This commit is contained in:
@@ -235,15 +235,13 @@
|
||||
#define CONFIG_BOOTARGS "root=romfs"
|
||||
#define CONFIG_HOSTNAME XILINX_BOARD_NAME
|
||||
#define CONFIG_BOOTCOMMAND "base 0;tftp 11000000 image.img;bootm"
|
||||
#define CONFIG_IPADDR 192.168.0.3
|
||||
#define CONFIG_SERVERIP 192.168.0.5
|
||||
#define CONFIG_GATEWAYIP 192.168.0.1
|
||||
|
||||
/* architecture dependent code */
|
||||
#define CONFIG_SYS_USR_EXCEP /* user exception */
|
||||
|
||||
#define CONFIG_PREBOOT "echo U-BOOT for ${hostname};setenv preboot;echo"
|
||||
|
||||
#ifndef CONFIG_EXTRA_ENV_SETTINGS
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS "unlock=yes\0" \
|
||||
"nor0=flash-0\0"\
|
||||
"mtdparts=mtdparts=flash-0:"\
|
||||
@@ -253,6 +251,7 @@
|
||||
"setenv stdin nc\0" \
|
||||
"serial=setenv stdout serial;"\
|
||||
"setenv stdin serial\0"
|
||||
#endif
|
||||
|
||||
#define CONFIG_CMDLINE_EDITING
|
||||
|
||||
|
||||
@@ -86,6 +86,10 @@
|
||||
# ifndef CONFIG_ZYNQ_SDHCI_MAX_FREQ
|
||||
# define CONFIG_ZYNQ_SDHCI_MAX_FREQ 200000000
|
||||
# endif
|
||||
# define CONFIG_ENV_IS_IN_FAT
|
||||
# define FAT_ENV_DEVICE_AND_PART "0:auto"
|
||||
# define FAT_ENV_FILE "uboot.env"
|
||||
# define FAT_ENV_INTERFACE "mmc"
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_ZYNQ_SDHCI) || defined(CONFIG_ZYNQMP_USB)
|
||||
@@ -123,17 +127,43 @@
|
||||
|
||||
#define DFU_ALT_INFO \
|
||||
DFU_ALT_INFO_RAM
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
# define CONFIG_USB_FUNCTION_FASTBOOT
|
||||
# define CONFIG_CMD_FASTBOOT
|
||||
# define CONFIG_ANDROID_BOOT_IMAGE
|
||||
# define CONFIG_FASTBOOT_BUF_ADDR 0x100000
|
||||
# define CONFIG_FASTBOOT_BUF_SIZE 0x6000000
|
||||
# define CONFIG_FASTBOOT_FLASH
|
||||
# ifdef CONFIG_ZYNQ_SDHCI
|
||||
# define CONFIG_FASTBOOT_FLASH_MMC_DEV 0
|
||||
# endif
|
||||
# define CONFIG_PARTITION_UUIDS
|
||||
# define CONFIG_CMD_GPT
|
||||
|
||||
# define CONFIG_RANDOM_UUID
|
||||
# define PARTS_DEFAULT \
|
||||
"partitions=uuid_disk=${uuid_gpt_disk};" \
|
||||
"name=""boot"",size=16M,uuid=${uuid_gpt_boot};" \
|
||||
"name=""Linux"",size=-M,uuid=${uuid_gpt_Linux}\0"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if !defined(DFU_ALT_INFO)
|
||||
# define DFU_ALT_INFO
|
||||
#endif
|
||||
|
||||
#if !defined(PARTS_DEFAULT)
|
||||
# define PARTS_DEFAULT
|
||||
#endif
|
||||
|
||||
#define CONFIG_BOARD_LATE_INIT
|
||||
|
||||
/* Do not preserve environment */
|
||||
#if !defined(CONFIG_ENV_IS_IN_FAT)
|
||||
#define CONFIG_ENV_IS_NOWHERE 1
|
||||
#define CONFIG_ENV_SIZE 0x1000
|
||||
#endif
|
||||
#define CONFIG_ENV_SIZE 0x8000
|
||||
|
||||
/* Monitor Command Prompt */
|
||||
/* Console I/O Buffer Size */
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
#define CONFIG_ZYNQ_SDHCI0
|
||||
#define CONFIG_ZYNQ_SDHCI1
|
||||
#define CONFIG_AHCI
|
||||
#define CONFIG_ZYNQMP_XHCI_LIST {ZYNQMP_USB0_XHCI_BASEADDR}
|
||||
|
||||
#include <configs/xilinx_zynqmp.h>
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
# define CONFIG_PHY_MARVELL
|
||||
# define CONFIG_PHY_REALTEK
|
||||
# define CONFIG_PHY_XILINX
|
||||
# define CONFIG_BOOTP_SERVERIP
|
||||
# define CONFIG_BOOTP_BOOTPATH
|
||||
# define CONFIG_BOOTP_GATEWAY
|
||||
# define CONFIG_BOOTP_HOSTNAME
|
||||
@@ -247,9 +246,6 @@
|
||||
#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + \
|
||||
sizeof(CONFIG_SYS_PROMPT) + 16)
|
||||
|
||||
/* Physical Memory map */
|
||||
#define CONFIG_SYS_TEXT_BASE 0x4000000
|
||||
|
||||
#ifndef CONFIG_NR_DRAM_BANKS
|
||||
# define CONFIG_NR_DRAM_BANKS 1
|
||||
#endif
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
#include <common.h>
|
||||
#include <console.h>
|
||||
#include <watchdog.h>
|
||||
#include <linux/errno.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
@@ -59,6 +60,7 @@ static inline int wait_for_bit(const char *prefix, const u32 *reg,
|
||||
}
|
||||
|
||||
udelay(1);
|
||||
WATCHDOG_RESET();
|
||||
}
|
||||
|
||||
debug("%s: Timeout (reg=%p mask=%08x wait_set=%i)\n", prefix, reg, mask,
|
||||
|
||||
Reference in New Issue
Block a user