Add a function to find regions in device tree given a list of nodes to
include and properties to exclude.
See the header file for full documentation.
Signed-off-by: Simon Glass
---
Changes in v3: None
Changes in v2:
- Fix checkpatch checks about parenthesis alignment
include/libfdt.h
instead of calloc() within U-Boot's signature verification code
- gd->fdt_blob is now available on all archs (generic board landed)
Simon Glass (12):
image: Add signing infrastructure
image: Support signing of images
image: Add RSA support for image signing
mkimage: Add -k option to specify
Hi Stephen,
On Wed, May 29, 2013 at 10:11 PM, Stephen Warren wrote:
> On 05/29/2013 10:46 PM, Simon Glass wrote:
> > Hi,
> >
> > On Wed, May 29, 2013 at 4:07 PM, Stephen Warren > <mailto:swar...@wwwdotorg.org>> wrote:
> >
> > On 05/29/2013
Hi,
On Wed, May 29, 2013 at 4:07 PM, Stephen Warren wrote:
> On 05/29/2013 04:36 PM, Wolfgang Denk wrote:
> > Dear Stephen Warren,
> >
> > In message <51a67ec1.2000...@wwwdotorg.org> you wrote:
> >>
> >> To keep this process in check a bit, we could always pick a specific git
> >> commit or relea
Hi Wolfgang,
On Tue, May 28, 2013 at 2:08 PM, Wolfgang Denk wrote:
> Dear Simon Glass,
>
> In message <1369769778-12455-1-git-send-email-...@chromium.org> you wrote:
>>
>> Some device tree files use the word 'linux' which gets replaced with '1' b
Hi Stephen,
On Tue, May 28, 2013 at 1:57 PM, Stephen Warren wrote:
> On 05/28/2013 01:36 PM, Simon Glass wrote:
>> There are a few partially conflicting requirements in compiling the device
>> tree, since U-Boot relies on whatever is installed on the build machine.
>>
&g
test it in different environments.
Signed-off-by: Tom Warren
Signed-off-by: Simon Glass
---
dts/Makefile | 34 +-
1 file changed, 29 insertions(+), 5 deletions(-)
diff --git a/dts/Makefile b/dts/Makefile
index 03e163e..1f6fabb 100644
--- a/dts/Makefile
+++ b/dts/Makef
Hi Tom,
On Thu, May 9, 2013 at 12:36 PM, Tom Rini wrote:
> On Tue, May 07, 2013 at 09:11:44AM -0700, Simon Glass wrote:
>
>> This series adjusts the image code to work with sandbox and prepares it for
>> verified boot to come later.
>>
>> The primary goal here is t
code body */
}
Also, it doesn't require two levels of indentation for the loop body.
Signed-off-by: Simon Glass
(Cherry-picked from dtc commit 4e76ec79)
---
Changes in v4:
- Bring in upstream version of fdt_first/next_subnode()
Changes in v3: None
Changes in v2: None
include/libfdt.h |
"function"
Simon Glass (19):
env: Fix minor comment typos in cmd_nvedit
Add minor updates to README.fdt-control
hash: Add a way to calculate a hash for any algortihm
bootstage: Don't build for HOSTCC
mkimage: Move ARRAY_SIZE to header file
libfdt: Add fdt_next_subnode
Hi,
On Thu, Nov 15, 2012 at 10:38 PM, Alexandre Courbot wrote:
> Hopefully the final series before the feature gets merged. Anton Vorontsov
> kindly accepted to take it into his tree, so this series is mostly a call for
> acks, tests and reviews notices before the merge window for 3.8 opens. If y
code body */
}
Also, it doesn't require two levels of indentation for the loop body.
Signed-off-by: Simon Glass
---
Changes in v2:
- Use first/next pattern to avoid needing a depth parameter
libfdt/fdt.c | 28 ++
libfdt/libfdt.h | 22 +++
tests/Make
t_subnode(fdt, offset, &depth)) {
/* code body */
}
Also, it doesn't require two levels of indentation for the loop body.
Signed-off-by: Simon Glass
---
libfdt/fdt.c | 12 ++
libfdt/libfdt.h | 17 +
tests/Makefile.tests | 3 +-
tests/run_tests.sh|
Hi David,
On Fri, Mar 22, 2013 at 6:18 AM, David Gibson
wrote:
> On Tue, Mar 12, 2013 at 08:46:12PM -0700, Simon Glass wrote:
>> Hi,
>>
>> On Fri, Feb 15, 2013 at 2:49 PM, Simon Glass wrote:
>> > Given a set of nodes and properties, find the regions of the device
HI Wolfram,
On Wed, Apr 3, 2013 at 12:19 PM, Wolfram Sang wrote:
> Doug,
>
>> Separately from a discussion of the technical merits, I'd say that
>> this patch is needed because the Embedded Controller (EC) on the ARM
>> Chromebook shipped expecting to communicate with this scheme. While
>
> Uhrm
Hi Samuel,
On Wed, Mar 20, 2013 at 1:52 AM, Samuel Ortiz wrote:
> Hi Simon,
>
> On Wed, Mar 20, 2013 at 09:14:56AM +0100, Samuel Ortiz wrote:
>> On Tue, Mar 19, 2013 at 07:01:42PM -0700, Simon Glass wrote:
>> > Hi Samuel,
>> >
>> > On Tue, Mar 19,
Hi Samuel,
On Tue, Mar 19, 2013 at 6:12 PM, Samuel Ortiz wrote:
> On Wed, Mar 20, 2013 at 01:56:52AM +0100, Samuel Ortiz wrote:
>> Hi Simon,
>>
>> On Mon, Feb 25, 2013 at 02:08:35PM -0800, Simon Glass wrote:
>> > The ChromeOS Embedded Controller (EC) is an Open Sour
Hi Samuel,
On Wed, Feb 27, 2013 at 12:40 AM, Samuel Ortiz wrote:
> Hi Simon,
>
> On Tue, Feb 26, 2013 at 09:13:06PM -0800, Simon Glass wrote:
>> Hi Samuel,
>>
>> On Mon, Feb 25, 2013 at 2:08 PM, Simon Glass wrote:
>> > The ChromeOS Embedded Controller (EC)
Hi,
On Fri, Feb 15, 2013 at 2:49 PM, Simon Glass wrote:
> Given a set of nodes and properties, find the regions of the device tree
> which describe those parts.
>
> A test is provided which builds a tree while tracking where the regions
> should be, then calls fdt_first/next_r
[please excuse my mailer html confusion]
Hi Naveen,
On Mon, Mar 11, 2013 at 9:32 PM, Naveen Krishna Chatradhi
wrote:
>
> Adds support for High Speed I2C driver found in Exynos5 and later
> SoCs from Samsung. This driver currently supports Auto mode.
>
> Driver only supports Device Tree method.
>
Hi David,
On Thu, Feb 21, 2013 at 3:35 PM, David Gibson
wrote:
> On Fri, Feb 15, 2013 at 02:49:38PM -0800, Simon Glass wrote:
>> (We probably don't want this patch, and certainly can't apply it as is,
>> but I send it in order to find out the intent of fdt_string()).
&g
Hi Samuel,
On Wed, Feb 27, 2013 at 12:40 AM, Samuel Ortiz wrote:
> Hi Simon,
>
> On Tue, Feb 26, 2013 at 09:13:06PM -0800, Simon Glass wrote:
>> Hi Samuel,
>>
>> On Mon, Feb 25, 2013 at 2:08 PM, Simon Glass wrote:
>> > The ChromeOS Embedded Controller (EC)
Hi Samuel,
On Mon, Feb 25, 2013 at 2:08 PM, Simon Glass wrote:
> The ChromeOS Embedded Controller (EC) is an Open Source EC implementation
> used on ARM and Intel Chromebooks. Current implementations use a Cortex-M3
> connected on a bus (such as I2C, SPI, LPC) to the AP. A separate
-off-by: Simon Glass
Signed-off-by: Luigi Semenzato
Signed-off-by: Vincent Palatin
---
Changes in v6:
- Fix incorrect indentation in cros_ec_keyb_process()
- Remove unnecessary assignment to NULL in probe function
Changes in v5:
- Fix {} style nit in cros_ec_keyb_has_ghosting
- Correct key lookup
structure is used to pass messages to the
protocol driver.
Signed-off-by: Simon Glass
Signed-off-by: Che-Liang Chiou
Signed-off-by: Jonathan Kliegman
Signed-off-by: Luigi Semenzato
Signed-off-by: Olof Johansson
Signed-off-by: Vincent Palatin
---
Changes in v6:
- Allow cros_ec to be a module
on to read matrix-keypad parameters from DT
- Remove key autorepeat parameters from DT binding and driver
- Use unsigned int for rows/cols
Simon Glass (6):
mfd: Add ChromeOS EC messages header
mfd: Add ChromeOS EC implementation
mfd: Add ChromeOS EC I2C driver
mfd: Add ChromeOS EC SPI driver
Inp
-off-by: Simon Glass
Signed-off-by: Luigi Semenzato
Signed-off-by: Vincent Palatin
---
Changes in v5:
- Fix {} style nit in cros_ec_keyb_has_ghosting
- Correct key lookup logic which was broken in previous version
- Switch cros_ec_keyb driver to use devm
Changes in v4:
- Add 'depen
structure is used to pass messages to the
protocol driver.
Signed-off-by: Simon Glass
Signed-off-by: Che-Liang Chiou
Signed-off-by: Jonathan Kliegman
Signed-off-by: Luigi Semenzato
Signed-off-by: Olof Johansson
Signed-off-by: Vincent Palatin
---
Changes in v5:
- Remove cros_ec allocation
use of __devinit/__devexit
- Use function to read matrix-keypad parameters from DT
- Remove key autorepeat parameters from DT binding and driver
- Use unsigned int for rows/cols
Simon Glass (6):
mfd: Add ChromeOS EC messages header
mfd: Add ChromeOS EC implementation
mfd: Add ChromeOS EC I2C
Hi,
On Tue, Feb 19, 2013 at 12:36 AM, li guang wrote:
> 在 2013-02-15五的 20:16 -0800,Simon Glass写道:
>> Use the key-matrix layer to interpret key scan information from the EC
>> and inject input based on the FDT-supplied key map. This driver registers
>> itself with the
Hi Dmitry,
On Sat, Feb 16, 2013 at 12:49 PM, Dmitry Torokhov
wrote:
> Hi Simon,
>
> On Fri, Feb 15, 2013 at 08:16:12PM -0800, Simon Glass wrote:
>> + for (row = 0; row < ckdev->rows; row++) {
>> + if (cros_ec_keyb_row_has_ghosting(ckdev, buf, row))
>
Hi Hiroshi,
On Fri, Feb 15, 2013 at 12:43 AM, Hiroshi Doyu wrote:
> Hi,
>
> With new dtc+cpp feature, we could get rid of magic numbers in dts*
> files. This patch replaces CLK IDs.
>
> We also plan to share those DT header files with kernel source
> later[1].
>
> This series depends on:
> [PAT
-off-by: Simon Glass
Signed-off-by: Luigi Semenzato
Signed-off-by: Vincent Palatin
---
Changes in v4:
- Add 'depends on MFD_CROS_EC' to Kconfig
- Remove use of wake_notifier
- Remove manual code to locate device tree node
- Add resume handler to clear keyboard scan buffer if required
Cha
- Add new patch to decode matrix-keypad DT binding
- Remove use of __devinit/__devexit
- Use function to read matrix-keypad parameters from DT
- Remove key autorepeat parameters from DT binding and driver
- Use unsigned int for rows/cols
Simon Glass (6):
mfd: Add ChromeOS EC messages header
mf
structure is used to pass messages to the
protocol driver.
Signed-off-by: Simon Glass
Signed-off-by: Che-Liang Chiou
Signed-off-by: Jonathan Kliegman
Signed-off-by: Luigi Semenzato
Signed-off-by: Olof Johansson
Signed-off-by: Vincent Palatin
---
Changes in v4:
- Fix up trvial logging comments
Hi Joe,
On Tue, Feb 12, 2013 at 7:35 PM, Joe Perches wrote:
> On Tue, 2013-02-12 at 18:42 -0800, Simon Glass wrote:
>> This is the base EC implementation, which provides a high level
>> interface to the EC for use by the rest of the kernel. The actual
>> communcations is dea
Hi Dmitry,
On Thu, Feb 14, 2013 at 9:31 AM, Dmitry Torokhov
wrote:
> On Wed, Feb 13, 2013 at 10:45:07PM -0800, Simon Glass wrote:
>> >>
>> >> +config KEYBOARD_CROS_EC
>> >> + tristate "ChromeOS EC keyboard"
>> >> + select INPU
.
Signed-off-by: Simon Glass
---
Changes in v2:
- Move region code to separate fdt_region.c file
- Fix info->count <= info->max_regions in fdt_add_region() merge case
- Add new FDT_ERR_TOODEEP error type and use it
- Change returned error from BADLAYOUT to BADSTRUCTURE
- Return FDT_ERR_BADLAY
-O dtb tests/grep.dtb
which produces a valid DTB file with just the above nodes.
Various options are provided to search for properties, to ensure that
nodes/properties are not present, and to search for nodes by compatible
string.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add local fdt
act return NULL. Changing it to do so also
breaks 15 tests (segfault).
What is the intended behaviour of this function, please?
Signed-off-by: Simon Glass
---
Changes in v2:
- Drop patch to replace fdtdump
libfdt/fdt_ro.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libfdt/fdt_ro.
Drop patch to replace fdtdump
Simon Glass (3):
libfdt: Add function to find regions in an FDT
Add fdtgrep to grep and subset FDTs
RFC: Check offset in fdt_string()
.gitignore | 1 +
Makefile | 4 +
Makefile.utils | 7 +
Hi David,
On Sun, Feb 10, 2013 at 6:47 PM, David Gibson
wrote:
> On Mon, Jan 21, 2013 at 12:59:19PM -0800, Simon Glass wrote:
>> Given a set of nodes and properties, find the regions of the device tree
>> which describe those parts.
>>
>> A test is provided which b
-off-by: Simon Glass
Signed-off-by: Luigi Semenzato
Signed-off-by: Vincent Palatin
---
Changes in v3:
- Remove 'select MFD_CROS_EC' from Kconfig as it isn't necessary
- Remove old_state by using input layer's idev->key
- Move inner loop of cros_ec_keyb_has_ghosting() in
Hi Dmitry,
On Wed, Feb 13, 2013 at 12:02 PM, Dmitry Torokhov
wrote:
> Hi SImon,
>
> On Tue, Feb 12, 2013 at 06:42:26PM -0800, Simon Glass wrote:
>> Use the key-matrix layer to interpret key scan information from the EC
>> and inject input based on the FDT-supplied key map.
information.
Signed-off-by: Simon Glass
Signed-off-by: Luigi Semenzato
Signed-off-by: Vincent Palatin
---
Changes in v2:
- Remove use of __devinit/__devexit
- Use function to read matrix-keypad parameters from DT
- Remove key autorepeat parameters from DT binding and driver
- Use unsigned int for rows
resume notification also, in case drivers wish to perform some
action there.
A simple message structure is used to pass messages to the
protocol driver.
Signed-off-by: Simon Glass
Signed-off-by: Che-Liang Chiou
Signed-off-by: Jonathan Kliegman
Signed-off-by: Luigi Semenzato
Signed-off-by: Olof
/__devexit
- Use function to read matrix-keypad parameters from DT
- Remove key autorepeat parameters from DT binding and driver
- Use unsigned int for rows/cols
Simon Glass (6):
mfd: Add ChromeOS EC messages header
mfd: Add ChromeOS EC implementation
mfd: Add ChromeOS EC I2C driver
mfd
Hi Samuel,
On Tue, Feb 12, 2013 at 4:37 PM, Simon Glass wrote:
> Hi Samuel,
>
> On Wed, Dec 12, 2012 at 1:33 PM, Simon Glass wrote:
>> (get_maintainer.pl has produced an enormous list - I hope you are all
>> interested.)
>>
>> The ChromeOS Embedded Con
Hi Samuel,
On Wed, Dec 12, 2012 at 1:33 PM, Simon Glass wrote:
> (get_maintainer.pl has produced an enormous list - I hope you are all
> interested.)
>
> The ChromeOS Embedded Controller (EC) is an Open Source EC implementation
> used on ARM and Intel Chromebooks. Current implem
Hi David,
On Tue, Feb 5, 2013 at 11:16 PM, David Gibson
wrote:
> On Mon, Jan 21, 2013 at 12:59:21PM -0800, Simon Glass wrote:
>> Since fdtgrep does everything that fdtdump does now, perhaps we should
>> replace it with a symlink.
>
> Nack. The point of fdtdump is not si
Hi David,
On Tue, Jan 22, 2013 at 6:33 PM, David Gibson
wrote:
> On Mon, Jan 21, 2013 at 12:59:15PM -0800, Simon Glass wrote:
>> This commit which changed the behaviour of this function broke one
>> of the tests. Also the comment should be updated to reflect its new
>> be
This commit which changed the behaviour of this function broke one
of the tests. Also the comment should be updated to reflect its new
behaviour.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new test to check byte output of a string list property
tests/run_tests.sh | 3 ++-
util.h
-O dtb tests/grep.dtb
which produces a valid DTB file with just the above nodes.
Various options are provided to search for properties, to ensure that
nodes/properties are not present, and to search for nodes by compatible
string.
Signed-off-by: Simon Glass
---
.gitignore |1 +
Mak
Since fdtgrep does everything that fdtdump does now, perhaps we should
replace it with a symlink.
Signed-off-by: Simon Glass
---
Makefile |5 +-
fdtdump.c | 137 -
fdtgrep.c | 40 --
3 files changed, 30
-off-by: Simon Glass
---
libfdt/fdt_wip.c | 311
libfdt/libfdt.h | 142 ++
tests/.gitignore |1 +
tests/Makefile.tests |3 +-
tests/region_tree.c | 324
act return NULL. Changing it to do so also
breaks 15 tests (segfault).
What is the intended behaviour of this function, please?
Signed-off-by: Simon Glass
---
libfdt/fdt_ro.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libfdt/fdt_ro.c b/libfdt/fdt_ro.c
index 50007f
This function is useful outside libfdt, so export it.
Signed-off-by: Simon Glass
---
libfdt/fdt_ro.c |5 ++---
libfdt/libfdt.h | 14 ++
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/libfdt/fdt_ro.c b/libfdt/fdt_ro.c
index 42da2bd..50007f6 100644
--- a/libfdt
The function that prints a property can be useful to other programs,
so move it into util.
Signed-off-by: Simon Glass
---
fdtdump.c | 37 +
util.c| 37 +
util.h| 14 ++
3 files changed, 52
This commit which changed the behaviour of this function broke one
of the tests. Also the comment should be updated to reflect its new
behaviour.
Signed-off-by: Simon Glass
---
tests/run_tests.sh |4 +---
util.h |8 +---
2 files changed, 6 insertions(+), 6 deletions
Ignore any patch files that we find, since these are likely to be
used when sending patches upstream.
Signed-off-by: Simon Glass
---
.gitignore |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 7cabc49..545b899 100644
--- a/.gitignore
+++ b
his is done by using fdt_find_regions()
to select the data that needs to be hashed for a particular configuration.
The fdtgrep utility can fairly easily replace all of the functions of
fdtdump, so this series turns fdtdump into a symlink.
Simon Glass (8):
Adjust util_is_printable_string() comment and fix
ff-by: Stephen Warren
Acked-by: Simon Glass
> ---
> Grant, back in mid-November, you said you'd make a decision on this in
> the next couple of days, but I think this got overlooked.
>
> v7: Build *.dtb from *.dts not src/*.dts.
> v6: No change.
> v5:
> * Update Docum
Hi Grant,
On Wed, Dec 19, 2012 at 12:42 PM, Grant Likely
wrote:
> On Wed, Dec 19, 2012 at 8:20 PM, Simon Glass wrote:
>> On Wed, Dec 19, 2012 at 10:16 AM, Dmitry Torokhov
>> wrote:
>>>
>>> On Wed, Dec 19, 2012 at 12:57:22PM +, Grant Likely wrote:
>>
be done by passing 0 for these parameters?
Many of the parameters can already be set to NULL. Ick.
Signed-off-by: Simon Glass
---
Changes in v2:
- Remove repeat rate parameters
- Update TI OMAP, tca8418 and lpc32xx bindings to use this one
.../devicetree/bindings/input/lpc32xx-key.txt |9
Hi Dmitry,
On Thu, Dec 20, 2012 at 1:13 PM, Dmitry Torokhov
wrote:
> Hi Simon,
>
> On Thu, Dec 20, 2012 at 12:23:58PM -0800, Simon Glass wrote:
>>
>> For the key repeat feature, we need to set this after the input device
>> is registered. So we would need to add a mat
-off-by: Simon Glass
---
.../devicetree/bindings/input/matrix-keymap.txt| 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/Documentation/devicetree/bindings/input/matrix-keymap.txt
b/Documentation/devicetree/bindings/input/matrix-keymap.txt
index 3cd8b98
On Wed, Dec 19, 2012 at 9:14 AM, Mark Brown
wrote:
> On Wed, Dec 19, 2012 at 12:32:01PM +, Grant Likely wrote:
>
>> I'm not convinced on the design of this protocol. It won't scale beyond
>> 2 bus masters and it seems very specific to the design of a specific
>> piece of hardware. I don't thin
; On Wed, 12 Dec 2012 13:33:48 -0800, Simon Glass
>> > > wrote:
>> > > > Use the key-matrix layer to interpret key scan information from the EC
>> > > > and inject input based on the FDT-supplied key map. This driver
>> &
nt Likely wrote:
> > > > On Wed, 12 Dec 2012 13:33:48 -0800, Simon Glass
> wrote:
> > > > > Use the key-matrix layer to interpret key scan information from
> the EC
> > > > > and inject input based on the FDT-supplied key map. This driver
> re
information.
Signed-off-by: Simon Glass
Signed-off-by: Luigi Semenzato
Signed-off-by: Vincent Palatin
---
.../devicetree/bindings/input/cros-ec-keyb.txt | 77
drivers/input/keyboard/Kconfig | 10 +
drivers/input/keyboard/Makefile|1 +
drivers
resume notification also, in case drivers wish to perform some
action there.
A simple message structure is used to pass messages to the
protocol driver.
Signed-off-by: Simon Glass
Signed-off-by: Che-Liang Chiou
Signed-off-by: Jonathan Kliegman
Signed-off-by: Luigi Semenzato
Signed-off-by: Olof
-snow is provided at this stage, since
we must wait for the above-mentioned patches to land to avoid errors from
dtc. This can be added with a follow-on patch when that work is complete.
Simon Glass (5):
mfd: Add ChromeOS EC messages header
mfd: Add ChromeOS EC implementation
mfd: Add ChromeOS
Hi Jon,
On Tue, Dec 11, 2012 at 6:55 AM, Jon Loeliger wrote:
>> >> >
>> >> > This has been a bit of a perrenial problem. dtc development has been
>> >> > sufficiently gradual that there haven't been many obvious points for
>> >> > making new releases. dtc developers (i.e. Jon and my, mostly) do
Hi,
On Sat, Nov 17, 2012 at 4:00 PM, Grant Likely wrote:
> On Sat, 17 Nov 2012 12:50:07 -0500, Mike Frysinger wrote:
>> On Thursday 23 August 2012 21:36:25 David Gibson wrote:
>> > On Thu, Aug 23, 2012 at 08:15:39PM +0200, Yann E. MORIN wrote:
>> > > Following advice from Jon Loeliger, I would s
From: Tom Wai-Hong Tam
This function can be used for LCDs as well as monitors.
Signed-off-by: Tom Wai-Hong Tam
Signed-off-by: Simon Glass
---
Changes in v2: None
common/fdt_support.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/fdt_support.c b/common
Hi Grant,
On Wed, Nov 21, 2012 at 7:47 AM, Grant Likely wrote:
> On Tue, 20 Nov 2012 15:48:24 -0800, Simon Glass wrote:
>> Hi Grant,
>>
>> On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely
>> wrote:
>> > On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass wrote:
&g
Hi Grant,
On Tue, Nov 20, 2012 at 2:32 PM, Grant Likely wrote:
> On Tue, Nov 20, 2012 at 10:23 PM, Simon Glass wrote:
>> Hi,
>>
>> I hope this is a stupid question with an easy answer, but I cannot find it.
>>
>> I have a device tree node for an mmc block devic
Hi,
I hope this is a stupid question with an easy answer, but I cannot find it.
I have a device tree node for an mmc block device and I want to use
that block device from another driver. I have a phandle which lets me
get the node of the mmc device, but I am not sure how to convert that
into a bl
d the GPIO patch
(http://patchwork.ozlabs.org/patch/194340/) since as Stephen pointed
out there is discussion on the kernel list of whether to keep the
polarity bit. I suppose we can always address that later if they
decide to replace it with something else.
>
> On 10/25/2012 10:30 PM, Simon G
Hi Stephen,
On Thu, Nov 15, 2012 at 3:46 PM, Stephen Warren wrote:
> On 11/15/2012 04:31 PM, Simon Glass wrote:
>> Hi Stephen,
>>
>> On Wed, Oct 31, 2012 at 9:50 PM, Stephen Warren
>> wrote:
>>> On 10/31/2012 05:59 PM, Simon Glass wrote:
>>>>
Hi Stephen,
On Wed, Oct 31, 2012 at 9:50 PM, Stephen Warren wrote:
> On 10/31/2012 05:59 PM, Simon Glass wrote:
>> Hi,
>>
>> On Fri, Oct 26, 2012 at 12:17 AM, Lucas Stach wrote:
>>> Am Donnerstag, den 25.10.2012, 19:31 -0700 schrieb Simon Glass:
>>>>
This contains just the minimum information for a coreboot-based board.
Signed-off-by: Stefan Reinauer
Signed-off-by: Gabe Black
Signed-off-by: Simon Glass
---
arch/x86/dts/coreboot.dtsi | 16
arch/x86/dts/skeleton.dtsi | 13 +
2 files changed, 29 insertions
From: Tom Wai-Hong Tam
This function can be used for LCDs as well as monitors.
Signed-off-by: Tom Wai-Hong Tam
Signed-off-by: Simon Glass
---
common/fdt_support.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index
This function is not needed, since fdt_path_offset() performs the same
service. Remove it.
Signed-off-by: Simon Glass
---
Changes in v2:
- Remove fdtdec_find_alias_node() function
lib/fdtdec.c | 24 +---
1 files changed, 1 insertions(+), 23 deletions(-)
diff --git a/lib
Hi,
On Fri, Oct 26, 2012 at 12:17 AM, Lucas Stach wrote:
> Am Donnerstag, den 25.10.2012, 19:31 -0700 schrieb Simon Glass:
>> From: Sean Paul
>>
>> Add get and set gpio functions to fdtdec that take into account the
>> polarity field in fdtdec_gpio_state.flags.
>
Hi David,
On Thu, Oct 25, 2012 at 9:24 PM, David Gibson
wrote:
> On Thu, Oct 25, 2012 at 07:31:02PM -0700, Simon Glass wrote:
>> This function is useful outside fdtdec, so export it.
>
> Hrm. fdt_path_offset() in libfdt itself will already look up aliases
> if given a path
From: Sean Paul
Add get and set gpio functions to fdtdec that take into account the
polarity field in fdtdec_gpio_state.flags.
Signed-off-by: Sean Paul
Signed-off-by: Simon Glass
---
include/fdtdec.h | 16
lib/fdtdec.c | 20
2 files changed, 36
A memory region has a start and a size and is often specified in
a node by a 'reg' property. Add a function to decode this information
from the fdt.
Signed-off-by: Simon Glass
---
include/fdtdec.h | 19 +++
lib/fdtdec.c | 17 +
2 files c
From: Abhilash Kesavan
Samsung's SDHCI bindings require multiple gpios to be parsed and
configured at a time. Export the already available fdtdec_decode_gpios
for this purpose.
Signed-off-by: Abhilash Kesavan
Commit-Ready: Che-Liang Chiou
Signed-off-by: Simon Glass
---
include/fdt
, the
first configuration, A, D, would be chosen. Both the first and second
configurations match, but the first one matches a more specific entry in
U-Boot's device tree. The order in the kernel's device tree is ignored.
Signed-off-by: Gabe Black
Commit-Ready: Gabe Black
Signed-off-
ho \"Using bundled kernel\"; "\
"bootm ${kernaddr};" \
"fi; "\
/* rest of boot sequence follows here */
Signed-off-by: Simon Glass
---
common/main.c | 16
1 files changed, 16 insertions(+), 0 de
ruped.
* Failure doesn't cause us to fall back to the shell.
Signed-off-by: Gabe Black
Signed-off-by: Doug Anderson
Signed-off-by: Simon Glass
---
common/main.c | 62 +
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/commo
From: Abhilash Kesavan
Add a function to look up a configuration item such as machine id
and return its value.
Note: The code has been taken as is from the Chromium u-boot development
tree and needs Simon Glass' sign-off.
Signed-off-by: Abhilash Kesavan
Signed-off-by: Simon
This function is useful outside fdtdec, so export it.
Signed-off-by: Simon Glass
---
include/fdtdec.h |9 +
lib/fdtdec.c |6 +++---
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/include/fdtdec.h b/include/fdtdec.h
index e70714b..e566e47 100644
--- a/include
The name of this function is not consistent, so fix it, and export
the function for external use.
Signed-off-by: Simon Glass
---
include/fdtdec.h | 13 +
lib/fdtdec.c |2 +-
2 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/include/fdtdec.h b/include/fdtdec.h
address it was at to set
things up manually.
Signed-off-by: Gabe Black
Signed-off-by: Simon Glass
---
common/main.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/common/main.c b/common/main.c
index 23a68ee..cf1b5f9 100644
--- a/common/main.c
+++ b/common/main.c
From: Che-Liang Chiou
Load boot command from /config/bootcmd of device tree if present.
Signed-off-by: Tom Wai-Hong Tam
Signed-off-by: Che-Liang Chiou
Signed-off-by: Simon Glass
---
common/main.c | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/common
From: Gabe Black
Signed-off-by: Vincent Palatin
Commit-Ready: Vincent Palatin
Commit-Ready: Gabe Black
Signed-off-by: Simon Glass
---
include/fdtdec.h | 10 ++
lib/fdtdec.c | 14 ++
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/include/fdtdec.h
Add a function to look up a configuration string such as board name
and returns its value. We look in the "/config" node for this.
Signed-off-by: Simon Glass
---
include/fdtdec.h | 10 ++
lib/fdtdec.c | 28 ++--
2 files changed, 28 inserti
From: Che-Liang Chiou
It decodes a 64-bit value from a property that is at least 8 bytes long.
Signed-off-by: Che-Liang Chiou
Signed-off-by: Simon Glass
---
include/fdtdec.h | 15 +++
lib/fdtdec.c | 13 +
2 files changed, 28 insertions(+), 0 deletions
1 - 100 of 494 matches
Mail list logo