<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/sandbox/cpu, branch v2018.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/cpu?h=v2018.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/sandbox/cpu?h=v2018.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2017-12-07T20:17:00Z</updated>
<entry>
<title>Revert "sandbox: remove os_putc() and os_puts()"</title>
<updated>2017-12-07T20:17:00Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-12-04T20:48:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0b189b6ce1738971f2fb7d84860b9bf0f9a1e87b'/>
<id>urn:sha1:0b189b6ce1738971f2fb7d84860b9bf0f9a1e87b</id>
<content type='text'>
While sandbox works OK without the special-case code, it does result in
console output being stored in the pre-console buffer while sandbox starts
up. If there is a crash or a problem then there is no indication of what
is going on.

For ease of debugging it seems better to revert this change.

This reverts commit 47b98ad0f6779485d0f0c14f337c3eece273eb54.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: avoid memory leak in os_dirent_ls</title>
<updated>2017-10-09T02:41:09Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>xypron.glpk@gmx.de</email>
</author>
<published>2017-09-21T10:56:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=04d0da51578e12bd7c490aa70ed581ee5f9dcfea'/>
<id>urn:sha1:04d0da51578e12bd7c490aa70ed581ee5f9dcfea</id>
<content type='text'>
Realloc does not free the old memory area if it fails.

Identified by cppcheck.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Use asm-generic/io.h</title>
<updated>2017-10-03T01:52:24Z</updated>
<author>
<name>Paul Burton</name>
<email>paul.burton@imgtec.com</email>
</author>
<published>2017-09-14T22:05:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f7ae1ca3e894d67ef1e8b6256a26c08e30e25127'/>
<id>urn:sha1:f7ae1ca3e894d67ef1e8b6256a26c08e30e25127</id>
<content type='text'>
Convert the sandbox architecture to make use of the new asm-generic/io.h
to provide address mapping functions. As sandbox actually performs
non-identity mapping between physical &amp; virtual addresses we can't
simply make use of the generic mapping functions, but are able to
implement phys_to_virt() &amp; make use of it from map_physmem().

Signed-off-by: Paul Burton &lt;paul.burton@imgtec.com&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Add a dummy invalidate_dcache_range() function</title>
<updated>2017-08-28T11:17:16Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2017-08-22T15:15:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0d1414bd973a2d86ca42d8fb865617453cbb4c0e'/>
<id>urn:sha1:0d1414bd973a2d86ca42d8fb865617453cbb4c0e</id>
<content type='text'>
This adds invalidate_dcache_range() so that some drivers can build
without error on sandbox.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>sandbox: remove os_putc() and os_puts()</title>
<updated>2017-07-28T18:02:47Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.masahiro@socionext.com</email>
</author>
<published>2017-07-17T04:08:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=47b98ad0f6779485d0f0c14f337c3eece273eb54'/>
<id>urn:sha1:47b98ad0f6779485d0f0c14f337c3eece273eb54</id>
<content type='text'>
They are unused since commit d8c6fb8cedbc ("sandbox: Drop special
case console code for sandbox").

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: use CONFIG_VAL(SYS_MALLOC_F_LEN) to distinguish malloc pool size before relocation</title>
<updated>2017-07-27T12:59:04Z</updated>
<author>
<name>Andy Yan</name>
<email>andyshrk@gmail.com</email>
</author>
<published>2017-07-24T09:49:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1fc50d727ff2ced736e58925ae4a1a815b87f0d2'/>
<id>urn:sha1:1fc50d727ff2ced736e58925ae4a1a815b87f0d2</id>
<content type='text'>
SPL and normal u-boot stage use different malloc pool size
configuration before relocation, so use CONFIG_VAL(SYS_MALLOC_F_LEN)
to fit different boot stage.

Signed-off-by: Andy Yan &lt;andyshrk@gmail.com&gt;

Changes in v3:
- use CONFIG_VAL(), which suggested by Simon

Changes in v2: None

 arch/sandbox/cpu/start.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Reviewed-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Stop printing platdata at the start of SPL</title>
<updated>2017-07-11T16:08:20Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-06-19T04:09:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2028cc59f7b904f8e91a99439aa630b20932baa5'/>
<id>urn:sha1:2028cc59f7b904f8e91a99439aa630b20932baa5</id>
<content type='text'>
Currently we have code which prints out platform data at the start of SPL.
Now that we have tests for dtoc this is probably not necessary. Drop it.
Update test_ofplatdata to check for empty output since it is useful to
check that sandbox_spl works as expected.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Fix comparison of unsigned enum expression warning</title>
<updated>2017-06-09T02:21:59Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2017-05-14T00:11:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e2bc87d41ce866b30721d5b8ee395efefecd9bef'/>
<id>urn:sha1:e2bc87d41ce866b30721d5b8ee395efefecd9bef</id>
<content type='text'>
In os_dirent_get_typename() we are checking that type falls within the
known values of the enum os_dirent_t.  With clang-3.8 testing this value
as being &gt;= 0 results in a warning as it will always be true.  This
assumes of course that we are only given valid data.  Given that we want
to sanity check the input, we change this to check that it falls within
the range of the first to the last entry in the given enum.

Cc: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>bootstage: Require timer_get_boot_us() to be defined</title>
<updated>2017-06-05T18:13:04Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-05-22T11:05:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c87dc38d8f860710f5f624d9dae6cefded285b8d'/>
<id>urn:sha1:c87dc38d8f860710f5f624d9dae6cefded285b8d</id>
<content type='text'>
At present we provide a default version of this function for use by
bootstage. However it uses the system timer and therefore likely requires
driver model. This makes it impossible to time driver-model init.

Drop the function and require boards to provide their own. Add a sandbox
version also. There is a default implememtation in lib/time.c for boards
which use CONFIG_SYS_TIMER_COUNTER.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: Add a way to reset sandbox state for tests</title>
<updated>2017-06-01T13:03:09Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-05-19T02:09:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=34b744beb866c9ae660f2851f9776f80e165d421'/>
<id>urn:sha1:34b744beb866c9ae660f2851f9776f80e165d421</id>
<content type='text'>
Running a new test should reset the sandbox state to avoid tests
interferring with each other. Move the existing state-reset code into a
function so it can be used from tests.

Also update the code to reset the SPI devices and adjust the test code to
call it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
