| d6ed3222 | 11-May-2013 |
Wolfgang Denk <wd@denx.de> |
Power: remove support for Freescale MPC8220
The Freescale MPC8220 Power Architecture processors have long reached EOL; Freescale does not even list these any more on their web site.
Remove the code
Power: remove support for Freescale MPC8220
The Freescale MPC8220 Power Architecture processors have long reached EOL; Freescale does not even list these any more on their web site.
Remove the code to avoid wasting maitaining efforts on dead stuff.
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Andy Fleming <afleming@gmail.com>
show more ...
|
| ade8a1a6 | 09-May-2013 |
Ying Zhang <b40530@freescale.com> |
drivers/mmc: move spl_mmc.c to common/spl
The mpc85xx repuires a special layout on the memory device that is connected to the eSDHC controller interface. But the file spl_mmc.c didn't handle this sp
drivers/mmc: move spl_mmc.c to common/spl
The mpc85xx repuires a special layout on the memory device that is connected to the eSDHC controller interface. But the file spl_mmc.c didn't handle this specfic case, there needs a special treatmen, in the powerpc drictory. So, there is no longer to keep spl_mmc.c on mpc85xx, CONFIG_SPL_FRAMEWORK is not set.
When CONFIG_SPL_MMC_SUPPORT is set and CONFIG_SPL_FRAMEWORK is not set, there was an error in drivers/mmc/spl_mmc.c:
drivers/mmc/libmmc.o:(.got2+0x8): undefined reference to `spl_image'.
Now, the solution is to move the file "spl_mmc.c" to directory "common/spl".
Signed-off-by: Ying Zhang <b40530@freescale.com>
show more ...
|
| c19d13b0 | 08-May-2013 |
Simon Glass <sjg@chromium.org> |
arm: Refactor bootm to reduce #ifdefs
With fewer #ifdefs the code is more readable and more of the code is compiled for all boards. Add defines in the header file to control what features are enable
arm: Refactor bootm to reduce #ifdefs
With fewer #ifdefs the code is more readable and more of the code is compiled for all boards. Add defines in the header file to control what features are enabled, and then use if() instead of #ifdef.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 13d06981 | 08-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Add device tree setup to image library
This seems to be a common function for several architectures, so create a common function rather than duplicating the code in each arch.
Also make an a
image: Add device tree setup to image library
This seems to be a common function for several architectures, so create a common function rather than duplicating the code in each arch.
Also make an attempt to avoid introducing #ifdefs in the new code, partly by removing useless #ifdefs around function declarations in the image.h header.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 44d3a306 | 08-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Split libfdt code into image-fdt.c
The image file is still very large, and some of the code is only used when libfdt is in use. Move this code into a new file.
Signed-off-by: Simon Glass <sj
image: Split libfdt code into image-fdt.c
The image file is still very large, and some of the code is only used when libfdt is in use. Move this code into a new file.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 87ebee39 | 08-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Add CONFIG_FIT_SPL_PRINT to control FIT image printing in SPL
This code is very large, and in SPL it isn't always useful to print out image information (in fact there might not even be a cons
image: Add CONFIG_FIT_SPL_PRINT to control FIT image printing in SPL
This code is very large, and in SPL it isn't always useful to print out image information (in fact there might not even be a console active). So disable this feature unless this option is set.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 1fe7d938 | 08-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Remove remaining #ifdefs in image-fit.c
There are only two left. One is unnecessary and the other can be moved to the header file.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 35e7b0f1 | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
sandbox: image: Add support for booting images in sandbox
Much of the image code uses addresses as ulongs and pointers interchangeably, casting between the two forms as needed.
This doesn't work wi
sandbox: image: Add support for booting images in sandbox
Much of the image code uses addresses as ulongs and pointers interchangeably, casting between the two forms as needed.
This doesn't work with sandbox, which has a U-Boot RAM buffer which is separate from the host machine's memory.
Adjust the cost so that translating from a U-Boot address to a pointer uses map_sysmem(). This allows bootm to work correctly on sandbox.
Note that there are no exhaustive tests for this code on sandbox, so it is possible that some dark corners remain.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de> (v1)
show more ...
|
| d8b75360 | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Rename hash printing to fit_image_print_verification_data()
This function will be used to print signatures as well as hashes, so rename it. Also make it static since it is not used outside th
image: Rename hash printing to fit_image_print_verification_data()
This function will be used to print signatures as well as hashes, so rename it. Also make it static since it is not used outside this file.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| 003efd7d | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Export fit_conf_get_prop_node()
This function will be needed by signature checking code, so export it, and also add docs.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| e754da2a | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Move error! string to common place
The string " error\n" appears in each error string. Move it out to a common place.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <
image: Move error! string to common place
The string " error\n" appears in each error string. Move it out to a common place.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| ab9efc66 | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Move hash checking into its own function
The existing function is long and most of the code is indented a long way. Before adding yet more code, split this out into its own function.
Signed-
image: Move hash checking into its own function
The existing function is long and most of the code is indented a long way. Before adding yet more code, split this out into its own function.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de> (v1)
show more ...
|
| b8da8366 | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Rename fit_image_check_hashes() to fit_image_verify()
This is the main entry point to the FIT image verification code. We will be using it to handle image verification with signatures, so ren
image: Rename fit_image_check_hashes() to fit_image_verify()
This is the main entry point to the FIT image verification code. We will be using it to handle image verification with signatures, so rename the function.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| 604f23dd | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Move HOSTCC image code to tools/
This code is never compiled into U-Boot, so move it into a separate file in tools/ to avoid the large #ifdef.
Signed-off-by: Simon Glass <sjg@chromium.org> R
image: Move HOSTCC image code to tools/
This code is never compiled into U-Boot, so move it into a separate file in tools/ to avoid the large #ifdef.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| 53fbb7e8 | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Split FIT code into new image-fit.c
The FIT code is about half the size of the >3000-line image.c. Split this code into its own file.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-b
image: Split FIT code into new image-fit.c
The FIT code is about half the size of the >3000-line image.c. Split this code into its own file.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| 61a439a8 | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Export fit_check_ramdisk()
One we split out the FIT code from image.c we will need this function. Export it in the header.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Va
image: Export fit_check_ramdisk()
One we split out the FIT code from image.c we will need this function. Export it in the header.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
show more ...
|
| 859e92b7 | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
image: Move timestamp #ifdefs to header file
Rather than repeat the line #if defined(CONFIG_TIMESTAMP) || defined(CONFIG_CMD_DATE) || \ defined(USE_HOSTCC)
everywhere, put this in a header file a
image: Move timestamp #ifdefs to header file
Rather than repeat the line #if defined(CONFIG_TIMESTAMP) || defined(CONFIG_CMD_DATE) || \ defined(USE_HOSTCC)
everywhere, put this in a header file and #define IMAGE_ENABLE_TIMESTAMP to either 1 or 0. Then we can use a plain if() in most code and avoid the #ifdefs.
The compiler's dead code elimination ensures that the result is the same.
Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Marek Vasut <marex@denx.de>
show more ...
|
| 6f907b42 | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
hash: Add a way to calculate a hash for any algortihm
Rather than needing to call one of many hashing algorithms in U-Boot, provide a function hash_block() which handles this, and can support all av
hash: Add a way to calculate a hash for any algortihm
Rather than needing to call one of many hashing algorithms in U-Boot, provide a function hash_block() which handles this, and can support all available hash algorithms.
Once we have md5 supported within hashing, we can use this function in the FIT image code.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 9602286d | 07-May-2013 |
Simon Glass <sjg@chromium.org> |
env: Fix minor comment typos in cmd_nvedit
This should say 'environmnent'.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| 805fa87f | 14-May-2013 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin into powerpc-eldk53-warning-fixes |
| a92181b3 | 17-Apr-2013 |
Simon Glass <sjg@chromium.org> |
x86: Fix warning in cmd_ximg.c when CONFIG_GZIP is not defined
This local variable is not used unless CONFIG_GZIP is defined. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org> |
| fb7db41c | 17-Apr-2013 |
Simon Glass <sjg@chromium.org> |
bootstage: Allow marking a particular line of code
Add a function which allows a (file, function, line number) to be marked in bootstage.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
bootstage: Allow marking a particular line of code
Add a function which allows a (file, function, line number) to be marked in bootstage.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Che-Liang Chiou <clchiou@chromium.org>
show more ...
|
| 158e7d05 | 17-Apr-2013 |
Doug Anderson <dianders@chromium.org> |
Call bootstage_relocate() after malloc is initted
In a previous CL we added the bootstage_relocate(), which should be called after malloc is initted. Now we call it on generic board.
Signed-off-by
Call bootstage_relocate() after malloc is initted
In a previous CL we added the bootstage_relocate(), which should be called after malloc is initted. Now we call it on generic board.
Signed-off-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 150678a5 | 17-Apr-2013 |
Doug Anderson <dianders@chromium.org> |
bootstage: Copy bootstage strings post-relocation
Any pointers to name strings that were passed to bootstage_mark_name() pre-relocation should be copied post-relocation so that they don't get trashe
bootstage: Copy bootstage strings post-relocation
Any pointers to name strings that were passed to bootstage_mark_name() pre-relocation should be copied post-relocation so that they don't get trashed as the original location of U-Boot is re-used for other purposes.
This change introduces a new API call that should be called from board_init_r() after malloc has been initted on any board that uses bootstage.
Signed-off-by: Doug Anderson <dianders@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 7d861d95 | 05-Feb-2013 |
Bob Liu <lliubbo@gmail.com> |
blackfin: bf609: add softswitch config command
Add softswitch_output command for bf609-ezkit to enable softswitches.
Signed-off-by: Bob Liu <lliubbo@gmail.com> Signed-off-by: Sonic Zhang <sonic.zha
blackfin: bf609: add softswitch config command
Add softswitch_output command for bf609-ezkit to enable softswitches.
Signed-off-by: Bob Liu <lliubbo@gmail.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
show more ...
|