| Age | Commit message (Collapse) | Author |
|
We decided to used unsigned int here, rather than unsigned long. But
for the generic global_data it is still unsigned long. So change it
over.
Signed-off-by: Simon Glass <[email protected]>
|
|
This file handles common pre-relocation init for boards which use
the generic framework.
It starts up the console, DRAM, performs relocation and then jumps
to post-relocation init.
Signed-off-by: Simon Glass <[email protected]>
Tested-by: Wolfgang Denk <[email protected]>
Acked-by: Wolfgang Denk <[email protected]>
|
|
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 <[email protected]> (version 5)
Signed-off-by: Simon Glass <[email protected]>
|
|
This file holds the board info structure. We need this to be generic
for the unified board series, so create a structure which contains
the basic fields required by the main architectures.
Signed-off-by: Simon Glass <[email protected]>
|
|
Add a generic global_data structure which all archs will eventually
use.
Signed-off-by: Simon Glass <[email protected]>
|
|
gpio_request() appears twice in asm-generic/gpio.h
Remove one of the definitions.
Signed-off-by: Nikita Kiryanov <[email protected]>
|
|
This function should also be part of the GPIO API, so add it.
Signed-off-by: Simon Glass <[email protected]>
|
|
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 <[email protected]>
|
|
Change "int gp" to "unsigned gpio"
Add request and free entry-points
Signed-off-by: Joe Hershberger <[email protected]>
Cc: Joe Hershberger <[email protected]>
Signed-off-by: Kim Phillips <[email protected]>
|
|
Since we want want to have a standard GPIO interface, this adds a definition
for this into include/asm-generic/gpio.h.
Signed-off-by: Simon Glass <[email protected]>
|
|
Add support for newer (up to 2.6.33) kernels
Add zboot command which takes the address of a bzImage as its first
argument and (optionally) the size of the bzImage as the second argument
(the second argument is needed for older kernels which do not include
the bzImage size in the header)
Signed-off-by: Graeme Russ <[email protected]>
|
|
This is based on the asm-arm/unaligned.h, but made generic so all arches
that cannot do unaligned accesses can utilize it.
Signed-off-by: Mike Frysinger <[email protected]>
|
|
We need signal.h for Blackfin/KGDB, so import the asm-generic/signal.h
for people to leverage.
Signed-off-by: Robin Getz <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
|
|
This patch use blackfin errno.h implementation which
correspond Linux kernel one.
MIPS implemetation is different that's why I keep it.
I removed ppc_error_no.h from Marvell boards which
was the same too.
I have got ack from ppc40x, blackfin, arm, coldfire and avr custodians.
Acked-by: Stefan Roese <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
|