- Dec 04, 2016
-
-
Niko Mauno authored
Change 'date' to 'data'. Signed-off-by:
Tomas Melin <tomas.melin@vaisala.com>
-
- May 06, 2015
-
-
Simon Glass authored
Most callers unpack the structure and pass each member. It seems better to pass the whole structure instead, as with the C library. Also add an rtc_ prefix. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Heiko Schocher <hs@denx.de>
-
Simon Glass authored
Rename this function so that it is clear that it is provided by the RTC. Also return an error when it cannot function as expected. This is unlikely to occur since it works for dates since 1752 and many RTCs do not support such old dates. Still it is better to be accurate. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Heiko Schocher <hs@denx.de>
-
- Jan 05, 2015
-
-
Masahiro Yamada authored
All the MPC824X boards are still non-generic boards: A3000, CPC45, CU824, eXalion, MVBLUE, MUSENKI, Sandpoint824x, utx8245 Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Josef Wagner <Wagner@Microsys.de> Cc: Torsten Demke <torsten.demke@fci.com> Cc: Jim Thompson <jim@musenki.com> Cc: Greg Allen <gallen@arlut.utexas.edu>
-
- Dec 13, 2013
-
-
Masahiro Yamada authored
All objects under post/ directory are enabled by CONFIG_HAS_POST. (post/tests.o is enabled by CONFIG_POST_STD_LIST. But CONFIG_POST_STD_LIST depends on CONFIG_HAS_POST.) We can move CONFIG_HAS_POST switch to the top Makefile. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Nov 25, 2013
-
-
Masahiro Yamada authored
Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Nov 01, 2013
-
-
Masahiro Yamada authored
This commit also deletes post/rules.mk, which in not necessary any more. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com>
-
- Jul 24, 2013
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by:
Tom Rini <trini@ti.com>
-
- May 01, 2013
-
-
Anatolij Gustschin authored
Devices in CONFIG_SYS_POST_I2C_IGNORES list may be absent and the rule is not to report I2C POST failure for devices in this list. Currently this doesn't work since probing for these devices isn't done and thus they are not marked as successfully probed. Ignore optional devices when checking for devices that didn't respond. Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Oct 23, 2011
-
-
Heiko Schocher authored
commit 8d3fcb5e breaks post memory support for sdram base != 0x00000000. Fix this. Signed-off-by:
Heiko Schocher <hs@denx.de> Cc: Valentin Longchamp <valentin.longchamp@keymile.com> Cc: Holger Brunck <holger.brunck@keymile.com> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
- Oct 05, 2011
-
-
Valentin Longchamp authored
This test is similar to the actual POST memory test but quicker and far less complete. It checks the address and data lines and then only tests some regularly placed sub regions of the RAM. This can be useful when we want to test the RAM but we do not have enough time to run the full memory test. The POST memory test code was rearranged in order to avoid code duplication between the two tests but the memory test functionnality remains the same. Signed-off-by:
Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by:
Holger Brunck <holger.brunck@keymile.com> Ackey-by:
Mike Frysinger <vapier@gentoo.org>
-
Valentin Longchamp authored
This is needed for a further patch adding a new memory test. Signed-off-by:
Valentin Longchamp <valentin.longchamp@keymile.com> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
- Jul 27, 2011
-
-
Heiko Schocher authored
change bd->bi_memsize to gd->ram_size, as this is defined on all archs, so this post test can used on none powerpc archs too. Signed-off-by:
Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <hs@denx.de> cc: Mike Frysinger <vapier@gentoo.org>
-
Heiko Schocher authored
Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Jul 26, 2011
-
-
Mike Frysinger authored
This adds a simple flash test to automatically verify erasing, writing, and reading of sectors. The code is based on existing Blackfin tests but generalized for everyone to use. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
We've got a handy dandy macro already for calculating the number of elements in an array, so use it. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Nov 17, 2010
-
-
Sebastien Carlier authored
Before this commit, weak symbols were not overridden by non-weak symbols found in archive libraries when linking with recent versions of binutils. As stated in the System V ABI, "the link editor does not extract archive members to resolve undefined weak symbols". This commit changes all Makefiles to use partial linking (ld -r) instead of creating library archives, which forces all symbols to participate in linking, allowing non-weak symbols to override weak symbols as intended. This approach is also used by Linux, from which the gmake function cmd_link_o_target (defined in config.mk and used in all Makefiles) is inspired. The name of each former library archive is preserved except for extensions which change from ".a" to ".o". This commit updates references accordingly where needed, in particular in some linker scripts. This commit reveals board configurations that exclude some features but include source files that depend these disabled features in the build, resulting in undefined symbols. Known such cases include: - disabling CMD_NET but not CMD_NFS; - enabling CONFIG_OF_LIBFDT but not CONFIG_QE. Signed-off-by:
Sebastien Carlier <sebastien.carlier@gmail.com>
-
Heiko Schocher authored
If CONFIG_SYS_POST_I2C_ADDRS is not defined and CONFIG_SYS_POST_I2C is activated, i2c_probe() is not called in the for statement, because missing curly bracket. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Oct 27, 2010
-
-
Wolfgang Denk authored
Commit 7e263cea "post/i2c: Clean up detection logic" added a "const" qualifier to the declaration of i2c_addr_list[], missing the fact that the list gets modified later in the code, which results in build errors like these: i2c.c: In function 'i2c_post_test': i2c.c:88: error: assignment of read-only location Remove the incorrect "const". Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Peter Tyser <ptyser@xes-inc.com> Cc: Heiko Schocher <hs@denx.de> Acked-by:
Heiko Schocher <hs@denx.de>
-
- Oct 22, 2010
-
-
Peter Tyser authored
Add the ability to not report an I2C POST error for a set of given I2C addresses on bootup. This is useful for cases when a device may or may not be present, and neither case is considered an error. For example: - Some form factors such as XMC and Compact PCI Express have an I2C EEPROM whose address changes based on geographical address. Eg installed in one slot its EEPROM address is, 0x50, in another its 0x51, etc. This allows multiple devices to have their EEPROMs present on the same I2C bus. Thus the I2C devices present for an XMC or CPCIe card depend on if and where other cards are installed in the same system. - Some cards have optional I2C devices. Eg one hardware build configuration has different I2C devices than another and software can't determine if the optional device should be present or not. - Some cards have optional daughtercards with I2C devices on them. - I2C EEPROMs address range depends on their size. Its possible to support differently size EEPROMs by only probing the EEPROM's base address and ignoring the other addresses that are impacted by its size. A new CONFIG_SYS_POST_I2C_IGNORES define has been added which specifies a list of I2C addresses for the I2C POST to ignore. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Acked-by:
Heiko Schocher <hs@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Peter Tyser authored
Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Acked-by:
Heiko Schocher <hs@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Peter Tyser authored
According to the I2C specification device address 0 is the "general call address", ie a broadcast address. The I2C specification states that the format of a general call uses at least 2 bytes, which U-Boot's probing routine does not adhere to. Not probing device address 0 will prevent possible issues with devices that accept general calls. Additionally, this change shouldn't reduce POST coverage since each I2C device should still be accessed via its own, unique address. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Acked-by:
Heiko Schocher <hs@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Peter Tyser authored
The logic previously used in the I2C post was a bit convoluted. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Acked-by:
Heiko Schocher <hs@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Peter Tyser authored
- Clean up ifdeffery - Update coding style No functional change should have occurred. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com> Acked-by:
Heiko Schocher <hs@denx.de> Acked-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Oct 19, 2010
-
-
York Sun authored
Add weak functions to enable architecture depended preparation, address advancing, cleaning up and error handling. These weak functions provides the framwork to implemente arch/platform dependent code for initializing/maintenance/restore the start address, size, physical address as well as memory mapping before/between/after memory test. arch_memory_failure_handle can also be implemented in case more care is needed for arch/platform. Signed-off-by:
York Sun <yorksun@freescale.com>
-
- Oct 18, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- May 20, 2008
-
-
Wolfgang Denk authored
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Apr 22, 2008
-
-
Yuri Tikhonov authored
Introduce the new logical option CONFIG_HAS_POST which is set when the platform has CONFIG_POST set. Use CONFIG_HAS_POST in the post/ Makefiles to determine should the POST libs be compiled for the selected target platform, or not. To avoid breaking u-boot linking process, the empty post/libpost.a file is created for platforms which do not have POSTs. Signed-off-by:
Yuri Tikhonov <yur@emcraft.com> Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Yuri Tikhonov authored
Remove CONFIG_POST ifdefs from the post/ source files. Signed-off-by:
Yuri Tikhonov <yur@emcraft.com> Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Mar 20, 2008
-
-
Yuri Tikhonov authored
Modify the RTC API to provide one a status for the time reported by the rtc_get() function: 0 - a reliable time is guaranteed, < 0 - a reliable time isn't guaranteed (power fault, clock issues, and so on). The RTC chip drivers are responsible for providing this info if the corresponding chip supports such functionality. If not - always report that the time is reliable. The POST RTC test was modified to detect the RTC faults utilizing this new rtc_get() feature. Signed-off-by:
Yuri Tikhonov <yur@emcraft.com>
-
- Mar 02, 2008
-
-
Anatolij Gustschin authored
Fix warnings while compilation with new gcc in eldk-4.2 Signed-off-by:
Anatolij Gustschin <agust@denx.de>
-
- Aug 25, 2007
-
-
Yuri Tikhonov authored
As experienced on lwmon5, on some boards the POST memory test can corrupt the global data buffer (bd). This patch fixes this issue by checking and limiting this area. Signed-off-by:
Yuri Tikhonov <yur@emcraft.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jul 05, 2007
-
-
Sergei Poselenov authored
Signed-off-by:
Sergei Poselenov <sposelenov@emcraft.com>
-
- Mar 06, 2007
-
-
Wolfgang Denk authored
-