<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot">
    <title>gmane.comp.boot-loaders.u-boot</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163714"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163713"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163712"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163711"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163710"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163709"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163708"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163707"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163706"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163705"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163704"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163703"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163702"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163701"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163700"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163699"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163698"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163697"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163696"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163695"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163714">
    <title>Re: [PATCH 3/3] omap: cm_t35: Fix cm_t35 for weaksplash_screen_prepare</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163714</link>
    <description>&lt;pre&gt;
Yes, that's understood.
There are plenty of simple patches, but still it is a good practice
to have even a minimal commit message.


&lt;/pre&gt;</description>
    <dc:creator>Igor Grinberg</dc:creator>
    <dc:date>2013-06-19T05:38:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163713">
    <title>[PATCH] ARM: OMAP4+: Fix MA detection duringSDRAM_AUTO_DETECTION</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163713</link>
    <description>&lt;pre&gt;During SDRAM_AUTO_DETECTION MA is not configured.
For Soc's &amp;gt; OMAP4460 MA is present. So populating
MA for the same.

Tested on OMAP4430 PANDA, OMAP4460 PANDA.

Reported-by: Dan Murphy &amp;lt;dmurphy&amp;lt; at &amp;gt;ti.com&amp;gt;
Signed-off-by: Lokesh Vutla &amp;lt;lokeshvutla&amp;lt; at &amp;gt;ti.com&amp;gt;
---
 arch/arm/cpu/armv7/omap-common/emif-common.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/cpu/armv7/omap-common/emif-common.c b/arch/arm/cpu/armv7/omap-common/emif-common.c
index 11e830a..e6287cd 100644
--- a/arch/arm/cpu/armv7/omap-common/emif-common.c
+++ b/arch/arm/cpu/armv7/omap-common/emif-common.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1180,6 +1180,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; void dmm_init(u32 base)
 /* TRAP for invalid TILER mappings in section 0 */
 lis_map_regs_calculated.dmm_lisa_map_0 = DMM_LISA_MAP_0_INVAL_ADDR_TRAP;
 
+if (omap_revision() &amp;gt;= OMAP4460_ES1_0)
+lis_map_regs_calculated.is_ma_present = 1;
+
 lisa_map_regs = &amp;amp;lis_map_regs_calculated;
 #endif
 struct dmm_lisa_map_regs *hw_lisa_map_regs =
&lt;/pre&gt;</description>
    <dc:creator>Lokesh Vutla</dc:creator>
    <dc:date>2013-06-19T05:20:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163712">
    <title>Re: [PATCH 4/4] sf: Warn to use BAR for &gt; 16MiB flashes</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163712</link>
    <description>&lt;pre&gt;Hi Jagan,

On Fri, Jun 14, 2013 at 1:18 PM, Jagannadha Sutradharudu Teki &amp;lt;
jagannadha.sutradharudu-teki&amp;lt; at &amp;gt;xilinx.com&amp;gt; wrote:


Perhaps you can shorten this to fit on one line?

Warning: CONFIG_SPI_FLASH_BAR provides full access to &amp;gt;16MiB devices

Anyway you should not split strings across lines.

+       }
Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot&amp;lt; at &amp;gt;lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T04:32:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163711">
    <title>Re: [PATCH 1/4] sf: Unify spi_flash write code</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163711</link>
    <description>&lt;pre&gt;Hi Jagan,

On Fri, Jun 14, 2013 at 1:18 PM, Jagannadha Sutradharudu Teki &amp;lt;
jagannadha.sutradharudu-teki&amp;lt; at &amp;gt;xilinx.com&amp;gt; wrote:


This looks good except that  spi_flash_write_common() is not a great name -
only one of the operations is a 'write'. Perhaps spi_flash_oper_common() or
similar?

Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot&amp;lt; at &amp;gt;lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T04:31:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163710">
    <title>Re: [PATCH v4 14/14] sf: Add Flag status register pollingsupport</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163710</link>
    <description>&lt;pre&gt;Hi Jagan,

On Thu, Jun 13, 2013 at 1:55 PM, Jagannadha Sutradharudu Teki &amp;lt;
jagannadha.sutradharudu-teki&amp;lt; at &amp;gt;xilinx.com&amp;gt; wrote:


Move this line into spi_flash_do_alloc()

+       if ((*idp == SPI_FLASH_STMICRO_IDCODE0) &amp;amp;&amp;amp;

...and the above into the stmicro.c's probe handler


Simon
_______________________________________________
U-Boot mailing list
U-Boot&amp;lt; at &amp;gt;lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T04:30:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163709">
    <title>Re: [PATCH v4 05/14] sf: Update sf read to support allsizes of flashes</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163709</link>
    <description>&lt;pre&gt;Hi Jagan,

On Thu, Jun 13, 2013 at 1:55 PM, Jagannadha Sutradharudu Teki &amp;lt;
jagannadha.sutradharudu-teki&amp;lt; at &amp;gt;xilinx.com&amp;gt; wrote:


FYI you can also use 'sf test' to get performance numbers.

Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot&amp;lt; at &amp;gt;lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T04:29:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163708">
    <title>Re: [PATCH v4 02/14] sf: Discover the bank addr commands</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163708</link>
    <description>&lt;pre&gt;Hi Jagan,

On Thu, Jun 13, 2013 at 1:55 PM, Jagannadha Sutradharudu Teki &amp;lt;
jagannadha.sutradharudu-teki&amp;lt; at &amp;gt;xilinx.com&amp;gt; wrote:


I suggest bank_read_cmd, bank_write_cmd


Regards,
Simon
_______________________________________________
U-Boot mailing list
U-Boot&amp;lt; at &amp;gt;lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T04:28:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163707">
    <title>[PATCH v3 03/16] sandbox: config: Don't use 64-bitphysical memory</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163707</link>
    <description>&lt;pre&gt;Sandbox uses an emulated memory map which is quite small. We don't need the
CONFIG_PHYS_64BIT option since we can address memory with a 32-bit offset
into our ram_buf.

Adjust the phys_addr_t and phys_size_t types accordingly.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3: None
Changes in v2: None

 arch/sandbox/include/asm/types.h | 4 ++--
 include/configs/sandbox.h        | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/sandbox/include/asm/types.h b/arch/sandbox/include/asm/types.h
index 2316c2d..07c2986 100644
--- a/arch/sandbox/include/asm/types.h
+++ b/arch/sandbox/include/asm/types.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -64,8 +64,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; typedef unsigned long long u64;
 #define BITS_PER_LONGCONFIG_SANDBOX_BITS_PER_LONG
 
 typedef unsigned long dma_addr_t;
-typedef unsigned long phys_addr_t;
-typedef unsigned long phys_size_t;
+typedef u32 phys_addr_t;
+typedef u32 phys_size_t;
 
 #endif /* __KERNEL__ */
 
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 788207d..78eda90&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163706">
    <title>[PATCH v3 07/16] dm: Add base driver model support</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163706</link>
    <description>&lt;pre&gt;Add driver model functionality for generic board.

This includes data structures and base code for registering devices and
uclasses (groups of devices with the same purpose, e.g. all I2C ports will
be in the same uclass).

The feature is enabled with CONFIG_DM.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
Signed-off-by: Marek Vasut &amp;lt;marex&amp;lt; at &amp;gt;denx.de&amp;gt;
Signed-off-by: Pavel Herrmann &amp;lt;morpheus.ibis&amp;lt; at &amp;gt;gmail.com&amp;gt;
Signed-off-by: Viktor Křivák &amp;lt;viktor.krivak&amp;lt; at &amp;gt;gmail.com&amp;gt;
Signed-off-by: Tomas Hlavacek &amp;lt;tmshlvck&amp;lt; at &amp;gt;gmail.com&amp;gt;
---
Changes in v3:
- Tidy up commenting of functions and structures
- Rename per_device_priv_size to per_device_auto_alloc_size, etc.
- Add a flag for tracking whether DM allocates/frees platform_data

Changes in v2: None

 Makefile                          |   2 +
 common/dm/Makefile                |  43 +++++
 common/dm/device.c                | 331 ++++++++++++++++++++++++++++++++++++++
 common/dm/lists.c                 | 168 +++++++++++++++++++
 common/dm/root.c                  | 115 ++++++++++++&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163705">
    <title>[PATCH v3 10/16] dm: Add a 'dm' command for testing</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163705</link>
    <description>&lt;pre&gt;This command is not required for driver model operation, but can be useful
for testing. It provides simple dumps of internal data structures.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
Signed-off-by: Marek Vasut &amp;lt;marex&amp;lt; at &amp;gt;denx.de&amp;gt;
Signed-off-by: Pavel Herrmann &amp;lt;morpheus.ibis&amp;lt; at &amp;gt;gmail.com&amp;gt;
Signed-off-by: Viktor Křivák &amp;lt;viktor.krivak&amp;lt; at &amp;gt;gmail.com&amp;gt;
Signed-off-by: Tomas Hlavacek &amp;lt;tmshlvck&amp;lt; at &amp;gt;gmail.com&amp;gt;
---
Changes in v3: None
Changes in v2: None

 include/configs/sandbox.h |   1 +
 test/dm/Makefile          |   1 +
 test/dm/cmd_dm.c          | 146 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 148 insertions(+)
 create mode 100644 test/dm/cmd_dm.c

diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 38e0384..8e9a661 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -23,6 +23,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #define __CONFIG_H
 
 #define CONFIG_DM
+#define CONFIG_CMD_DM
 #define CONFIG_DM_TEST
 
 /* Number of bits in a C 'long' on this architecture */
diff --git a/test/dm/Makefile b/&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163704">
    <title>[PATCH v3 11/16] dm: Add a demonstration/example driver</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163704</link>
    <description>&lt;pre&gt;As an example of how to write a uclass and a driver, provide a demo version
of each, accessible through the 'demo' command.

To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO.

The two demo drivers are enabled with CONFIG_DM_DEMO_SIMPLE and
CONFIG_DM_DEMO_SHAPE.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
Signed-off-by: Marek Vasut &amp;lt;marex&amp;lt; at &amp;gt;denx.de&amp;gt;
Signed-off-by: Pavel Herrmann &amp;lt;morpheus.ibis&amp;lt; at &amp;gt;gmail.com&amp;gt;
Signed-off-by: Viktor Křivák &amp;lt;viktor.krivak&amp;lt; at &amp;gt;gmail.com&amp;gt;
Signed-off-by: Tomas Hlavacek &amp;lt;tmshlvck&amp;lt; at &amp;gt;gmail.com&amp;gt;
---
Changes in v3:
- Fix up demo command help
- Update demo driver to use device tree

Changes in v2: None

 Makefile                   |   1 +
 common/Makefile            |   1 +
 common/cmd_demo.c          | 115 ++++++++++++++++++++++++++++++++++++
 drivers/demo/Makefile      |  44 ++++++++++++++
 drivers/demo/demo-pdata.c  |  60 +++++++++++++++++++
 drivers/demo/demo-shape.c  | 143 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/demo/demo-simple.c |  61 ++++++++++++++&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163703">
    <title>[PATCH v3 02/16] sandbox: Correct data sizes and printf()strings in fdtdec.c</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163703</link>
    <description>&lt;pre&gt;There are a few warnings in this file when building for sandbox. Addresses
coming from the device tree need to be treated as ulong as elsewhere in
U-Boot and we must use map_sysmem() to convert to a pointer when needed.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3: None
Changes in v2: None

 lib/fdtdec.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 005ad3d..dc53a1a 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -93,10 +93,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; fdt_addr_t fdtdec_get_addr_size(const void *blob, int node,
 size = (fdt_size_t *)((char *)cell +
 sizeof(fdt_addr_t));
 *sizep = fdt_size_to_cpu(*size);
-debug("addr=%p, size=%p\n", (void *)addr,
-      (void *)*sizep);
+debug("addr=%08lx, size=%08x\n",
+      (ulong)addr, *sizep);
 } else {
-debug("%p\n", (void *)addr);
+debug("%08lx\n", (ulong)addr);
 }
 return addr;
 }
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -618,7 +618,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int fdtdec_decode_region(const void *blob, int node,
 if (!cell || (len &lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163702">
    <title>[PATCH v3 04/16] sandbox: Build a device tree file forsandbox</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163702</link>
    <description>&lt;pre&gt;Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE
option to make it easier to use device tree with sandbox.

This adjusts the Makefile to build a u-boot.dtb file which can be passed
to sandbox U-Boot with:

   ./u-boot -d u-boot.dtb

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3:
- Add new patch to build a device tree file for sandbox

Changes in v2: None

 Makefile                      |  1 +
 arch/sandbox/config.mk        |  2 ++
 board/sandbox/dts/sandbox.dts | 20 ++++++++++++++++++++
 include/configs/sandbox.h     |  1 +
 4 files changed, 24 insertions(+)
 create mode 100644 board/sandbox/dts/sandbox.dts

diff --git a/Makefile b/Makefile
index 693b3f2..ed8068b 100644
--- a/Makefile
+++ b/Makefile
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -413,6 +413,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; ALL-$(CONFIG_NAND_U_BOOT) += $(obj)u-boot-nand.bin
 ALL-$(CONFIG_ONENAND_U_BOOT) += $(obj)u-boot-onenand.bin
 ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin
 ALL-$(CONFIG_OF_SEPARATE) += $(obj)u-boot.dtb $(obj)u-boot-dtb.bin
+ALL-$(CONFIG_OF_HOSTFILE) +=&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163701">
    <title>[PATCH v3 15/16] dm: Add README for driver model</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163701</link>
    <description>&lt;pre&gt;From: Pavel Herrmann &amp;lt;morpheus.ibis&amp;lt; at &amp;gt;gmail.com&amp;gt;

This adds a README to help with understanding of this series.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3:
- Updated README.txt to cover changes since version 2

Changes in v2:
- Removed pointer return values in favour of integer
- Use driver_bind() in dm_init() instead of writing new code
- Allow driver_bind() to support a NULL parent
- Add dm_warn() to warn about impending doom
- Standardise variable names (e.g. uclass instead of class)
- Remove relocation functions
- Add new header file for lists
- Add new util file to hold utility functions
- Allow a driver to bind to only one uclass
- Remove unneeded arguments to uclass_bind(), uclass_unbind()
- Rename struct device's 'bus' to 'parent'
- Rename data structures to hopefully be clearer
- Put platform_data definitions in their own header file
- Add U_BOOT_DEVICE to declare platform_data
- Add auto-probing feature for platform_data to avoid driver_bind() calls
- Add simple unit test functi&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163700">
    <title>[PATCH v3 14/16] dm: Enable gpio command to support drivermodel</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163700</link>
    <description>&lt;pre&gt;Now that named GPIO banks are supported, along with a way of obtaining
the status of a GPIO (input or output), we can provide an enhanced
GPIO command for driver model. Where the driver provides its own operation
for obtaining the GPIO state, this is used, otherwise a generic version
is sufficient.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3: None
Changes in v2: None

 common/cmd_gpio.c | 127 ++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 114 insertions(+), 13 deletions(-)

diff --git a/common/cmd_gpio.c b/common/cmd_gpio.c
index 47eee89..c6758c1 100644
--- a/common/cmd_gpio.c
+++ b/common/cmd_gpio.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -8,7 +8,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 
 #include &amp;lt;common.h&amp;gt;
 #include &amp;lt;command.h&amp;gt;
-
+#include &amp;lt;dm.h&amp;gt;
 #include &amp;lt;asm/gpio.h&amp;gt;
 
 #ifndef name_to_gpio
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -22,25 +22,115 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; enum gpio_cmd {
 GPIO_TOGGLE,
 };
 
+#if defined(CONFIG_DM_GPIO) &amp;amp;&amp;amp; !defined(gpio_status)
+static const char * const gpio_function[] = {
+"input",
+"output",
+"unknown",
+};
+
+static void show_gpio(struct device *dev&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163699">
    <title>[PATCH v3 16/16] dm: Move old driver model documentationinto an 'old-docs' directory</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163699</link>
    <description>&lt;pre&gt;This documentation is still useful but is not fully correct with the API
changes since the original driver model implementation. So move it into
a separate directory, and create a README to describe what is going on.

This documentation pertains to the planned implementation of driver model
in U-Boot for each subsystem. It is probably better to have this
documentation in the source code for each subsystem where possible, so
that docbook will pick it up. Where this does not make sense, new
documentation can be placed in some suitable file in doc/driver-model.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3:
- Add new patch to move driver model documentation

Changes in v2: None

 doc/driver-model/old-docs/README                 | 29 ++++++++++++++++++++++++
 doc/driver-model/{ =&amp;gt; old-docs}/UDM-block.txt    |  0
 doc/driver-model/{ =&amp;gt; old-docs}/UDM-cores.txt    |  0
 doc/driver-model/{ =&amp;gt; old-docs}/UDM-design.txt   |  0
 doc/driver-model/{ =&amp;gt; old-docs}/UDM-fpga.txt     |  0
 doc/driver-model/{&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163698">
    <title>[PATCH v3 12/16] dm: Add GPIO support and tests</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163698</link>
    <description>&lt;pre&gt;Add driver model support for GPIOs. Since existing GPIO drivers do not use
driver model, this feature must be enabled by CONFIG_DM_GPIO. After all
GPO drivers are converted over we can perhaps remove this config.

Tests are provided for the sandbox implementation, and are a sufficient
sanity check for basic operation.

The GPIO uclass understands the concept of named banks of GPIOs, with each
GPIO device providing a single bank. Within each bank the GPIOs are numbered
using an offset from 0 to n-1. For example a bank named 'b' with 20
offsets will provide GPIOs named b0 to b19.

Anonymous GPIO banks are also supported, and are just numbered without any
prefix.

Each time a GPIO driver is added to the uclass, the GPIOs are renumbered
accordinging, so there is always a global GPIO numbering order.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
Signed-off-by: Marek Vasut &amp;lt;marex&amp;lt; at &amp;gt;denx.de&amp;gt;
Signed-off-by: Pavel Herrmann &amp;lt;morpheus.ibis&amp;lt; at &amp;gt;gmail.com&amp;gt;
Signed-off-by: Viktor Křivák &amp;lt;viktor.krivak&amp;lt; at &amp;gt;gmail.com&amp;gt;
Signed-off-by&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163697">
    <title>[PATCH v3 06/16] sandbox: config: Enable driver model</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163697</link>
    <description>&lt;pre&gt;Use driver model in sandbox to permit running of driver model unit test.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3: None
Changes in v2: None

 include/configs/sandbox.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 14f5f98..162c26c 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -22,6 +22,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_DM
+
 /* Number of bits in a C 'long' on this architecture */
 #define CONFIG_SANDBOX_BITS_PER_LONG64
 
&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:30</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163696">
    <title>[PATCH v3 05/16] Add cmd_process_error() to report andprocess errors</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163696</link>
    <description>&lt;pre&gt;U-Boot now uses errors defined in include/errno.h which are negative
integers. Commands which fail need to report the error and return 1
to indicate failure. Add this functionality in cmd_process_error().

For now this merely reports the error number. It would be possible
also to produce a helpful error message by storing the error strings
in U-Boot.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3: None
Changes in v2: None

 common/command.c  | 10 ++++++++++
 include/command.h |  9 +++++++++
 2 files changed, 19 insertions(+)

diff --git a/common/command.c b/common/command.c
index 305a236..70faa60 100644
--- a/common/command.c
+++ b/common/command.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -554,3 +554,13 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; enum command_ret_t cmd_process(int flag, int argc, char * const argv[],
 rc = cmd_usage(cmdtp);
 return rc;
 }
+
+int cmd_process_error(cmd_tbl_t *cmdtp, int err)
+{
+if (err) {
+printf("Command '%s' failed: Error %d\n", cmdtp-&amp;gt;name, err);
+return 1;
+}
+
+return 0;
+}
diff --git a/include/command.h b/include/comman&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163695">
    <title>[PATCH v3 09/16] dm: Add basic tests</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163695</link>
    <description>&lt;pre&gt;Add some tests of driver model functionality. Coverage includes:

- basic init
- binding of drivers to devices using platform_data
- automatic probing of devices when referenced
- availability of platform data to devices
- lifecycle from bind to probe to remove to unbind
- renumbering within a uclass when devices are probed/removed
- calling driver-defined operations
- deactivation of drivers when removed
- memory leak across creation and destruction of drivers/uclasses
- uclass init/destroy methods
- automatic probe/remove of children/parents when needed

This function is enabled for sandbox, using CONFIG_DM_TEST.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3:
- Add function/struct comments to tests

Changes in v2: None

 Makefile                  |   1 +
 include/configs/sandbox.h |   1 +
 include/dm/test.h         | 180 +++++++++++++++
 include/dm/ut.h           | 108 +++++++++
 test/dm/Makefile          |  52 +++++
 test/dm/core.c            | 557 ++++++++++++++++++++++++++++++++++++++&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163694">
    <title>[PATCH v3 13/16] sandbox: Convert GPIOs to use driver model</title>
    <link>http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/163694</link>
    <description>&lt;pre&gt;Convert sandbox over to use driver model GPIOs.

Signed-off-by: Simon Glass &amp;lt;sjg&amp;lt; at &amp;gt;chromium.org&amp;gt;
---
Changes in v3:
- Update sandbox GPIO header file comments

Changes in v2: None

 arch/sandbox/include/asm/gpio.h |  14 +--
 board/sandbox/sandbox/sandbox.c |   7 +-
 drivers/gpio/sandbox.c          | 210 +++++++++++++++++++++++++---------------
 include/configs/sandbox.h       |   1 +
 4 files changed, 144 insertions(+), 88 deletions(-)

diff --git a/arch/sandbox/include/asm/gpio.h b/arch/sandbox/include/asm/gpio.h
index 0500c53..33a9929 100644
--- a/arch/sandbox/include/asm/gpio.h
+++ b/arch/sandbox/include/asm/gpio.h
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -45,7 +45,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
  * &amp;lt; at &amp;gt;param gpGPIO number
  * &amp;lt; at &amp;gt;return -1 on error, 0 if GPIO is low, &amp;gt;0 if high
  */
-int sandbox_gpio_get_value(unsigned gp);
+int sandbox_gpio_get_value(struct device *dev, unsigned int offset);
 
 /**
  * Set the simulated value of a GPIO (used only in sandbox test code)
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -54,7 +54,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int sandbox_gpio_get_value(unsigned gp);
  * &amp;lt; at &amp;gt;param valuevalue to set (0 for low, non-z&lt;/pre&gt;</description>
    <dc:creator>Simon Glass</dc:creator>
    <dc:date>2013-06-19T03:52:37</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.boot-loaders.u-boot">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.boot-loaders.u-boot</link>
  </textinput>
</rdf:RDF>
