25 Jan, 2014
2 commits
-
Signed-off-by: Masahiro Yamada
-
Like other architectures, CONFIG_AVR32 can be defined
in arch/avr32/config.mk rather than board header files.Signed-off-by: Masahiro Yamada
Cc: Andreas Bießmann
Acked-by: Andreas Bießmann
01 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
Cc: Andreas Bießmann
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
17 Jul, 2013
1 commit
-
MAKEALL is fine for ppc4xx and mpc85xx.
Run checks were done on our controlcenterd hardware.Signed-off-by: Dirk Eibach
Signed-off-by: Andy Fleming
02 Jul, 2013
1 commit
-
Commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 broke bootm on avr32. It
requires to call do_bootm_linux() with flag set to BOOTM_STATE_OS_PREP before
calling it again with flag set to BOOTM_STATE_OS_GO.
Fix this by allowing flag set to BOOTM_STATE_OS_PREP, this however will
require a complete refactoring later on.Signed-off-by: Andreas Bießmann
[trini: Apply to m68k, microblaze, nds32, nios2, openrisc, sh and sparc]
Signed-off-by: Tom Rini
13 May, 2013
1 commit
-
Commit 1865286466a5d0c7f2e3c37632da56556c838e9e (Introduce generic link
section.h symbol files) changed the __bss_end symbol type from char[] to
ulong. This led to wrong relocation parameters which ended up in a not working
u-boot. Unfortunately this is not clear to see cause due to RAM aliasing we
may get a 'half-working' u-boot then.Fix this by dereferencing the __bss_end symbol where needed.
Signed-off-by: Andreas Bießmann
02 May, 2013
1 commit
-
Delete all occurrences of hang() and provide a generic function.
Signed-off-by: Andreas Bießmann
Acked-by: Albert ARIBAUD
[trini: Modify check around puts() in hang.c slightly]
Signed-off-by: Tom Rini
19 Mar, 2013
1 commit
-
Albert's rework of the linker scripts conflicted with Simon's making
everyone use __bss_end. We also had a minor conflict over
README.scrapyard being added to in mainline and enhanced in
u-boot-arm/master with proper formatting.Conflicts:
arch/arm/cpu/ixp/u-boot.lds
arch/arm/cpu/u-boot.lds
arch/arm/lib/Makefile
board/actux1/u-boot.lds
board/actux2/u-boot.lds
board/actux3/u-boot.lds
board/dvlhost/u-boot.lds
board/freescale/mx31ads/u-boot.lds
doc/README.scrapyard
include/configs/tegra-common.hBuild tested for all of ARM and run-time tested on am335x_evm.
Signed-off-by: Tom Rini
16 Mar, 2013
3 commits
-
The frame buffer pointer in global_data is not a pointer, so we should
remove these casts.Signed-off-by: Simon Glass
Acked-by: Andreas Bießmann -
We create a separate header file for link symbols defined by the link
scripts. It is helpful to have these all in one place and try to
make them common across architectures. Since Linux already has a similar
file, we bring this in even though many of the symbols there are not
relevant to us.Each architecture has its own asm/sections.h where symbols specifc to
that architecture can be added. For now everything except AVR32 just
includes the generic header.One change is needed in arch/avr32/lib/board.c to make this conversion
work.Reviewed-by: Tom Rini (version 5)
Signed-off-by: Simon Glass -
Note this is a tree-wide change affecting multiple architectures.
At present we use __bss_start, but mostly __bss_end__. This seems
inconsistent and in a number of places __bss_end is used instead.Change to use __bss_end for the BSS end symbol throughout U-Boot. This
makes it possible to use the asm-generic/sections.h file on all
archs.Signed-off-by: Simon Glass
13 Mar, 2013
1 commit
-
Refactor linker-generated array code so that symbols
which were previously linker-generated are now compiler-
generated. This causes relocation records of type
R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
code which uses LGA able to run before relocation as
well as after.Note: this affects more than ARM targets, as linker-
lists span possibly all target architectures, notably
PowerPC.Conflicts:
arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
board/ait/cam_enc_4xx/u-boot-spl.lds
board/davinci/da8xxevm/u-boot-spl-da850evm.lds
board/davinci/da8xxevm/u-boot-spl-hawk.lds
board/vpac270/u-boot-spl.ldsSigned-off-by: Albert ARIBAUD
20 Feb, 2013
1 commit
-
On architectures where manual relocation
is needed, the 'malloc_bin_reloc' function
must be called after 'mem_malloc_init'.Make the 'malloc_bin_reloc' function static
and call it directly from 'mem_malloc_init'
instead of calling that from board_init_{r,f}
functions of the affected architectures.Signed-off-by: Gabor Juhos
Cc: Wolfgang Denk
Cc: Andreas Bießmann
Cc: Jason Jin
Cc: Macpaul Lin
Cc: Daniel Hellstrom
Cc: Daniel Schwierzeck
04 Feb, 2013
3 commits
-
Move avr32 over to use generic global_data.
Signed-off-by: Simon Glass
-
Move this field into arch_global_data and tidy up.
Signed-off-by: Simon Glass
-
Move this field into arch_global_data and tidy up.
Signed-off-by: Simon Glass
02 Feb, 2013
1 commit
-
We plan to move architecture-specific data into a separate structure so
that we can make the rest of it common.As a first step, create struct arch_global_data to hold these fields.
Initially it is empty.This patch applies to all archs at once. I can split it if this is really
a pain.Signed-off-by: Simon Glass
22 Oct, 2012
3 commits
-
The command declaration now uses the new LG-array method to generate
list of commands. Thus the __u_boot_cmd section is now superseded and
redundant and therefore can be removed. Also, remove externed symbols
associated with this section from include/command.h .Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger -
This patch converts the old method of creating a list of command
onto the new LG-arrays code. The old u_boot_cmd section is converted
to new u_boot_list_cmd subsection and LG-array macros used as needed.Minor adjustments had to be made to the common code to work with the
LG-array macros, mostly the fixup_cmdtable() calls are now passed the
ll_entry_start and ll_entry_count instead of linker-generated symbols.The command.c had to be adjusted as well so it would use the newly
introduced LG-array API instead of directly using linker-generated
symbols.Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger -
Add section for the linker-generated lists into all possible linker
files, so that everyone can easily use these lists. This is mostly
a mechanical adjustment.Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger
20 Oct, 2012
1 commit
-
These don't need to be longs, so change them.
Signed-off-by: Simon Glass
Acked-by: Andreas Bießmann
Signed-off-by: Tom Rini
27 Sep, 2012
1 commit
-
Declare malloc_bin_reloc() in malloc.h and remove all extern declarations
in various board.c files to get rid of one checkpatch.pl warning.Signed-off-by: Daniel Schwierzeck
Cc: Wolfgang Denk
Cc: Andreas Bießmann
Cc: Jason Jin
Cc: Macpaul Lin
Cc: Daniel Hellstrom
Acked-by: Andreas Bießmann
04 Sep, 2012
1 commit
-
Use portd_mask instead of portc_mask to setup the pins for port D.
Signed-off-by: Andreas Bießmann
02 Sep, 2012
1 commit
-
AVR32's LD script uses a standard location that is now automatically detected by
the main Makefile, so its definition in AVR32's config.mk is now obsolete and
redundant.Signed-off-by: Benoît Thébaudeau
Cc: Andreas Bießmann
Signed-off-by: Andreas Bießmann
10 Aug, 2012
1 commit
-
All the global flag defines are the same across all arches. So unify them
in one place, and add a simple way for arches to extend for their needs.Signed-off-by: Mike Frysinger
04 Jun, 2012
1 commit
-
This patch fixes following warning:
---88---
Patch de30122bb58fee7b0f94bcfabab595b6ad757336 missed to remove this variable
too.Signed-off-by: Andreas Bießmann
16 May, 2012
2 commits
-
All arches init this the same way, so move the logic into the core
net code to avoid duplicating it everywhere else.Signed-off-by: Mike Frysinger
Reviewed-by: Joe Hershberger -
This field gets read in one place (by "bdinfo"), and we can replace
that with getenv("ipaddr"). After all, the bi_ip_addr field is kept
up-to-date implicitly with the value of the ipaddr env var.Signed-off-by: Mike Frysinger
Reviewed-by: Joe Hershberger
19 Mar, 2012
2 commits
-
These calls should not be made directly any more, since bootstage
will call the show_boot_...() functions as needed.Signed-off-by: Simon Glass
-
This changes the number 15 as used in boot_stage_progress() to use the
new name provided for it. This is a separate patch because it touches
so many files.Signed-off-by: Simon Glass
Acked-by: Mike Frysinger
13 Mar, 2012
2 commits
-
All boards are using the gen_atmel_mci driver now, so no need
to carry the old driver around.Signed-off-by: Sven Schnelle
Signed-off-by: Andreas Bießmann -
gen_atmel_mci works on AVR32 as well, so no need to use the legacy
mmc driver. This also has the nice side effect of being able to use
SDHC cards an those boards.Signed-off-by: Sven Schnelle
Signed-off-by: Andreas Bießmann
24 Dec, 2011
1 commit
-
* 'next' of ../next:
mkenvimage: Add version info switch (-V)
mkenvimage: Fix getopt() error handling
mkenvimage: Fix some typos
phy: add Micrel KS8721BL phy definition
net: introduce per device index
mvgbe: remove setting of ethaddr within the driver
x86: Add support for specifying an initrd with the zboot command
x86: Refactor the zboot innards so they can be reused with a vboot image
x86: Add infrastructure to extract an e820 table from the coreboot tables
x86: Add support for booting Linux using the 32 bit boot protocol
x86: Clean up the x86 zimage code in preparation to extend it
x86: Import code from coreboot's libpayload to parse the coreboot table
x86: Initial commit for running as a coreboot payload
CHECKPATCH: ./board/esd/hh405/logo_320_240_8bpp.c
CHECKPATCH: ./board/esd/hh405/logo_1024_768_8bpp.c
CHECKPATCH: ./board/esd/hh405/logo_320_240_4bpp.c
CHECKPATCH: ./board/esd/hh405/logo_640_480_24bpp.c
CHECKPATCH: ./board/esd/apc405/logo_640_480_24bpp.c
CHECKPATCH: ./board/esd/voh405/logo_320_240_4bpp.c
CHECKPATCH: ./board/esd/voh405/logo_640_480_24bpp.c
CHECKPATCH: ./board/esd/hh405/fpgadata.c
CHECKPATCH: ./board/esd/pci405/fpgadata.c
CHECKPATCH: ./board/esd/tasreg/fpgadata.c
CHECKPATCH: ./board/esd/apc405/fpgadata.c
CHECKPATCH: ./board/esd/voh405/fpgadata.c
CHECKPATCH: ./board/esd/ash405/fpgadata.c
CHECKPATCH: ./board/esd/dasa_sim/fpgadata.c
CHECKPATCH: ./board/esd/ar405/fpgadata_xl30.c
CHECKPATCH: ./board/esd/ar405/fpgadata.c
CHECKPATCH: ./board/esd/plu405/fpgadata.c
CHECKPATCH: ./board/esd/wuh405/fpgadata.c
CHECKPATCH: ./board/esd/cpci405/fpgadata_cpci405.c
CHECKPATCH: ./board/esd/cpci405/fpgadata_cpci405ab.c
CHECKPATCH: ./board/esd/cpci405/fpgadata_cpci4052.c
CHECKPATCH: ./board/esd/canbt/fpgadata.c
CHECKPATCH: ./board/esd/du405/fpgadata.c
CHECKPATCH: ./board/esd/cpciiser4/fpgadata.c
CHECKPATCH: ./board/dave/PPChameleonEVB/fpgadata.c
avr32:mmu.c: fix printf() length modifier
fat.c: fix printf() length modifier
cmd_sf.c: fix printf() length modifier
Make printf and vprintf safe from buffer overruns
vsprintf: Move function documentation into header file
Add safe vsnprintf and snprintf library functions
Move vsprintf functions into their own headerConflicts:
tools/mkenvimage.cSigned-off-by: Wolfgang Denk
21 Dec, 2011
1 commit
-
timer_init() now returns an int (the error code) instead of void.
This makes compilation fail with:interrupts.c:111: error: conflicting types for 'timer_init'
/home/svens/u-boot/u-boot/include/common.h:246: error: previous
declaration of 'timer_init' was here
make[1]: *** [interrupts.o] Error 1Signed-off-by: Sven Schnelle
Acked-by: Andreas Bießmann
Signed-off-by: Anatolij Gustschin
18 Dec, 2011
1 commit
-
avr32 uses unsigned long addresses, fix the printf() length modifier for that
fact.Before this patch following warning occours:
---88---
Signed-off-by: Andreas Bießmann
cc: Mike Frysinger
cc: Thomas Chou
cc: Reinhard Meyer
Acked-by: Mike Frysinger
24 Oct, 2011
2 commits
-
This changes the board code to use the new getenv_ulong() function.
Signed-off-by: Simon Glass
-
Signed-off-by: Anton Staaf
Cc: Mike Frysinger
Cc: Lukasz Majewski
Cc: Reinhard Meyer
06 Oct, 2011
2 commits
-
This is long over due. All but two net drivers have been converted, but
those have now been dropped.The only thing left to do is actually delete all references to NET_MULTI
and code that is compiled when that is not defined. So here we scrub the
core code.Signed-off-by: Mike Frysinger
-
This pushes the ugly duplicated arch ifdef lists we maintain in various
image related files out to the arch headers themselves.Acked-by: Nobuhiro Iwamatsu
Tested-by: Thomas Chou
Signed-off-by: Mike Frysinger