Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts:
Makefile
drivers/net/npe/Makefile
These two conflicts arise from commit 0b2d3f20
("ARM: NET: Remove the IXP NPE ethernet driver") and are
resolved by deleting the drivers/net/npe/Makefile file
and removing the CONFIG_IXP4XX_NPE line from Makefile.
This commit is contained in:
commit
3e11350255
31
.gitignore
vendored
31
.gitignore
vendored
@ -5,16 +5,20 @@
|
||||
#
|
||||
# Normal rules
|
||||
#
|
||||
|
||||
*.rej
|
||||
*.orig
|
||||
*.a
|
||||
.*
|
||||
*.o
|
||||
*.o.*
|
||||
*.a
|
||||
*.s
|
||||
*.su
|
||||
*~
|
||||
*.mod.c
|
||||
*.i
|
||||
*.lst
|
||||
*.order
|
||||
*.elf
|
||||
*.swp
|
||||
*.patch
|
||||
*.bin
|
||||
*.patch
|
||||
*.cfgtmp
|
||||
*.dts.tmp
|
||||
|
||||
@ -24,12 +28,10 @@
|
||||
#
|
||||
# Top-level generic files
|
||||
#
|
||||
|
||||
/MLO*
|
||||
/SPL
|
||||
/System.map
|
||||
/u-boot
|
||||
/u-boot.elf
|
||||
/u-boot.hex
|
||||
/u-boot.imx
|
||||
/u-boot-with-spl.imx
|
||||
@ -46,14 +48,18 @@
|
||||
/u-boot.lds
|
||||
/u-boot.ubl
|
||||
/u-boot.ais
|
||||
/u-boot.dtb
|
||||
/u-boot.sb
|
||||
|
||||
#
|
||||
# git files that we don't want to ignore even it they are dot-files
|
||||
#
|
||||
!.gitignore
|
||||
!.mailmap
|
||||
|
||||
#
|
||||
# Generated files
|
||||
#
|
||||
|
||||
*.depend*
|
||||
/LOG
|
||||
/errlog
|
||||
/reloc_off
|
||||
@ -65,7 +71,6 @@
|
||||
/include/generated/
|
||||
/include/spl-autoconf.mk
|
||||
/include/tpl-autoconf.mk
|
||||
asm-offsets.s
|
||||
|
||||
# stgit generated dirs
|
||||
patches-*
|
||||
@ -91,3 +96,7 @@ GPATH
|
||||
GRTAGS
|
||||
GSYMS
|
||||
GTAGS
|
||||
|
||||
*.orig
|
||||
*~
|
||||
\#*#
|
||||
|
8
MAKEALL
8
MAKEALL
@ -672,8 +672,6 @@ build_target() {
|
||||
output_dir="${OUTPUT_PREFIX}"
|
||||
fi
|
||||
|
||||
export BUILD_DIR="${output_dir}"
|
||||
|
||||
target_arch=$(get_target_arch ${target})
|
||||
eval cross_toolchain=\$CROSS_COMPILE_`echo $target_arch | tr '[:lower:]' '[:upper:]'`
|
||||
if [ "${cross_toolchain}" ] ; then
|
||||
@ -684,6 +682,10 @@ build_target() {
|
||||
MAKE=make
|
||||
fi
|
||||
|
||||
if [ "${output_dir}" != "." ] ; then
|
||||
MAKE="${MAKE} O=${output_dir}"
|
||||
fi
|
||||
|
||||
${MAKE} distclean >/dev/null
|
||||
${MAKE} -s ${target}_config
|
||||
|
||||
@ -698,7 +700,7 @@ build_target() {
|
||||
if [ $BUILD_MANY == 1 ] ; then
|
||||
trap - TERM
|
||||
|
||||
${MAKE} -s tidy
|
||||
${MAKE} -s clean
|
||||
|
||||
if [ -s ${LOG_DIR}/${target}.ERR ] ; then
|
||||
cp ${LOG_DIR}/${target}.ERR ${OUTPUT_PREFIX}/ERR/${target}
|
||||
|
4
README
4
README
@ -922,6 +922,8 @@ The following options need to be configured:
|
||||
CONFIG_CMD_EXPORTENV * export the environment
|
||||
CONFIG_CMD_EXT2 * ext2 command support
|
||||
CONFIG_CMD_EXT4 * ext4 command support
|
||||
CONFIG_CMD_FS_GENERIC * filesystem commands (e.g. load, ls)
|
||||
that work for multiple fs types
|
||||
CONFIG_CMD_SAVEENV saveenv
|
||||
CONFIG_CMD_FDC * Floppy Disk Support
|
||||
CONFIG_CMD_FAT * FAT command support
|
||||
@ -2847,7 +2849,7 @@ CBFS (Coreboot Filesystem) support
|
||||
CONFIG_RSA
|
||||
|
||||
This enables the RSA algorithm used for FIT image verification
|
||||
in U-Boot. See doc/uImage/signature for more information.
|
||||
in U-Boot. See doc/uImage.FIT/signature.txt for more information.
|
||||
|
||||
The signing part is build into mkimage regardless of this
|
||||
option.
|
||||
|
@ -14,6 +14,6 @@ ifdef CONFIG_SPL_BUILD
|
||||
ALL-y += $(OBJTREE)/SPL
|
||||
endif
|
||||
else
|
||||
ALL-y += $(obj)u-boot.imx
|
||||
ALL-y += u-boot.imx
|
||||
endif
|
||||
endif
|
||||
|
@ -13,6 +13,6 @@ ifdef CONFIG_SPL_BUILD
|
||||
ALL-y += $(OBJTREE)/SPL
|
||||
endif
|
||||
else
|
||||
ALL-y += $(obj)u-boot.imx
|
||||
ALL-y += u-boot.imx
|
||||
endif
|
||||
endif
|
||||
|
@ -4,5 +4,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
ifndef CONFIG_SPL_BUILD
|
||||
ALL-$(CONFIG_SPL_FRAMEWORK) += $(obj)u-boot.ais
|
||||
ALL-$(CONFIG_SPL_FRAMEWORK) += u-boot.ais
|
||||
endif
|
||||
|
@ -5,5 +5,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
obj-y = timer.o cpuinfo.o
|
||||
obj-y = timer.o
|
||||
obj-$(CONFIG_DISPLAY_CPUINFO) += cpuinfo.o
|
||||
obj-y += reset.o
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include <command.h>
|
||||
#include <linux/compiler.h>
|
||||
|
||||
#if defined(CONFIG_DISPLAY_CPUINFO) && defined(CONFIG_OMAP)
|
||||
#if defined(CONFIG_OMAP)
|
||||
|
||||
#define omap_readw(x) *(volatile unsigned short *)(x)
|
||||
#define omap_readl(x) *(volatile unsigned long *)(x)
|
||||
@ -239,4 +239,4 @@ int print_cpuinfo (void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* #if defined(CONFIG_DISPLAY_CPUINFO) && defined(CONFIG_OMAP) */
|
||||
#endif /* #if defined(CONFIG_OMAP) */
|
||||
|
@ -7,5 +7,5 @@ ifdef CONFIG_SPL_BUILD
|
||||
ALL-y += $(OBJTREE)/MLO
|
||||
ALL-$(CONFIG_SPL_SPI_SUPPORT) += $(OBJTREE)/MLO.byteswap
|
||||
else
|
||||
ALL-y += $(obj)u-boot.img
|
||||
ALL-y += u-boot.img
|
||||
endif
|
||||
|
@ -20,6 +20,6 @@ ifdef CONFIG_SPL_BUILD
|
||||
ALL-y += $(OBJTREE)/SPL
|
||||
endif
|
||||
else
|
||||
ALL-y += $(obj)u-boot.imx
|
||||
ALL-y += u-boot.imx
|
||||
endif
|
||||
endif
|
||||
|
@ -248,6 +248,7 @@ u32 get_device_type(void)
|
||||
(DEVICE_TYPE_MASK)) >> DEVICE_TYPE_SHIFT;
|
||||
}
|
||||
|
||||
#if defined(CONFIG_DISPLAY_CPUINFO)
|
||||
/*
|
||||
* Print CPU information
|
||||
*/
|
||||
@ -258,6 +259,8 @@ int print_cpuinfo(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SYS_DCACHE_OFF
|
||||
void enable_caches(void)
|
||||
{
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <scsi.h>
|
||||
#include <asm/arch/clock.h>
|
||||
#include <asm/arch/sata.h>
|
||||
#include <sata.h>
|
||||
#include <asm/io.h>
|
||||
#include "pipe3-phy.h"
|
||||
|
||||
@ -31,7 +32,7 @@ struct omap_pipe3 sata_phy = {
|
||||
.dpll_map = dpll_map_sata,
|
||||
};
|
||||
|
||||
int omap_sata_init(void)
|
||||
int init_sata(int dev)
|
||||
{
|
||||
int ret;
|
||||
u32 val;
|
||||
|
@ -11,5 +11,5 @@
|
||||
ifdef CONFIG_SPL_BUILD
|
||||
ALL-y += $(OBJTREE)/MLO
|
||||
else
|
||||
ALL-y += $(obj)u-boot.img
|
||||
ALL-y += u-boot.img
|
||||
endif
|
||||
|
@ -11,5 +11,5 @@
|
||||
ifdef CONFIG_SPL_BUILD
|
||||
ALL-y += $(OBJTREE)/MLO
|
||||
else
|
||||
ALL-y += $(obj)u-boot.img
|
||||
ALL-y += u-boot.img
|
||||
endif
|
||||
|
@ -9,5 +9,5 @@
|
||||
ifdef CONFIG_SPL_BUILD
|
||||
ALL-y += $(OBJTREE)/MLO
|
||||
else
|
||||
ALL-y += $(obj)u-boot.img
|
||||
ALL-y += u-boot.img
|
||||
endif
|
||||
|
@ -4,5 +4,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
ifndef CONFIG_SPL_BUILD
|
||||
ALL-y += $(obj)u-boot.img
|
||||
ALL-y += u-boot.img
|
||||
endif
|
||||
|
@ -17,4 +17,5 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
obj- :=
|
||||
# necessary to create built-in.o
|
||||
obj- := __dummy__.o
|
||||
|
@ -4,3 +4,6 @@
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# necessary to create built-in.o
|
||||
obj- := __dummy__.o
|
||||
|
@ -17,4 +17,5 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
obj- :=
|
||||
# necessary to create built-in.o
|
||||
obj- := __dummy__.o
|
||||
|
@ -8,4 +8,5 @@
|
||||
#
|
||||
|
||||
obj-y += lowlevel_init.o
|
||||
obj-y += ap.o board.o sys_info.o clock.o cache.o
|
||||
obj-y += ap.o board.o clock.o cache.o
|
||||
obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.o
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include <common.h>
|
||||
#include <linux/ctype.h>
|
||||
|
||||
#ifdef CONFIG_DISPLAY_CPUINFO
|
||||
void upstring(char *s)
|
||||
{
|
||||
while (*s) {
|
||||
@ -30,4 +29,3 @@ int print_cpuinfo(void)
|
||||
/* TBD: Add printf of major/minor rev info, stepping, etc. */
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_DISPLAY_CPUINFO */
|
||||
|
1
arch/arm/dts/.gitignore
vendored
Normal file
1
arch/arm/dts/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.dtb
|
37
arch/arm/dts/Makefile
Normal file
37
arch/arm/dts/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
dtb-$(CONFIG_EXYNOS5) += exynos5250-arndale.dtb \
|
||||
exynos5250-snow.dtb \
|
||||
exynos5250-smdk5250.dtb \
|
||||
exynos5420-smdk5420.dtb
|
||||
|
||||
dtb-$(CONFIG_TEGRA) += tegra20-harmony.dtb \
|
||||
tegra20-medcom-wide.dtb \
|
||||
tegra20-paz00.dtb \
|
||||
tegra20-plutux.dtb \
|
||||
tegra20-seaboard.dtb \
|
||||
tegra20-tec.dtb \
|
||||
tegra20-trimslice.dtb \
|
||||
tegra20-ventana.dtb \
|
||||
tegra20-whistler.dtb \
|
||||
tegra20-colibri_t20_iris.dtb \
|
||||
tegra30-beaver.dtb \
|
||||
tegra30-cardhu.dtb \
|
||||
tegra30-tec-ng.dtb \
|
||||
tegra114-dalmore.dtb
|
||||
|
||||
dtb-$(CONFIG_ZYNQ) += zynq-zc702.dtb \
|
||||
zynq-zc706.dtb \
|
||||
zynq-zed.dtb \
|
||||
zynq-microzed.dtb \
|
||||
zynq-zc770-xm010.dtb \
|
||||
zynq-zc770-xm012.dtb \
|
||||
zynq-zc770-xm013.dtb
|
||||
|
||||
targets += $(dtb-y)
|
||||
|
||||
DTC_FLAGS += -R 4 -p 0x1000
|
||||
|
||||
PHONY += dtbs
|
||||
dtbs: $(addprefix $(obj)/, $(dtb-y))
|
||||
@:
|
||||
|
||||
clean-files := *.dtb
|
@ -25,7 +25,7 @@ obj-$(CONFIG_CMD_HDMIDETECT) += cmd_hdmidet.o
|
||||
|
||||
$(OBJTREE)/$(patsubst "%",%,$(CONFIG_IMX_CONFIG)).cfgtmp: $(OBJTREE)/%.cfgtmp : $(SRCTREE)/%
|
||||
mkdir -p $(dir $@)
|
||||
$(CC) -E -x c $< $(CPPFLAGS) -o $@
|
||||
$(CPP) $(cpp_flags) -x c -o $@ $<
|
||||
|
||||
$(OBJTREE)/u-boot.imx: $(OBJTREE)/u-boot.bin $(OBJTREE)/$(patsubst "%",%,$(CONFIG_IMX_CONFIG)).cfgtmp
|
||||
$(OBJTREE)/tools/mkimage -n $(filter-out %.bin,$^) -T imximage \
|
||||
|
@ -17,10 +17,6 @@
|
||||
u32 get_cpu_rev(void);
|
||||
u32 get_sysboot_value(void);
|
||||
|
||||
#ifdef CONFIG_DISPLAY_CPUINFO
|
||||
int print_cpuinfo(void);
|
||||
#endif
|
||||
|
||||
extern struct ctrl_stat *cstat;
|
||||
u32 get_device_type(void);
|
||||
void save_omap_boot_params(void);
|
||||
|
@ -36,13 +36,4 @@
|
||||
#define TI_SATA_IDLE_SMART_WAKE (0x3 << 2)
|
||||
#define TI_SATA_IDLE_SMART (0x2 << 2)
|
||||
|
||||
#ifdef CONFIG_SCSI_AHCI_PLAT
|
||||
int omap_sata_init(void);
|
||||
#else
|
||||
static inline int omap_sata_init(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_SCSI_AHCI_PLAT */
|
||||
|
||||
#endif /* _TI_SATA_H */
|
||||
|
@ -15,6 +15,7 @@
|
||||
#define BOOT_DEVICE_MMC1 5
|
||||
#define BOOT_DEVICE_MMC2 6
|
||||
#define BOOT_DEVICE_MMC2_2 7
|
||||
#define BOOT_DEVICE_SATA 9
|
||||
#define BOOT_DEVICE_SPI 10
|
||||
#define BOOT_DEVICE_UART 0x43
|
||||
|
||||
|
@ -197,8 +197,6 @@ static int arm_pci_init(void)
|
||||
*/
|
||||
typedef int (init_fnc_t) (void);
|
||||
|
||||
int print_cpuinfo(void);
|
||||
|
||||
void __dram_init_banksize(void)
|
||||
{
|
||||
gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
|
||||
@ -250,9 +248,7 @@ init_fnc_t *init_sequence[] = {
|
||||
serial_init, /* serial communications setup */
|
||||
console_init_f, /* stage 1 init of console */
|
||||
display_banner, /* say that we are here */
|
||||
#if defined(CONFIG_DISPLAY_CPUINFO)
|
||||
print_cpuinfo, /* display cpu info (and speed) */
|
||||
#endif
|
||||
#if defined(CONFIG_DISPLAY_BOARDINFO)
|
||||
checkboard, /* display board info */
|
||||
#endif
|
||||
@ -280,7 +276,7 @@ void board_init_f(ulong bootflag)
|
||||
gd->mon_len = _bss_end_ofs;
|
||||
#ifdef CONFIG_OF_EMBED
|
||||
/* Get a pointer to the FDT */
|
||||
gd->fdt_blob = _binary_dt_dtb_start;
|
||||
gd->fdt_blob = __dtb_db_begin;
|
||||
#elif defined CONFIG_OF_SEPARATE
|
||||
/* FDT is at end of image */
|
||||
gd->fdt_blob = (void *)(_end_ofs + _TEXT_BASE);
|
||||
|
@ -12,7 +12,7 @@ CONFIG_STANDALONE_LOAD_ADDR ?= 0x1000 -m elf32bfin
|
||||
ifeq ($(CONFIG_BFIN_CPU),)
|
||||
CONFIG_BFIN_CPU := \
|
||||
$(shell awk '$$2 == "CONFIG_BFIN_CPU" { print $$3 }' \
|
||||
$(src)include/configs/$(BOARD).h)
|
||||
$(srctree)/include/configs/$(BOARD).h)
|
||||
else
|
||||
CONFIG_BFIN_CPU := $(strip $(CONFIG_BFIN_CPU:"%"=%))
|
||||
endif
|
||||
@ -28,10 +28,10 @@ PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
|
||||
PLATFORM_RELFLAGS += -mcpu=$(CONFIG_BFIN_CPU)
|
||||
|
||||
ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS)
|
||||
ALL-y += $(obj)u-boot.ldr
|
||||
ALL-y += u-boot.ldr
|
||||
endif
|
||||
ifeq ($(CONFIG_ENV_IS_EMBEDDED_IN_LDR),y)
|
||||
CREATE_LDR_ENV = $(obj)tools/envcrc --binary > $(obj)env-ldr.o
|
||||
CREATE_LDR_ENV = tools/envcrc --binary > env-ldr.o
|
||||
HOSTCFLAGS_NOPED_ADSP := \
|
||||
$(shell $(CPP) -dD - -mcpu=$(CONFIG_BFIN_CPU) </dev/null \
|
||||
| awk '$$2 ~ /ADSP/ { print "-D" $$2 }')
|
||||
@ -47,10 +47,10 @@ LDR_FLAGS-$(CONFIG_BFIN_BOOTROM_USES_EVT1) += -J
|
||||
|
||||
LDR_FLAGS += --bmode $(subst BFIN_BOOT_,,$(CONFIG_BFIN_BOOT_MODE))
|
||||
LDR_FLAGS += --use-vmas
|
||||
LDR_FLAGS += --initcode $(obj)$(CPUDIR)/initcode.o
|
||||
LDR_FLAGS += --initcode $(CPUDIR)/initcode.o
|
||||
ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_UART)
|
||||
LDR_FLAGS-$(CONFIG_ENV_IS_EMBEDDED_IN_LDR) += \
|
||||
--punchit $$(($(CONFIG_ENV_OFFSET))):$$(($(CONFIG_ENV_SIZE))):$(obj)env-ldr.o
|
||||
--punchit $$(($(CONFIG_ENV_OFFSET))):$$(($(CONFIG_ENV_SIZE))):env-ldr.o
|
||||
endif
|
||||
ifneq (,$(findstring s,$(MAKEFLAGS)))
|
||||
LDR_FLAGS += --quiet
|
||||
|
@ -22,12 +22,13 @@ obj-y += reset.o
|
||||
obj-y += traps.o
|
||||
|
||||
extra-y += check_initcode
|
||||
clean-files := init.lds
|
||||
|
||||
# make sure our initcode (which goes into LDR) does not
|
||||
# have relocs or external references
|
||||
$(obj)initcode.o: CFLAGS += -fno-function-sections -fno-data-sections
|
||||
CFLAGS_REMOVE_initcode.o := -ffunction-sections -fdata-sections
|
||||
READINIT = env LC_ALL=C $(CROSS_COMPILE)readelf -s $<
|
||||
$(obj)check_initcode: $(obj)initcode.o
|
||||
$(obj)/check_initcode: $(obj)/initcode.o
|
||||
ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS)
|
||||
@if $(READINIT) | grep '\<GLOBAL\>.*\<UND\>' ; then \
|
||||
echo "$< contains external references!" 1>&2 ; \
|
||||
@ -35,7 +36,6 @@ ifneq ($(CONFIG_BFIN_BOOT_MODE),BFIN_BOOT_BYPASS)
|
||||
fi
|
||||
endif
|
||||
|
||||
$(obj)init.lds: init.lds.S
|
||||
$(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P $^ -o $@
|
||||
$(obj)init.elf: $(obj)init.lds $(obj)init.o $(obj)initcode.o
|
||||
CPPFLAGS_init.lds := -ansi
|
||||
$(obj)/init.elf: $(obj)/init.lds $(obj)/init.o $(obj)/initcode.o
|
||||
$(LD) $(LDFLAGS) -T $^ -o $@
|
||||
|
@ -9,7 +9,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS += -DBFIN_BOARD_NAME='"$(BOARD)"'
|
||||
# Unnecessary.
|
||||
# Use CONFIG_SYS_BOARD instead of BFIN_BOARD_NAME
|
||||
# and delete this.
|
||||
ccflags-y += -DBFIN_BOARD_NAME='"$(BOARD)"'
|
||||
|
||||
obj-y += ins.o
|
||||
obj-y += memcmp.o
|
||||
|
@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# CFLAGS += -DET_DEBUG
|
||||
# ccflags-y += -DET_DEBUG
|
||||
|
||||
extra-y = start.o
|
||||
obj-y = cpu.o speed.o cpu_init.o interrupts.o
|
||||
|
@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# CFLAGS += -DET_DEBUG
|
||||
# ccflags-y += -DET_DEBUG
|
||||
|
||||
extra-y = start.o
|
||||
obj-y = cpu.o speed.o cpu_init.o interrupts.o
|
||||
|
@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# CFLAGS += -DET_DEBUG
|
||||
# ccflags-y += -DET_DEBUG
|
||||
|
||||
extra-y = start.o
|
||||
obj-y = interrupts.o cpu.o speed.o cpu_init.o
|
||||
|
@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# CFLAGS += -DET_DEBUG
|
||||
# ccflags-y += -DET_DEBUG
|
||||
|
||||
extra-y := start.o
|
||||
obj-y = cpu.o speed.o cpu_init.o interrupts.o
|
||||
|
@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# CFLAGS += -DET_DEBUG
|
||||
# ccflags-y += -DET_DEBUG
|
||||
|
||||
extra-y = start.o
|
||||
obj-y = cpu.o speed.o cpu_init.o interrupts.o pci.o
|
||||
|
@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# CFLAGS += -DET_DEBUG
|
||||
# ccflags-y += -DET_DEBUG
|
||||
|
||||
extra-y = start.o
|
||||
obj-y = cpu.o speed.o cpu_init.o pci.o interrupts.o slicetimer.o
|
||||
|
1
arch/microblaze/dts/.gitignore
vendored
Normal file
1
arch/microblaze/dts/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.dtb
|
11
arch/microblaze/dts/Makefile
Normal file
11
arch/microblaze/dts/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
dtb-y += microblaze-generic.dtb
|
||||
|
||||
targets += $(dtb-y)
|
||||
|
||||
DTC_FLAGS += -R 4 -p 0x1000
|
||||
|
||||
PHONY += dtbs
|
||||
dtbs: $(addprefix $(obj)/, $(dtb-y))
|
||||
@:
|
||||
|
||||
clean-files := *.dtb
|
@ -87,7 +87,7 @@ void board_init_f(ulong not_used)
|
||||
|
||||
#ifdef CONFIG_OF_EMBED
|
||||
/* Get a pointer to the FDT */
|
||||
gd->fdt_blob = _binary_dt_dtb_start;
|
||||
gd->fdt_blob = __dtb_dt_begin;
|
||||
#elif defined CONFIG_OF_SEPARATE
|
||||
/* FDT is at end of image */
|
||||
gd->fdt_blob = (void *)__end;
|
||||
|
@ -21,4 +21,4 @@ else
|
||||
PLATFORM_LDFLAGS += -m elf32ltsmip
|
||||
endif
|
||||
|
||||
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T mips.lds
|
||||
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T $(srctree)/$(src)/mips.lds
|
||||
|
@ -21,4 +21,4 @@ else
|
||||
PLATFORM_LDFLAGS += -m elf64ltsmip
|
||||
endif
|
||||
|
||||
CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 -T mips64.lds
|
||||
CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 -T $(srctree)/$(src)/mips64.lds
|
||||
|
@ -12,4 +12,4 @@ else
|
||||
PLATFORM_LDFLAGS += -m elf32ltsmip
|
||||
endif
|
||||
|
||||
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T mips.lds
|
||||
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T $(srctree)/$(src)/mips.lds
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
CROSS_COMPILE ?= nds32le-linux-
|
||||
|
||||
CONFIG_STANDALONE_LOAD_ADDR = 0x300000 -T nds32.lds
|
||||
CONFIG_STANDALONE_LOAD_ADDR = 0x300000 -T $(srctree)/$(src)/nds32.lds
|
||||
|
||||
PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -mrelax
|
||||
PLATFORM_RELFLAGS += -gdwarf-2
|
||||
|
@ -9,4 +9,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# necessary to create built-in.o
|
||||
obj- := __dummy__.o
|
||||
|
||||
extra-y = start.o
|
||||
|
@ -5,7 +5,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
# CFLAGS += -DET_DEBUG
|
||||
# ccflags-y += -DET_DEBUG
|
||||
|
||||
extra-y += start.o
|
||||
extra-y += traps.o
|
||||
|
@ -54,11 +54,11 @@ ifndef CONFIG_SPL_BUILD
|
||||
# Workaround for local bus unaligned access problems
|
||||
# on MPC512x and MPC5200
|
||||
ifdef CONFIG_MPC512X
|
||||
$(obj)ppcstring.o: AFLAGS += -Dmemcpy=__memcpy
|
||||
AFLAGS_ppcstring.o += -Dmemcpy=__memcpy
|
||||
obj-y += memcpy_mpc5200.o
|
||||
endif
|
||||
ifdef CONFIG_MPC5200
|
||||
$(obj)ppcstring.o: AFLAGS += -Dmemcpy=__memcpy
|
||||
AFLAGS_ppcstring.o += -Dmemcpy=__memcpy
|
||||
obj-y += memcpy_mpc5200.o
|
||||
endif
|
||||
endif
|
||||
|
@ -10,7 +10,10 @@
|
||||
obj-y := cpu.o os.o start.o state.o
|
||||
|
||||
# os.c is build in the system environment, so needs standard includes
|
||||
$(obj)os.o: CFLAGS := $(filter-out -nostdinc,\
|
||||
$(patsubst -I%,-idirafter%,$(CFLAGS)))
|
||||
$(obj).depend.os: CPPFLAGS := $(filter-out -nostdinc,\
|
||||
$(patsubst -I%,-idirafter%,$(CPPFLAGS)))
|
||||
# CFLAGS_REMOVE_os.o cannot be used to drop header include path
|
||||
quiet_cmd_cc_os.o = CC $(quiet_modtag) $@
|
||||
cmd_cc_os.o = $(CC) $(filter-out -nostdinc, \
|
||||
$(patsubst -I%,-idirafter%,$(c_flags))) -c -o $@ $<
|
||||
|
||||
$(obj)/os.o: $(src)/os.c FORCE
|
||||
$(call if_changed_dep,cc_os.o)
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
CROSS_COMPILE ?= sparc-elf-
|
||||
|
||||
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) -T sparc.lds
|
||||
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \
|
||||
-T $(srctree)/$(src)/sparc.lds
|
||||
|
||||
PLATFORM_CPPFLAGS += -DCONFIG_SPARC -D__sparc__
|
||||
|
1
arch/x86/dts/.gitignore
vendored
Normal file
1
arch/x86/dts/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.dtb
|
12
arch/x86/dts/Makefile
Normal file
12
arch/x86/dts/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
dtb-y += link.dtb \
|
||||
alex.dtb
|
||||
|
||||
targets += $(dtb-y)
|
||||
|
||||
DTC_FLAGS += -R 4 -p 0x1000
|
||||
|
||||
PHONY += dtbs
|
||||
dtbs: $(addprefix $(obj)/, $(dtb-y))
|
||||
@:
|
||||
|
||||
clean-files := *.dtb
|
@ -23,5 +23,5 @@ obj-$(CONFIG_CMD_ZBOOT) += zimage.o
|
||||
LIBGCC := $(notdir $(NORMAL_LIBGCC))
|
||||
extra-y := $(LIBGCC)
|
||||
|
||||
$(obj)$(LIBGCC): $(NORMAL_LIBGCC)
|
||||
$(obj)/$(LIBGCC): $(NORMAL_LIBGCC)
|
||||
$(OBJCOPY) $< $@ --prefix-symbols=__normal_
|
||||
|
@ -92,7 +92,7 @@ int find_fdt(void)
|
||||
{
|
||||
#ifdef CONFIG_OF_EMBED
|
||||
/* Get a pointer to the FDT */
|
||||
gd->fdt_blob = _binary_dt_dtb_start;
|
||||
gd->fdt_blob = __dtb_dt_begin;
|
||||
#elif defined CONFIG_OF_SEPARATE
|
||||
/* FDT is at end of image */
|
||||
gd->fdt_blob = (ulong *)&_end;
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
UBL_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/ublimage.cfg
|
||||
ifndef CONFIG_SPL_BUILD
|
||||
ALL-y += $(obj)u-boot.ubl
|
||||
ALL-y += u-boot.ubl
|
||||
else
|
||||
# as SPL_TEXT_BASE is not page-aligned, we need for some
|
||||
# linkers the -n flag (Do not page align data), to prevent
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#if defined(CONFIG_DISPLAY_CPUINFO)
|
||||
/*
|
||||
* Print CPU information
|
||||
*/
|
||||
@ -20,6 +21,7 @@ int print_cpuinfo(void)
|
||||
puts("CPU : Altera SOCFPGA Platform\n");
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Print Board information
|
||||
|
@ -9,4 +9,4 @@
|
||||
|
||||
obj-y := ../common/tamonten.o
|
||||
|
||||
include ../../nvidia/common/common.mk
|
||||
include $(srctree)/board/nvidia/common/common.mk
|
||||
|
@ -9,4 +9,4 @@
|
||||
|
||||
obj-y := ../common/tamonten.o
|
||||
|
||||
include ../../nvidia/common/common.mk
|
||||
include $(srctree)/board/nvidia/common/common.mk
|
||||
|
@ -7,4 +7,4 @@
|
||||
|
||||
obj-y := ../common/tamonten-ng.o
|
||||
|
||||
include ../../nvidia/common/common.mk
|
||||
include $(srctree)/board/nvidia/common/common.mk
|
||||
|
@ -9,4 +9,4 @@
|
||||
|
||||
obj-y := ../common/tamonten.o
|
||||
|
||||
include ../../nvidia/common/common.mk
|
||||
include $(srctree)/board/nvidia/common/common.mk
|
||||
|
@ -7,6 +7,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS_lib += -O2
|
||||
CFLAGS_lib/lzma += -O2
|
||||
CFLAGS_lib/zlib += -O2
|
||||
# FIX ME
|
||||
ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),)
|
||||
ccflags-y := -O2
|
||||
endif
|
||||
|
@ -7,6 +7,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS_lib += -O2
|
||||
CFLAGS_lib/lzma += -O2
|
||||
CFLAGS_lib/zlib += -O2
|
||||
# FIX ME
|
||||
ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),)
|
||||
ccflags-y := -O2
|
||||
endif
|
||||
|
@ -7,6 +7,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS_lib += -O2
|
||||
CFLAGS_lib/lzma += -O2
|
||||
CFLAGS_lib/zlib += -O2
|
||||
# FIX ME
|
||||
ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),)
|
||||
ccflags-y := -O2
|
||||
endif
|
||||
|
@ -7,6 +7,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS_lib += -O2
|
||||
CFLAGS_lib/lzma += -O2
|
||||
CFLAGS_lib/zlib += -O2
|
||||
# FIX ME
|
||||
ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),)
|
||||
ccflags-y := -O2
|
||||
endif
|
||||
|
@ -7,6 +7,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS_lib += -O2
|
||||
CFLAGS_lib/lzma += -O2
|
||||
CFLAGS_lib/zlib += -O2
|
||||
# FIX ME
|
||||
ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),)
|
||||
ccflags-y := -O2
|
||||
endif
|
||||
|
@ -7,9 +7,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS_lib += -O2
|
||||
CFLAGS_lib/lzma += -O2
|
||||
CFLAGS_lib/zlib += -O2
|
||||
# FIX ME
|
||||
ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),)
|
||||
ccflags-y := -O2
|
||||
endif
|
||||
|
||||
# Set some default LDR flags based on boot mode.
|
||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 6
|
||||
|
@ -7,9 +7,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS_lib += -O2
|
||||
CFLAGS_lib/lzma += -O2
|
||||
CFLAGS_lib/zlib += -O2
|
||||
# FIX ME
|
||||
ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),)
|
||||
ccflags-y := -O2
|
||||
endif
|
||||
|
||||
# Set some default LDR flags based on boot mode.
|
||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||
|
@ -7,9 +7,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS_lib += -O2
|
||||
CFLAGS_lib/lzma += -O2
|
||||
CFLAGS_lib/zlib += -O2
|
||||
# FIX ME
|
||||
ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),)
|
||||
ccflags-y := -O2
|
||||
endif
|
||||
|
||||
# Set some default LDR flags based on boot mode.
|
||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||
|
@ -7,9 +7,10 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
|
||||
CFLAGS_lib += -O2
|
||||
CFLAGS_lib/lzma += -O2
|
||||
CFLAGS_lib/zlib += -O2
|
||||
# FIX ME
|
||||
ifneq ($(filter lib lib/lzma lib/zlib, $(obj)),)
|
||||
ccflags-y := -O2
|
||||
endif
|
||||
|
||||
# Set some default LDR flags based on boot mode.
|
||||
LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user