12 May, 2014
1 commit
-
Signed-off-by: Tom Rini
10 May, 2014
9 commits
-
Signed-off-by: Masahiro Yamada
Cc: Simon Glass
Acked-by: Simon Glass -
Prior to commit 33a02da0, all boards must have board/${BOARD}/
or board/${VENDOR}/${BOARD}/ directory.
Now this rule is obsolete.It looks weird that sandbox defines "vendor" and "board" just for
meeting the old U-Boot directory structure.Signed-off-by: Masahiro Yamada
Cc: Simon Glass -
Keep track of all Signed-off-by tags in a commit and silently suppress any
duplicates.Signed-off-by: Simon Glass
-
This sort of failure is rare, but the code to deal with it is wrong.
Fix it.Signed-off-by: Simon Glass
-
Now that sandbox has a good base of features, the README is quite out of
date. Update it, and document the new features.Signed-off-by: Simon Glass
-
Some machines do not have SDL libraries installed, and it is still useful
to build sandbox without LCD/keyboard support.Add an option for this, used as follows:
make sandbox_config all NO_SDL=1
Signed-off-by: Simon Glass
-
In the case where an environment variable spans multiple lines, we should
use run_command_list() so that all lines are executed. This shold be
backwards compatible with existing behaviour for existing scripts.Signed-off-by: Simon Glass
-
Adjust the code for these commands so that they work on sandbox.
Signed-off-by: Simon Glass
(Adjusted to fix minor merge comflict, when applied)Change-Id: I987dee6194cd5c83f82604caf894fc85e4eb71a8
09 May, 2014
7 commits
-
Conflicts:
drivers/net/Makefile(trivial merge)
-
Without this patch SPARC/LEON does not build.
Reported-by: Tom Rini
Signed-off-by: Daniel Hellstrom -
Before it was hardcoded to 1000 ticks per second.
Signed-off-by: Daniel Hellstrom
-
's/zynq_serial_initalize/zynq_serial_initialize/g'
serial_initialize is used by all serial drivers.Signed-off-by: Michal Simek
-
Warnings:
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_init' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_setbrg' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_getc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_tstc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_putc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_puts' was not declared. Should it be static?
drivers/serial/serial_zynq.c:182:22: warning: symbol 'uart_zynq_serial0_device' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_init' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_setbrg' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_getc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_tstc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_putc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_puts' was not declared. Should it be static?
drivers/serial/serial_zynq.c:185:22: warning: symbol 'uart_zynq_serial1_device' was not declared. Should it be static?Signed-off-by: Michal Simek
08 May, 2014
1 commit
-
Signed-off-by: Jesper B. Christensen
Signed-off-by: Michal Simek
07 May, 2014
4 commits
06 May, 2014
5 commits
-
's/zynq_serial_initalize/zynq_serial_initialize/g'
serial_initialize is used by all serial drivers.Signed-off-by: Michal Simek
-
Warnings:
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_init' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_setbrg' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_getc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_tstc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_putc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:181:1: warning: symbol 'uart_zynq0_puts' was not declared. Should it be static?
drivers/serial/serial_zynq.c:182:22: warning: symbol 'uart_zynq_serial0_device' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_init' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_setbrg' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_getc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_tstc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_putc' was not declared. Should it be static?
drivers/serial/serial_zynq.c:184:1: warning: symbol 'uart_zynq1_puts' was not declared. Should it be static?
drivers/serial/serial_zynq.c:185:22: warning: symbol 'uart_zynq_serial1_device' was not declared. Should it be static?Signed-off-by: Michal Simek
-
Add missing header.
Warnings:
drivers/net/zynq_gem.c:491:5: warning: symbol 'zynq_gem_initialize' was not declared. Should it be static?
drivers/net/zynq_gem.c:542:5: warning: symbol 'zynq_gem_of_init' was not declared. Should it be static?Signed-off-by: Michal Simek
-
MII is used by this driver.
Signed-off-by: Michal Simek
-
- expand the condition with CONFIG_OF_CONTROL
Signed-off-by: Stephan Linz
Acked-by: Simon Glass
Signed-off-by: Michal Simek
05 May, 2014
10 commits
-
Last argument shouldn't be there.
Signed-off-by: Mateusz Zalega
Acked-by: Marek Vasut
Cc: Tom Rini -
g_dnl_register() currently first attempts to register a composite
driver by name, and then saves the driver name once it's registered.
Internally to the registration code, g_dnl_do_config() is called and
attempts to compare the composite device's name with the list of known
device names. This fails since the composite device's name has not yet
been stored. This means that the first time "ums 0 0" is run, it fails,
but subsequent attempts succeed.Re-order the name-saving and registration code to solve this.
Fixes: e5b834e07f51 ("USB: gadget: added a saner gadget downloader registration API")
Signed-off-by: Stephen Warren -
Preprocessor definitions and hardcoded implementation selection in
g_dnl core were replaced by a linker list made of (usb_function_name,
bind_callback) pairs.Signed-off-by: Mateusz Zalega
Acked-by: Lukasz Majewski
Acked-by: Marek Vasut -
Future patches will make DFU too large to fit in this board's SPL build.
Signed-off-by: Mateusz Zalega
Acked-by: Tom Rini
Reviewed-by: Lukasz Majewski -
In cases when MMC hadn't been initialized before, ie. by the user or other
subsystem, it was still uninitialized while UMS media capacity check,
leading to broken ums command.UMS has to initialize resources it uses.
Tested on Samsung Goni.
Signed-off-by: Mateusz Zalega
Tested-by: Mateusz Zalega
Acked-by: Lukasz Majewski
Cc: Minkyu Kang -
Previously offsets handled by dfu_fill_entity_mmc(), defined in boards'
CONFIG_DFU_ALT were treated as hexadecimal regardless of their prefix,
which sometimes led to confusion. This patch forces usage of explicit
numerical base prefixes.Signed-off-by: Mateusz Zalega
Acked-by: Lukasz Majewski
Cc: Tom Rini
Cc: Minkyu Kang -
When user attempted to perform a raw write using DFU (vide
dfu_fill_entity_mmc) with MMC interface not initialized before,
get_mmc_blk_size() reported invalid (zero) block size - it wasn't
possible to write ie. a new u-boot image.This commit fixes that by initializing MMC device before use in
dfu_fill_entity_mmc().While fixing initialization sequence, I had to change about half of
dfu_fill_entity_mmc's body, so I refactored it on the way to make it,
IMHO, considerably more comprehensible.Being left as dead code, get_mmc_blk_size() was removed.
Tested on Samsung Goni.
Signed-off-by: Mateusz Zalega
Signed-off-by: Kyungmin Park
Acked-by: Lukasz Majewski
Acked-by: Tom Rini
Cc: Minkyu Kang -
Former usb_cable_connected() patch broke compilation of boards which do
not support this feature.I've renamed usb_cable_connected() to g_dnl_usb_cable_connected() and added
its default implementation to gadget downloader driver code. There's
only one driver of this kind and it's unlikely there'll be another, so
there's no point in keeping it in /common.Previously this function was declared in usb.h. I've moved it, since
it's more appropriate to keep it in g_dnl.h - usb.h seems to be intended
for USB host implementation.Existing code, confronted with default -EOPNOTSUPP return value,
continues as if the cable was connected.CONFIG_USB_CABLE_CHECK was removed.
Change-Id: Ib9198621adee2811b391c64512f14646cefd0369
Signed-off-by: Mateusz Zalega
Acked-by: Marek Vasut
Acked-by: Lukasz Majewski -
Implementation made use of types defined in common.h, even though it
wasn't #included. It worked in circumstances when .c files included
every needed header (all).Signed-off-by: Mateusz Zalega
Cc: Tom Rini
Cc: Minkyu Kang -
Structure definition used type block_dev_desc_t, defined in part.h, which
wasn't included in mmc.h. It worked only in circumstances when common.h,
or another header using part.h was incuded in implementation files.Change-Id: I5b203928b689887e3e78beb00a378955e0553eb7
Signed-off-by: Mateusz Zalega
Acked-by: Pantelis Antoniou
Cc: Minkyu Kang
02 May, 2014
3 commits
-
Since highbank is actually shared between Highbank and Midway platforms,
remove the Highbank name from the prompt and use the default.Signed-off-by: Rob Herring
-
Adapt highbank to use config_distro_defaults.h and remove the redundant
defines.Signed-off-by: Rob Herring