mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
configs: am335x_evm: Use omap2 generic spl load script
No reason to use a separate load script for am33xx than using omap-common load script. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
cbcb170164
commit
3a517fdc2b
14 changed files with 13 additions and 69 deletions
|
@ -1,56 +0,0 @@
|
|||
/*
|
||||
* (C) Copyright 2002
|
||||
* Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
|
||||
*
|
||||
* (C) Copyright 2010
|
||||
* Texas Instruments, <www.ti.com>
|
||||
* Aneesh V <aneesh@ti.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
MEMORY { .sram : ORIGIN = CONFIG_SPL_TEXT_BASE,\
|
||||
LENGTH = CONFIG_SPL_MAX_SIZE }
|
||||
MEMORY { .sdram : ORIGIN = CONFIG_SPL_BSS_START_ADDR, \
|
||||
LENGTH = CONFIG_SPL_BSS_MAX_SIZE }
|
||||
|
||||
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
|
||||
OUTPUT_ARCH(arm)
|
||||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
.text :
|
||||
{
|
||||
__start = .;
|
||||
*(.vectors)
|
||||
arch/arm/cpu/armv7/start.o (.text)
|
||||
*(.text*)
|
||||
} >.sram
|
||||
|
||||
. = ALIGN(4);
|
||||
.rodata : { *(SORT_BY_ALIGNMENT(.rodata*)) } >.sram
|
||||
|
||||
. = ALIGN(4);
|
||||
.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
|
||||
|
||||
.u_boot_list : {
|
||||
KEEP(*(SORT(.u_boot_list*)));
|
||||
} >.sram
|
||||
|
||||
. = ALIGN(4);
|
||||
__image_copy_end = .;
|
||||
|
||||
.end :
|
||||
{
|
||||
*(.__end)
|
||||
} >.sram
|
||||
|
||||
.bss :
|
||||
{
|
||||
. = ALIGN(4);
|
||||
__bss_start = .;
|
||||
*(.bss*)
|
||||
. = ALIGN(4);
|
||||
__bss_end = .;
|
||||
} >.sdram
|
||||
}
|
|
@ -194,7 +194,7 @@
|
|||
|
||||
/* USB gadget RNDIS */
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NAND
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:512k(SPL),-(UBI)"
|
||||
|
||||
/* SPL */
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
/* UBI configuration */
|
||||
#define CONFIG_SPL_UBI 1
|
||||
|
|
|
@ -250,7 +250,7 @@
|
|||
|
||||
/* SPL */
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
#ifndef CONFIG_SPL_USBETH_SUPPORT
|
||||
#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
#define CONFIG_BOOTCOUNT_AM33XX
|
||||
#define CONFIG_SYS_BOOTCOUNT_BE
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
#ifndef CONFIG_SPL_USBETH_SUPPORT
|
||||
#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1
|
||||
|
|
|
@ -248,7 +248,7 @@
|
|||
/* General network SPL, both CPSW and USB gadget RNDIS */
|
||||
#define CONFIG_SPL_NET_VCI_STRING "AM335x U-Boot SPL"*/
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
#ifdef CONFIG_NAND
|
||||
#define CONFIG_NAND_OMAP_GPMC
|
||||
|
|
|
@ -348,7 +348,7 @@ DEFAULT_LINUX_BOOT_ENV \
|
|||
|
||||
/* USB gadget RNDIS */
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NAND
|
||||
|
|
|
@ -109,6 +109,6 @@
|
|||
|
||||
/* General parts of the framework, required. */
|
||||
#define CONFIG_SPL_BOARD_INIT
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
#endif /* ! __BUR_AM335X_COMMON_H__ */
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
#define CONFIG_BOOTCOUNT_AM33XX
|
||||
#define CONFIG_SYS_BOOTCOUNT_BE
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
/* NAND: device related configs */
|
||||
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
#define CONFIG_SYS_I2C_EEPROM_BUS 0
|
||||
|
||||
/* SPL */
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
/* Network. */
|
||||
#define CONFIG_PHY_GIGE
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
/* CPU */
|
||||
#define CONFIG_ENV_IS_NOWHERE
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
#ifdef CONFIG_SPI_BOOT
|
||||
#define CONFIG_SPL_SPI_LOAD
|
||||
|
|
|
@ -203,6 +203,6 @@
|
|||
|
||||
/* CPSW support */
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
#endif /* ! __CONFIG_PENGWYN_H */
|
||||
|
|
|
@ -86,6 +86,6 @@
|
|||
#define CONFIG_PHY_RESET_DELAY 1000
|
||||
|
||||
/* SPL */
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
#endif /* __CONFIG_PEPPER_H */
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
#define CONFIG_SPL_SPI_LOAD
|
||||
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000
|
||||
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/am33xx/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
|
||||
|
||||
#define CONFIG_SPL_BOARD_INIT
|
||||
#define CONFIG_SPL_NAND_AM33XX_BCH
|
||||
|
|
Loading…
Reference in a new issue