| c48e6868 | 11-Apr-2014 |
Alexander Graf <agraf@suse.de> |
fdt_support: Add helper function to read "ranges" property
This patch adds a helper function that can be used to interpret most "ranges" properties in the device tree.
It reads the n'th range out o
fdt_support: Add helper function to read "ranges" property
This patch adds a helper function that can be used to interpret most "ranges" properties in the device tree.
It reads the n'th range out of a "ranges" array and returns the node's virtual address of the range, the physical address that range starts at and the size of the range.
Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Scott Wood <scottwood@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
show more ...
|
| 94fb182c | 11-Apr-2014 |
Alexander Graf <agraf@suse.de> |
fdt_support: split fdt_getprop_u32_default
We already have a nice helper to give us a property cell value with default fall back from a path. Split that into two helpers - one for the old path based
fdt_support: split fdt_getprop_u32_default
We already have a nice helper to give us a property cell value with default fall back from a path. Split that into two helpers - one for the old path based lookup and one to give us a value based on a node offset.
Signed-off-by: Alexander Graf <agraf@suse.de> Acked-by: Scott Wood <scottwood@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
show more ...
|
| 6dc9bace | 07-Apr-2014 |
Paul Burton <paul.burton@imgtec.com> |
board_f: call timer_init on MIPS
MIPS needs a call to timer_init to preserve its current behaviour ensuring that the cop0 compare register is initialised appropriately.
Reported-by: Daniel Schwierz
board_f: call timer_init on MIPS
MIPS needs a call to timer_init to preserve its current behaviour ensuring that the cop0 compare register is initialised appropriately.
Reported-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Paul Burton <paul.burton@imgtec.com>
show more ...
|
| 3da7e5a5 | 07-Apr-2014 |
Paul Burton <paul.burton@imgtec.com> |
board_f: call init_func_ram on MIPS
Assigning gd->ram_size the return value of initdram matches the existing MIPS board behaviour.
Suggested-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Si
board_f: call init_func_ram on MIPS
Assigning gd->ram_size the return value of initdram matches the existing MIPS board behaviour.
Suggested-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Paul Burton <paul.burton@imgtec.com>
show more ...
|
| 77cc8902 | 15-Apr-2014 |
Kees Cook <keescook@chromium.org> |
bootm: set max decompression size for LZO
The LZO decompressor wasn't initializing the maximum output size, which meant it would fail to decompress most of the time.
Reported-by: Matthias Weißer <w
bootm: set max decompression size for LZO
The LZO decompressor wasn't initializing the maximum output size, which meant it would fail to decompress most of the time.
Reported-by: Matthias Weißer <weisserm@arcor.de> Signed-off-by: Kees Cook <keescook@chromium.org> Tested-by: Matthias Weißer <weisserm@arcor.de> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| c4474fc8 | 04-Apr-2014 |
Paul Burton <paul.burton@imgtec.com> |
board_r: return 0 from show_model_r
The show_model_r function should return an int but didn't. Return 0 to indicate inevitable success and avoid the following if it is used:
common/board_r.c: In fu
board_r: return 0 from show_model_r
The show_model_r function should return an int but didn't. Return 0 to indicate inevitable success and avoid the following if it is used:
common/board_r.c: In function 'show_model_r': common/board_r.c:531:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^
Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Paul Burton <paul.burton@imgtec.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| fd11bea2 | 27-Mar-2014 |
Ian Campbell <ijc@hellion.org.uk> |
blackfin: make name_to_gpio be a weak symbol
This required moving it into a C file from the header.
The only user of a non-default name_to_gpio is blackfin, therefore build tested with the blackfin
blackfin: make name_to_gpio be a weak symbol
This required moving it into a C file from the header.
The only user of a non-default name_to_gpio is blackfin, therefore build tested with the blackfin bct-brettl2 build, which is one I picked at random. Also tested with a build for the ARM tec board which uses the default/fallback implementation. Inspection with objdump shows that both have done the right thing.
This change was requested by Marek during review of the sunxi patch series.
Signed-off-by: Ian Campbell <ijc@hellion.org.uk> Cc: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Sonic Zhang <sonic.adi@gmail.com>
show more ...
|
| 3fa1981e | 17-Apr-2014 |
Tom Rini <trini@ti.com> |
env_flash.c: Drop unused variables
With 7ce1526 we no longer need 'len' or 'res', so drop these variables.
Signed-off-by: Tom Rini <trini@ti.com> |
| bf411ea9 | 04-Apr-2014 |
Karicheri, Muralidharan <m-karicheri2@ti.com> |
tools: mkimage: add support for gpimage format
This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage format. It re-uses
tools: mkimage: add support for gpimage format
This patch add support for gpimage format as a preparatory patch for porting u-boot for keystone2 devices and is based on omapimage format. It re-uses gph header to store the size and loadaddr as done in omapimage.c
Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Acked-by: Tom Rini <trini@ti.com>
show more ...
|
| 00c200f1 | 04-Apr-2014 |
Vitaly Andrianov <vitalya@ti.com> |
fdt: call ft_board_setup_ex() at the end of image_setup_libfdt()
The keystone2 SOC requires to fix all 32 bit aliased addresses to their 36 physical format. This has to happen after all fdt nodes ar
fdt: call ft_board_setup_ex() at the end of image_setup_libfdt()
The keystone2 SOC requires to fix all 32 bit aliased addresses to their 36 physical format. This has to happen after all fdt nodes are added or modified.
Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Acked-by: Tom Rini <trini@ti.com>
show more ...
|
| ae1590ed | 28-Mar-2014 |
Tom Rini <trini@ti.com> |
spl_mmc/CONFIG_SPL_OS_BOOT: Allow environment to determine what to boot
We add two new environment variables, falcon_args_file and falcon_image_file, which when set will override the compiled in def
spl_mmc/CONFIG_SPL_OS_BOOT: Allow environment to determine what to boot
We add two new environment variables, falcon_args_file and falcon_image_file, which when set will override the compiled in default values for falcon mode.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 39b924a3 | 28-Mar-2014 |
Tom Rini <trini@ti.com> |
env_mmc.c: Remove NULL check on tmp_env1/2
With 452a272 we moved to allocating these variables on the stack. So they will never now be NULL so remove these checks.
Signed-off-by: Tom Rini <trini@t
env_mmc.c: Remove NULL check on tmp_env1/2
With 452a272 we moved to allocating these variables on the stack. So they will never now be NULL so remove these checks.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| b9c8ccab | 28-Mar-2014 |
Tom Rini <trini@ti.com> |
env_mmc.c: Allow environment to be used within SPL
Inside of SPL we only concern ourself with one MMC device, so instead of being able to use CONFIG_SYS_MMC_ENV_DEV we need to use 0 in SPL. Switch t
env_mmc.c: Allow environment to be used within SPL
Inside of SPL we only concern ourself with one MMC device, so instead of being able to use CONFIG_SYS_MMC_ENV_DEV we need to use 0 in SPL. Switch the code to use a 'dev' variable to facilitate this.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 9f661504 | 31-Mar-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
floppy: delete unused files
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> |
| 0f507779 | 17-Apr-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'next' |
| 0f605c15 | 22-Mar-2014 |
Simon Glass <sjg@chromium.org> |
Start the deprecation process for generic board
We should move forward to remove the old board init code. Add a prominent message to encourage maintainers to get started on this work.
Signed-off-by
Start the deprecation process for generic board
We should move forward to remove the old board init code. Add a prominent message to encourage maintainers to get started on this work.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 04d2f0a9 | 04-Apr-2014 |
Tom Rini <trini@ti.com> |
Revert "Start the deprecation process for generic board"
We've run into a non-trivial conversion to CONFIG_SYS_GENERIC_BOARD so we'll postpone this notice until right after v2014.04 is out.
This re
Revert "Start the deprecation process for generic board"
We've run into a non-trivial conversion to CONFIG_SYS_GENERIC_BOARD so we'll postpone this notice until right after v2014.04 is out.
This reverts commit 36c4b1d98059244c34ec3327d9cc9f3c552fd01b.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 39206382 | 02-Apr-2014 |
Przemyslaw Marczak <p.marczak@samsung.com> |
cmd:gpt: randomly generate each partition uuid if undefined
Changes: - randomly generate partition uuid if any is undefined and CONFIG_RAND_UUID is defined - print debug info about set/unset/gener
cmd:gpt: randomly generate each partition uuid if undefined
Changes: - randomly generate partition uuid if any is undefined and CONFIG_RAND_UUID is defined - print debug info about set/unset/generated uuid - update doc/README.gpt
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com> Cc: Piotr Wilczek <p.wilczek@samsung.com> Cc: Tom Rini <trini@ti.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|
| 33ace362 | 07-Feb-2014 |
Tom Rini <trini@ti.com> |
mmc: Add 'mmc rst-function' sub-command
Some eMMC chips may need the RST_n_FUNCTION bit set to a non-zero value in order for warm reset of the system to work. Details on this being required will be
mmc: Add 'mmc rst-function' sub-command
Some eMMC chips may need the RST_n_FUNCTION bit set to a non-zero value in order for warm reset of the system to work. Details on this being required will be part of the eMMC datasheet. Also add using this command to the dra7xx README.
* Whitespace fix by panto
Signed-off-by: Tom Rini <trini@ti.com> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
show more ...
|
| 36c4b1d9 | 22-Mar-2014 |
Simon Glass <sjg@chromium.org> |
Start the deprecation process for generic board
We should move forward to remove the old board init code. Add a prominent message to encourage maintainers to get started on this work.
Signed-off-by
Start the deprecation process for generic board
We should move forward to remove the old board init code. Add a prominent message to encourage maintainers to get started on this work.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 01a0c647 | 19-Mar-2014 |
Matthias Fuchs <matthias.fuchs@esd.eu> |
common, env: Fix support for environment in i2c eeprom
When using CONFIG_SYS_I2C i2c needs to be initialized by i2c_init_all(). This is done in some places but not in eeprom_init().
Signed-off-by:
common, env: Fix support for environment in i2c eeprom
When using CONFIG_SYS_I2C i2c needs to be initialized by i2c_init_all(). This is done in some places but not in eeprom_init().
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
show more ...
|
| 82b95473 | 28-Mar-2014 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-mmc |
| 93bfd616 | 11-Mar-2014 |
Pantelis Antoniou <panto@antoniou-consulting.com> |
mmc: Split mmc struct, rework mmc initialization (v2)
The way that struct mmc was implemented was a bit of a mess; configuration and internal state all jumbled up in a single structure.
On top of t
mmc: Split mmc struct, rework mmc initialization (v2)
The way that struct mmc was implemented was a bit of a mess; configuration and internal state all jumbled up in a single structure.
On top of that the way initialization is done with mmc_register leads to a lot of duplicated code in drivers.
Typically the initialization got something like this in every driver.
struct mmc *mmc = malloc(sizeof(struct mmc)); memset(mmc, 0, sizeof(struct mmc); /* fill in fields of mmc struct */ /* store private data pointer */ mmc_register(mmc);
By using the new mmc_create call one just passes an mmc config struct and an optional private data pointer like this:
struct mmc = mmc_create(&cfg, priv);
All in tree drivers have been updated to the new form, and expect mmc_register to go away before long.
Changes since v1:
* Use calloc instead of manually calling memset. * Mark mmc_register as deprecated.
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
show more ...
|
| 5527f832 | 16-Feb-2014 |
Patrice Bouchand <pbfwdlist@gmail.com> |
Add lzmadec command
I needed to be able to uncompress lzma files. I did this command based on unzip command and propose it if it could help.
Signed-off-by: Patrice Bouchand <pbfwdlist@gmail.com> Ch
Add lzmadec command
I needed to be able to uncompress lzma files. I did this command based on unzip command and propose it if it could help.
Signed-off-by: Patrice Bouchand <pbfwdlist@gmail.com> Changed to work with sandbox Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| a4223b74 | 05-Mar-2014 |
Marek Vasut <marex@denx.de> |
env: Implement support for encrypting environment
Add function which allows encrypting the whole environment block with AES-128-CBC. The key for the environment is retrieved by env_aes_cbc_get_key()
env: Implement support for encrypting environment
Add function which allows encrypting the whole environment block with AES-128-CBC. The key for the environment is retrieved by env_aes_cbc_get_key() function, which must be implemented on a per-board basis.
Signed-off-by: Marek Vasut <marex@denx.de>
show more ...
|