mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
@@ -9,12 +9,6 @@
|
||||
#ifndef __CONFIG_AM625_EVM_H
|
||||
#define __CONFIG_AM625_EVM_H
|
||||
|
||||
#include <config_distro_bootcmd.h>
|
||||
#include <env/ti/mmc.h>
|
||||
|
||||
/* DDR Configuration */
|
||||
#define CFG_SYS_SDRAM_BASE1 0x880000000
|
||||
|
||||
/* Now for the remaining common defines */
|
||||
#include <configs/ti_armv7_common.h>
|
||||
|
||||
|
||||
@@ -11,10 +11,6 @@
|
||||
|
||||
#define CFG_SYS_INIT_SP_OFFSET 0x400000
|
||||
|
||||
/* SPL */
|
||||
|
||||
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
||||
|
||||
/* Dummy value */
|
||||
#define CFG_SYS_UBOOT_BASE 0
|
||||
|
||||
|
||||
@@ -18,10 +18,4 @@
|
||||
#define DMAMEM_BASE (PHYS_SDRAM + PHYS_SDRAM_SIZE - \
|
||||
DMAMEM_SZ_ALL)
|
||||
|
||||
/*
|
||||
* Configuration of the external SDRAM memory
|
||||
*/
|
||||
|
||||
#define CFG_SYS_UBOOT_START 0x800023FD
|
||||
|
||||
#endif /* __IMXRT1020_EVK_H */
|
||||
|
||||
@@ -25,10 +25,4 @@
|
||||
"stderr=serial,vidconsole\0"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Configuration of the external SDRAM memory
|
||||
*/
|
||||
|
||||
#define CFG_SYS_UBOOT_START 0x800023FD
|
||||
|
||||
#endif /* __IMXRT1050_EVK_H */
|
||||
|
||||
@@ -22,8 +22,5 @@
|
||||
#define DMAMEM_SZ_ALL (1 * 1024 * 1024)
|
||||
#define DMAMEM_BASE (PHYS_SDRAM + PHYS_SDRAM_SIZE - \
|
||||
DMAMEM_SZ_ALL)
|
||||
/* For SPL */
|
||||
#define CFG_SYS_UBOOT_START 0x202403FD
|
||||
/* For SPL ends */
|
||||
|
||||
#endif /* __IMXRT1170_EVK_H */
|
||||
|
||||
@@ -11,10 +11,6 @@
|
||||
|
||||
#define CFG_SYS_INIT_SP_OFFSET 0x400000
|
||||
|
||||
/* SPL */
|
||||
|
||||
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
||||
|
||||
/* Dummy value */
|
||||
#define CFG_SYS_UBOOT_BASE 0
|
||||
|
||||
|
||||
@@ -12,9 +12,6 @@
|
||||
|
||||
#define CFG_SYS_INIT_SP_OFFSET 0x400000
|
||||
|
||||
/* SPL */
|
||||
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
||||
|
||||
/* Dummy value */
|
||||
#define CFG_SYS_UBOOT_BASE 0
|
||||
|
||||
|
||||
@@ -22,9 +22,6 @@
|
||||
#define CFG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
|
||||
230400, 460800, 921600 }
|
||||
|
||||
/* SPL */
|
||||
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
||||
|
||||
/* Dummy value */
|
||||
#define CFG_SYS_UBOOT_BASE 0
|
||||
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
#define __MT8512_H
|
||||
|
||||
/* Uboot definition */
|
||||
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
||||
|
||||
#define ENV_BOOT_READ_IMAGE \
|
||||
"boot_rd_img=mmc dev 0" \
|
||||
";mmc read ${loadaddr} 0x27000 0x8000" \
|
||||
|
||||
17
include/configs/sama5d29_curiosity.h
Normal file
17
include/configs/sama5d29_curiosity.h
Normal file
@@ -0,0 +1,17 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Configuration file for the SAMA5D29 CURIOSITY board.
|
||||
*
|
||||
* Copyright (C) 2023 Microchip Technology Inc. and its subsidiaries
|
||||
*
|
||||
* Author: Mihai Sain <mihai.sain@microchip.com>
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __CONFIG_H
|
||||
#define __CONFIG_H
|
||||
|
||||
#define CFG_SYS_AT91_SLOW_CLOCK 32768
|
||||
#define CFG_SYS_AT91_MAIN_CLOCK 24000000
|
||||
|
||||
#endif
|
||||
@@ -18,6 +18,9 @@
|
||||
/* Environment options */
|
||||
|
||||
#define BOOT_TARGET_DEVICES(func) \
|
||||
func(NVME, nvme, 0) \
|
||||
func(USB, usb, 0) \
|
||||
func(MMC, mmc, 0) \
|
||||
func(MMC, mmc, 1) \
|
||||
func(DHCP, dhcp, na)
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@
|
||||
#define CFG_EXTRA_ENV_SETTINGS \
|
||||
BOOTENV
|
||||
|
||||
#endif
|
||||
#endif /* CONFIG_DISTRO_DEFAULTS */
|
||||
|
||||
#endif /* CONFIG_ARM64 */
|
||||
|
||||
|
||||
@@ -13,8 +13,7 @@
|
||||
|
||||
/* DDR Configuration */
|
||||
#define CFG_SYS_SDRAM_BASE 0x80000000
|
||||
#define CFG_SYS_SDRAM_BASE1 0x880000000
|
||||
#define CFG_SYS_SDRAM_SIZE SZ_2G /* Maximum supported size */
|
||||
#define CFG_SYS_SDRAM_SIZE SZ_2G /* Maximum supported size, auto-detection is used */
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
"fdt_addr_r=0x90200000\0" \
|
||||
@@ -46,10 +45,20 @@
|
||||
"fdt_board=dev\0" \
|
||||
"setup=setenv setupargs console=tty1 console=${console},${baudrate} " \
|
||||
"consoleblank=0 earlycon=ns16550a,mmio32,0x02800000\0" \
|
||||
"update_uboot=askenv confirm Did you load flash.bin (y/N)?; " \
|
||||
"update_tiboot3=askenv confirm Did you load tiboot3.bin (y/N)?; " \
|
||||
"if test \"$confirm\" = \"y\"; then " \
|
||||
"setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \
|
||||
"${blkcnt} / 0x200; mmc dev 0 1; mmc write ${loadaddr} 0x0 " \
|
||||
"${blkcnt}; fi\0" \
|
||||
"update_tispl=askenv confirm Did you load tispl.bin (y/N)?; " \
|
||||
"if test \"$confirm\" = \"y\"; then " \
|
||||
"setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \
|
||||
"${blkcnt} / 0x200; mmc dev 0 1; mmc write ${loadaddr} 0x400 " \
|
||||
"${blkcnt}; fi\0" \
|
||||
"update_uboot=askenv confirm Did you load u-boot.img (y/N)?; " \
|
||||
"if test \"$confirm\" = \"y\"; then " \
|
||||
"setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt " \
|
||||
"${blkcnt} / 0x200; mmc dev 0 1; mmc write ${loadaddr} 0x1400 " \
|
||||
"${blkcnt}; fi\0"
|
||||
|
||||
#endif /* __VERDIN_AM62_H */
|
||||
|
||||
@@ -11,10 +11,6 @@
|
||||
|
||||
#define CFG_SYS_INIT_SP_OFFSET 0x400000
|
||||
|
||||
/* SPL */
|
||||
|
||||
#define CFG_SYS_UBOOT_START CONFIG_TEXT_BASE
|
||||
|
||||
/* Dummy value */
|
||||
#define CFG_SYS_UBOOT_BASE 0
|
||||
|
||||
|
||||
@@ -40,10 +40,11 @@
|
||||
"kernel_size_r=0x10000000\0" \
|
||||
"kernel_comp_addr_r=0x30000000\0" \
|
||||
"kernel_comp_size=0x3C00000\0" \
|
||||
"scriptaddr=0x20000000\0" \
|
||||
"ramdisk_addr_r=0x02100000\0" \
|
||||
"script_size_f=0x80000\0"
|
||||
|
||||
#if defined(CONFIG_DISTRO_DEFAULTS)
|
||||
|
||||
#if defined(CONFIG_MMC_SDHCI_ZYNQ)
|
||||
# define BOOT_TARGET_DEVICES_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1)
|
||||
#else
|
||||
@@ -125,6 +126,10 @@
|
||||
|
||||
#include <config_distro_bootcmd.h>
|
||||
|
||||
#else /* CONFIG_DISTRO_DEFAULTS */
|
||||
# define BOOTENV
|
||||
#endif /* CONFIG_DISTRO_DEFAULTS */
|
||||
|
||||
/* Initial environment variables */
|
||||
#ifndef CFG_EXTRA_ENV_SETTINGS
|
||||
#define CFG_EXTRA_ENV_SETTINGS \
|
||||
|
||||
@@ -54,10 +54,11 @@
|
||||
"kernel_size_r=0x10000000\0" \
|
||||
"kernel_comp_addr_r=0x30000000\0" \
|
||||
"kernel_comp_size=0x3C00000\0" \
|
||||
"scriptaddr=0x20000000\0" \
|
||||
"ramdisk_addr_r=0x02100000\0" \
|
||||
"script_size_f=0x80000\0"
|
||||
|
||||
#if defined(CONFIG_DISTRO_DEFAULTS)
|
||||
|
||||
#if defined(CONFIG_MMC_SDHCI_ZYNQ)
|
||||
# define BOOT_TARGET_DEVICES_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1)
|
||||
#else
|
||||
@@ -126,6 +127,10 @@
|
||||
|
||||
#include <config_distro_bootcmd.h>
|
||||
|
||||
#else /* CONFIG_DISTRO_DEFAULTS */
|
||||
# define BOOTENV
|
||||
#endif /* CONFIG_DISTRO_DEFAULTS */
|
||||
|
||||
/* Initial environment variables */
|
||||
#ifndef CFG_EXTRA_ENV_SETTINGS
|
||||
#define CFG_EXTRA_ENV_SETTINGS \
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
/* Miscellaneous configurable options */
|
||||
|
||||
#if defined(CONFIG_ZYNQMP_USB)
|
||||
#if defined(CONFIG_USB_STORAGE)
|
||||
#define DFU_DEFAULT_POLL_TIMEOUT 300
|
||||
|
||||
# define PARTS_DEFAULT \
|
||||
@@ -57,13 +57,14 @@
|
||||
"kernel_size_r=0x10000000\0" \
|
||||
"kernel_comp_addr_r=0x30000000\0" \
|
||||
"kernel_comp_size=0x3C00000\0" \
|
||||
"scriptaddr=0x20000000\0" \
|
||||
"ramdisk_addr_r=0x02100000\0" \
|
||||
"script_size_f=0x80000\0" \
|
||||
"stdin=serial\0" \
|
||||
"stdout=serial,vidconsole\0" \
|
||||
"stderr=serial,vidconsole\0" \
|
||||
|
||||
#if defined(CONFIG_DISTRO_DEFAULTS)
|
||||
|
||||
#if defined(CONFIG_MMC_SDHCI_ZYNQ)
|
||||
# define BOOT_TARGET_DEVICES_MMC(func) func(MMC, mmc, 0) func(MMC, mmc, 1)
|
||||
#else
|
||||
@@ -76,7 +77,7 @@
|
||||
# define BOOT_TARGET_DEVICES_SCSI(func)
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_ZYNQMP_USB)
|
||||
#if defined(CONFIG_USB_STORAGE)
|
||||
# define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0) func(USB, usb, 1)
|
||||
#else
|
||||
# define BOOT_TARGET_DEVICES_USB(func)
|
||||
@@ -175,6 +176,10 @@
|
||||
|
||||
#include <config_distro_bootcmd.h>
|
||||
|
||||
#else /* CONFIG_DISTRO_DEFAULTS */
|
||||
# define BOOTENV
|
||||
#endif /* CONFIG_DISTRO_DEFAULTS */
|
||||
|
||||
/* Initial environment variables */
|
||||
#ifndef CFG_EXTRA_ENV_SETTINGS
|
||||
#define CFG_EXTRA_ENV_SETTINGS \
|
||||
|
||||
@@ -172,12 +172,10 @@
|
||||
/* Default environment */
|
||||
#ifndef CFG_EXTRA_ENV_SETTINGS
|
||||
#define CFG_EXTRA_ENV_SETTINGS \
|
||||
"scriptaddr=0x20000\0" \
|
||||
"script_size_f=0x40000\0" \
|
||||
"fdt_addr_r=0x1f00000\0" \
|
||||
"pxefile_addr_r=0x2000000\0" \
|
||||
"kernel_addr_r=0x2000000\0" \
|
||||
"scriptaddr=0x3000000\0" \
|
||||
"ramdisk_addr_r=0x3100000\0" \
|
||||
BOOTENV
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user