e424c15c | 11-Mar-2013 |
Simon Glass <sjg@chromium.org> |
x86: Enable generic board support
This enables generic board support so that x86 boards can define CONFIG_SYS_GENERIC_BOARD.
Signed-off-by: Simon Glass <sjg@chromium.org> |
86cfb6bd | 05-Mar-2013 |
Simon Glass <sjg@chromium.org> |
x86: Use sections header to obtain link symbols
These are defined in asm-generic/sections.h, so remove them from architecture-specific files.
Signed-off-by: Simon Glass <sjg@chromium.org> |
716cc8cc | 05-Mar-2013 |
Simon Glass <sjg@chromium.org> |
Change stub example to use asm-generic/sections.h
We can use the declarations of __bss_start and _end from this header instead of declaring them locally.
Signed-off-by: Simon Glass <sjg@chromium.or
Change stub example to use asm-generic/sections.h
We can use the declarations of __bss_start and _end from this header instead of declaring them locally.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
18652864 | 05-Mar-2013 |
Simon Glass <sjg@chromium.org> |
Introduce generic link section.h symbol files
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
Introduce generic link section.h symbol files
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 <trini@ti.com> (version 5) Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
f697d528 | 28-Feb-2013 |
Simon Glass <sjg@chromium.org> |
x86: Support relocation of FDT on start-up
With CONFIG_OF_CONTROL we may have an FDT in the BSS region. Relocate it up with the rest of U-Boot to keep the rest of memory free.
Signed-off-by: Simon
x86: Support relocation of FDT on start-up
With CONFIG_OF_CONTROL we may have an FDT in the BSS region. Relocate it up with the rest of U-Boot to keep the rest of memory free.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
4b491b8d | 28-Feb-2013 |
Simon Glass <sjg@chromium.org> |
x86: Add an __end symbol to signal the end of the U-Boot binary
With this symbol we can easy append something (e.g. an FDT) to the U-Boot binary and access it from within U-Boot.
Signed-off-by: Sim
x86: Add an __end symbol to signal the end of the U-Boot binary
With this symbol we can easy append something (e.g. an FDT) to the U-Boot binary and access it from within U-Boot.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
bc2df1af | 28-Feb-2013 |
Simon Glass <sjg@chromium.org> |
x86: Permit bootstage and timer data to be used prior to relocation
It is useful to be able to access the timer before U-Boot has relocated so that we can fully support bootstage.
Add new global_da
x86: Permit bootstage and timer data to be used prior to relocation
It is useful to be able to access the timer before U-Boot has relocated so that we can fully support bootstage.
Add new global_data members to support this.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
96dfc063 | 14-Feb-2013 |
Simon Glass <sjg@chromium.org> |
x86: Remove unused real mode code
This code is pretty old and we want to support only 32-bit systems now.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Graeme Russ <graeme.russ@gmail.com> |
1f3a5814 | 13-Feb-2013 |
Simon Glass <sjg@chromium.org> |
x86: Remove sc520 cpu
This x86 CPU variant is no longer required as the boards that use it have been removed.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Graeme Russ <graeme.russ@gmail.
x86: Remove sc520 cpu
This x86 CPU variant is no longer required as the boards that use it have been removed.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Graeme Russ <graeme.russ@gmail.com>
show more ...
|
58864ddc | 07-Feb-2013 |
Gerald Van Baren <gvb@unssw.com> |
Clean up libfdt.h includes
The libfdt.h file is the definition file for libfdt. It is unnecessary to include other fdt header files (the necessary ones are pulled in by libfdt.h).
Signed-off-by: G
Clean up libfdt.h includes
The libfdt.h file is the definition file for libfdt. It is unnecessary to include other fdt header files (the necessary ones are pulled in by libfdt.h).
Signed-off-by: Gerald Van Baren <gvb@unssw.com> Acked-by: Simon Glass <sjg@chromium.org> Acked-by: Stefan Roese <sr@denx.de>
show more ...
|
12e06fe0 | 16-Jan-2013 |
Kim Phillips <kim.phillips@freescale.com> |
treewide: include libfdt_env.h before fdt.h
and, if including libfdt.h which includes libfdt_env.h in the correct order, don't include fdt.h before libfdt.h.
this is needed to get the fdt type defi
treewide: include libfdt_env.h before fdt.h
and, if including libfdt.h which includes libfdt_env.h in the correct order, don't include fdt.h before libfdt.h.
this is needed to get the fdt type definitions set from the project environment before fdt.h uses them.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Cc: Jerry Van Baren <gvb.uboot@gmail.com>
show more ...
|
43cff66e | 13-Dec-2012 |
Simon Glass <sjg@chromium.org> |
x86: Use generic global_data
Move x86 over to use generic global_data.
Signed-off-by: Simon Glass <sjg@chromium.org> |
6cb49c13 | 13-Dec-2012 |
Simon Glass <sjg@chromium.org> |
x86: Remove reset_status, relocoff from global_data
These fields are not used on x86, so punt them.
Signed-off-by: Simon Glass <sjg@chromium.org> |
5a35e6c4 | 13-Dec-2012 |
Simon Glass <sjg@chromium.org> |
x86: Move gd_addr into arch_global_data
Move this field into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Add arch/x86/cpu/cpu.c changes after Graeme's commen
x86: Move gd_addr into arch_global_data
Move this field into arch_global_data and tidy up.
Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Add arch/x86/cpu/cpu.c changes after Graeme's comments] Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
df4aa625 | 13-Dec-2012 |
Simon Glass <sjg@chromium.org> |
x86: Remove gdt_addr from arch_global_data
Remove this unused field.
Signed-off-by: Simon Glass <sjg@chromium.org> |
5cb48582 | 13-Dec-2012 |
Simon Glass <sjg@chromium.org> |
Add architecture-specific global data
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
Add architecture-specific global data
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 <sjg@chromium.org>
show more ...
|
a94e9d70 | 03-Nov-2012 |
Simon Glass <sjg@chromium.org> |
x86: Remove video_init() prototype from u-boot-x86.h
This function is not intended to be exported from the video drivers, so remove the prototype. This fixes an error:
cfb_console.c:1793:12: error:
x86: Remove video_init() prototype from u-boot-x86.h
This function is not intended to be exported from the video drivers, so remove the prototype. This fixes an error:
cfb_console.c:1793:12: error: static declaration of 'video_init' follows non-static declaration
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
91d82a29 | 03-Nov-2012 |
Gabe Black <gabeblack@chromium.org> |
x86: Add back cold- and warm-boot flags
These were removed, but actually are useful.
Cold means that we started from a reset/power on. Warm means that we started from another U-Boot.
We determine
x86: Add back cold- and warm-boot flags
These were removed, but actually are useful.
Cold means that we started from a reset/power on. Warm means that we started from another U-Boot.
We determine whether u-boot on x86 was warm or cold booted (really if it started at the beginning of the text segment or at the ELF entry point). We plumb the result through to the global data structure.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
8313315b | 03-Nov-2012 |
Gabe Black <gabeblack@chromium.org> |
x86: Initialise SPI if enabled
If we have SPI support, make sure that we init it.
Signed-off-by: Gabe Black <gabeblack@google.com> Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Vic Y
x86: Initialise SPI if enabled
If we have SPI support, make sure that we init it.
Signed-off-by: Gabe Black <gabeblack@google.com> Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Vic Yang <victoryang@chromium.org>
show more ...
|
ec516c48 | 23-Oct-2012 |
Gabe Black <gabeblack@chromium.org> |
x86: Increase the size of the phys_size_t and phys_addr_t types
These types should be 64 bits long to reflect the fact that physical addresses and the size of physical areas of memory are more than
x86: Increase the size of the phys_size_t and phys_addr_t types
These types should be 64 bits long to reflect the fact that physical addresses and the size of physical areas of memory are more than 32 bits long.
Signed-off-by: Gabe Black <gabeblack@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
98568f0f | 01-Dec-2012 |
Graeme Russ <graeme.russ@gmail.com> |
x86: Import MSR/MTRR code from Linux
Imported from Linux 3.1 with a few modifications to suit U-Boot
Signed-off-by: Simon Glass <sjg@chromium.org> |
095593c0 | 01-Dec-2012 |
Stefan Reinauer <reinauer@chromium.org> |
x86: Add basic cache operations
Add functions to enable/disable the data cache.
Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> |
3cdc18a8 | 23-Oct-2012 |
Vadim Bendebury <vbendeb@chromium.org> |
x86: Add a CBMEM timestamp generated right before the kernel startup.
To maintain the initialization state of the timestamp facility, thesq pointer to the CBMEM section containing the timestamp tabl
x86: Add a CBMEM timestamp generated right before the kernel startup.
To maintain the initialization state of the timestamp facility, thesq pointer to the CBMEM section containing the timestamp table should be kept in the .data section (so that it is maintained across u-boot relocation).
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
6dbe0cce | 23-Oct-2012 |
Vadim Bendebury <vbendeb@chromium.org> |
x86: Enable coreboot timestamp facility support in u-boot.
This change turns on the code which allows u-boot to add timestamps to the timestamp table created by coreboot.
Since u-boot does not use
x86: Enable coreboot timestamp facility support in u-boot.
This change turns on the code which allows u-boot to add timestamps to the timestamp table created by coreboot.
Since u-boot does not use the tsc_t like structure to represent HW counter readings, this structure is being replaced by 64 bit integer.
The timestamp_init() function is now initializing the base timer value used by u-boot to calculate the HW counter increments.
Timestamp facility is initialized as soon as the timestamp table pointer is found in the coreboot table. The u-boot generated timer events' ID will start at 1000 to clearly separate u-boot events from coreboot events in the timer trace.
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
2f899e03 | 23-Oct-2012 |
Vadim Bendebury <vbendeb@chromium.org> |
x86: Add function to read time stamp counter
Put this function in the u-boot-x86.h header file. We could instead create timer.h perhaps.
We support setting a base time, and reading the time relativ
x86: Add function to read time stamp counter
Put this function in the u-boot-x86.h header file. We could instead create timer.h perhaps.
We support setting a base time, and reading the time relative to this base.
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|