<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/sandbox/include, branch v2015.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/sandbox/include?h=v2015.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/sandbox/include?h=v2015.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-12-11T20:18:42Z</updated>
<entry>
<title>dm: i2c: Add an I2C EEPROM simulator</title>
<updated>2014-12-11T20:18:42Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-12-10T15:55:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6ec1b7535873dee4c73895e430494e12be4e3e4d'/>
<id>urn:sha1:6ec1b7535873dee4c73895e430494e12be4e3e4d</id>
<content type='text'>
To enable testing of I2C, add a simple I2C EEPROM simulator for sandbox.
It supports reading and writing from a small data store.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Heiko Schocher &lt;hs@denx.de&gt;
Reviewed-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
</content>
</entry>
<entry>
<title>Provide option to avoid defining a custom version of uintptr_t.</title>
<updated>2014-10-27T15:04:01Z</updated>
<author>
<name>Gabe Black</name>
<email>gabeblack@chromium.org</email>
</author>
<published>2014-10-15T10:38:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0d296cc2d3b8e2ffa46b4a93d1398fa6bf85b504'/>
<id>urn:sha1:0d296cc2d3b8e2ffa46b4a93d1398fa6bf85b504</id>
<content type='text'>
There's a definition in stdint.h (provided by gcc) which will be more correct
if available.

Define CONFIG_USE_STDINT to use this feature, or USE_STDINT=1 on the 'make'
commmand.

This adjusts the settings for x86 and sandbox, with both have 64-bit options.

Signed-off-by: Gabe Black &lt;gabeblack@google.com&gt;
Reviewed-by: Gabe Black &lt;gabeblack@chromium.org&gt;
Tested-by: Gabe Black &lt;gabeblack@chromium.org&gt;
Reviewed-by: Bill Richardson &lt;wfrichar@google.com&gt;
Rewritten to be an option, since stdint.h is often available only in glibc.
Changed to preserve a clear boundary between stdint and non-stdint
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: sf: sandbox: Convert SPI flash driver to driver model</title>
<updated>2014-10-22T16:36:51Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-10-14T05:42:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b6c2956defb42ce7fe1763f628b81e95f485eb2d'/>
<id>urn:sha1:b6c2956defb42ce7fe1763f628b81e95f485eb2d</id>
<content type='text'>
Convert sandbox's spi flash emulation driver to use driver model.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jagannadh.teki@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: sandbox: spi: Move to driver model</title>
<updated>2014-10-22T16:36:48Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-10-14T05:41:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=49b5d6e6e2efab092b18ed53a850b71a59d3eb78'/>
<id>urn:sha1:49b5d6e6e2efab092b18ed53a850b71a59d3eb78</id>
<content type='text'>
Adjust the sandbox SPI driver to support driver model and move sandbox over
to driver model for SPI.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Jagannadha Sutradharudu Teki &lt;jagannadh.teki@gmail.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Set up global data before board_init_f()</title>
<updated>2014-07-23T13:05:39Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-07-11T04:23:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4d94dfa0594260245813ea150e276908cc677199'/>
<id>urn:sha1:4d94dfa0594260245813ea150e276908cc677199</id>
<content type='text'>
At present sandbox defines CONFIG_SYS_GENERIC_GLOBAL_DATA, meaning that
the global_data pointer is set up in board_init_f().

If we set up and zero the global data before calling board_init_f() then we
don't need to define CONFIG_SYS_GENERIC_GLOBAL_DATA.

Make this change to simplify the init process.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>build: define CPU only when arch/${ARCH}/cpu/${CPU} exists</title>
<updated>2014-07-07T23:42:34Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-06-24T13:10:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a8b0f9b685072e1d3acd01741e7db6833b445b2a'/>
<id>urn:sha1:a8b0f9b685072e1d3acd01741e7db6833b445b2a</id>
<content type='text'>
The directory arch/${ARCH}/cpu/${CPU} does not exist
in avr32, blackfin, microblaze, nios2, openrisc, sandbox, x86.

These architectures have only one CPU type.
Defining CPU should not be required for such architectures.

This commit allows cpu field (= the 3rd field of boards.cfg)
to be kept blank.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Andreas Bießmann &lt;andreas.devel@googlemail.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Cc: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Cc: Stefan Kristiansson &lt;stefan.kristiansson@saunalahti.fi&gt;
</content>
</entry>
<entry>
<title>sandbox: change local_irq_save() to macro</title>
<updated>2014-06-23T21:37:24Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-06-12T03:26:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1638d98052e0d03e46d504b21ec1b88ecfcd87aa'/>
<id>urn:sha1:1638d98052e0d03e46d504b21ec1b88ecfcd87aa</id>
<content type='text'>
local_irq_save() should be a macro, not a function
because local_irq_save() saves flag to the given argument.

GCC is silent about this issue, but Clang warns:

In file included from lib/asm-offsets.c:15:
In file included from include/common.h:20:
In file included from include/linux/bitops.h:110:
arch/sandbox/include/asm/bitops.h:59:17:
 warning: variable 'flags' is uninitialized when used here
      [-Wuninitialized]
        local_irq_save(flags);
                       ^~~~~

That change causes another warning:

In file included from include/linux/bitops.h:110:0,
                 from include/common.h:20,
                 from lib/asm-offsets.c:15:
arch/sandbox/include/asm/bitops.h: In function ‘test_and_set_bit’:
arch/sandbox/include/asm/bitops.h:56:16: warning: unused variable ‘flags’ [-Wunused-variable]

So, flags should be set to __always_unused.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Jeroen Hofstee &lt;jeroen@myspectrum.nl&gt;
</content>
</entry>
<entry>
<title>sandbox: Support iotrace feature</title>
<updated>2014-06-20T17:54:42Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-06-12T05:29:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=42d3b29d9ea7d93da4bae7058711c56b12ebf23c'/>
<id>urn:sha1:42d3b29d9ea7d93da4bae7058711c56b12ebf23c</id>
<content type='text'>
Support the iotrace feature for sandbox, and enable it, using some dummy
I/O access methods.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: rename device struct to udevice</title>
<updated>2014-05-27T14:21:32Z</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2014-05-22T10:43:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=54c5d08a09e631f88738db54c75395c6457c2157'/>
<id>urn:sha1:54c5d08a09e631f88738db54c75395c6457c2157</id>
<content type='text'>
using UBI and DM together leads in compiler error, as
both define a "struct device", so rename "struct device"
in include/dm/device.h to "struct udevice", as we use
linux code (MTD/UBI/UBIFS some USB code,...) and cannot
change the linux "struct device"

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>common/board_f: Initialized global data for generic board</title>
<updated>2014-05-12T19:20:05Z</updated>
<author>
<name>York Sun</name>
<email>yorksun@freescale.com</email>
</author>
<published>2014-05-03T00:28:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2a1680e30e3fa8257b60cb9dbd7add32539ac470'/>
<id>urn:sha1:2a1680e30e3fa8257b60cb9dbd7add32539ac470</id>
<content type='text'>
Some platforms (tested on mpc85xx, mpc86xx) use global data before calling
function baord_inti_f(). The data should not be cleared later. Any arch
which uses global data in generic board board_init_f() should define
CONFIG_SYS_GENERIC_GLOBAL_DATA.

Signed-off-by: York Sun &lt;yorksun@freescale.com&gt;
CC: Scott Wood &lt;scottwood@freescale.com&gt;
CC: Simon Glass &lt;sjg@chromium.org&gt;
CC: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
