06 Jun, 2017
6 commits
-
These are not needed and should not be in common.h. Drop them.
Signed-off-by: Simon Glass
-
We should not have an arch-specific header file in common.h. Adjust the
board files a little so it is not needed, and drop it.Signed-off-by: Simon Glass
-
We should not have an arch-specific header file in common.h. Instead, use
the asm/hardware.h header to provide the required declarations, and drop
the common.h changes.Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
These declarations should not be in common. Remove those that are not
needed and move the others to an arch-specific location.Signed-off-by: Simon Glass
-
These declarations should not be in common.h. Move them to an
arch-specific header.Signed-off-by: Simon Glass
-
The declarations should not be in common.h. Move them to the arch-specific
headers.Signed-off-by: Simon Glass
[trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)]
Signed-off-by: Tom Rini
05 Jun, 2017
24 commits
-
Set up a new asm/ppc.h header file to hold this arch-specific stuff. It
should not be in common.h. It probably should be refactored to use
asm/arch instead, but that is a job for the maintainer.Signed-off-by: Simon Glass
-
These definitions should not be in common.h. Move them to an arch-specific
header file.Signed-off-by: Simon Glass
-
These arch-specific declarations should not be in common.h. Drop them.
Signed-off-by: Simon Glass
-
These arch-specific functions are not needed here.
Signed-off-by: Simon Glass
-
With a small tweak we can avoid including these files for all boards.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini -
With a few tweaks we can avoid including these files, which are only
needed by two C files.Signed-off-by: Simon Glass
-
With a small fixup to u-boot-x86.h, this is not actually needed anywhere,
so drop it.Signed-off-by: Simon Glass
-
This is not actually needed anywhere, so drop it.
Signed-off-by: Simon Glass
-
This is not actually needed anywhere, so drop it.
Signed-off-by: Simon Glass
Reviewed-by: Daniel Schwierzeck -
This is not actually needed anywhere, so drop it.
Signed-off-by: Simon Glass
-
Rather than including this arch-specific header file in common.h, include
it from within nds32's u-boot.h header.Signed-off-by: Simon Glass
-
Rather than including this arch-specific header file in common.h, include
it from within mips's u-boot.h header.Signed-off-by: Simon Glass
Reviewed-by: Daniel Schwierzeck -
Rather than including this arch-specific header file in common.h, include
it from within arm's u-boot.h header.Also drop the comment about something to be fixed. It has been there
forever and it is not clear what it means.Signed-off-by: Simon Glass
-
Rather than including this arch-specific header file in common.h, include
it from within x86's u-boot.h header.Also drop the comment about something to be fixed. It is not clear what
needs fixing.Signed-off-by: Simon Glass
-
Rather than including this arch-specific header file in common.h, include
it from within sandbox's u-boot.h header.Also drop the comment about something to be fixed.
Signed-off-by: Simon Glass
-
Rather than including this arch-specific header file in common.h, include
it from within arc's u-boot.h header.Signed-off-by: Simon Glass
-
This is not used anymore. Drop it.
Signed-off-by: Simon Glass
-
Put this in its own header instead of using common.h.
Signed-off-by: Simon Glass
-
These should not be in common.h. Move the to an arch-specific header.
Signed-off-by: Simon Glass
-
Only one board needs this definition. Move it to an arch-specific header.
Signed-off-by: Simon Glass
-
This should not be in common.h. Drop it.
Signed-off-by: Simon Glass
-
Only one boards needs this definition. Move it to an arch-specific header.
Signed-off-by: Simon Glass
-
These should not be in common.h. They are used in some legacy PowerPC
code. Just drop them.Signed-off-by: Simon Glass
-
This should not be in common.h - remove it and update the only file that
needs it.Signed-off-by: Simon Glass
15 May, 2017
1 commit
-
This option is pretty old. It predates CONFIG_SYS_I2C which is itself
deprecated in favour of driver model. Disable it for all boards.Also drop I2C options which depend on this.
Signed-off-by: Simon Glass
13 Apr, 2017
1 commit
-
This allows us to use the same DRAM init function on all archs. Add a
dummy function for arc, which does not use DRAM init here.Signed-off-by: Simon Glass
[trini: Dummy function on nios2]
Signed-off-by: Tom Rini
06 Apr, 2017
8 commits
-
We don't need this PPC-specific function in generic code. Move it to
the powerpc directory.Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese -
This is an weak function present on all archs so we should have it in the
common header file. Remove it from arch-specific headers and add a
function comment.Signed-off-by: Simon Glass
-
At present we cannot use this function as an init sequence call without a
wrapper, since it returns the RAM size. Adjust it to set the RAM size in
global_data instead, and return 0 on success.Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese -
It looks like only cm5200 and tqm8xx use this feature, so we don't really
need it in generic code. Drop it and have the users access gd->board_type
directly.Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese -
Move these two function calls into checkcpu(), which is called on this
arch immediately after these two.Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese -
This function is called just before checkcpu() on MPX83xx. Move it to the
code for that arch.Signed-off-by: Simon Glass
-
There is no good reason to use a different name on PowerPC. Change it to
timer_init() like the others.Signed-off-by: Simon Glass
Reviewed-by: York Sun
Reviewed-by: Stefan Roese -
We can just call this from the only place that needs it.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese