- 02 9月, 2015 8 次提交
-
-
由 Otavio Salvador 提交于
cgtqmx6eval can be populated with a AR8035 or KSZ9031 depending on the board revision. Add Ethernet support. Signed-off-by: NOtavio Salvador <otavio@ossystems.com.br>
-
由 Marek Vasut 提交于
Remove this ad-hoc mkimage invocation in MXS Makefile and replace it with the standard mkimage rule instead. This patch fixes recent build issues introduced by the patch 92a655c3 mkimage: Set up a file size parameter and keep it updated These build issues could be triggered by building for example the MX28EVK and the u-boot.sb image: $ make mx28evk_defconfig $ make V=1 u-boot.sb [...] make -f ./scripts/Makefile.build obj=arch/arm/cpu/arm926ejs/mxs u-boot.sb ./tools/mkimage -n arch/arm/cpu/arm926ejs/mxs/mxsimage.mx28.cfg -T mxsimage u-boot.sb ./tools/mkimage: Can't open (null): Bad address arch/arm/cpu/arm926ejs/mxs/Makefile:82: recipe for target 'u-boot.sb' failed make[1]: *** [u-boot.sb] Error 1 Makefile:989: recipe for target 'u-boot.sb' failed make: *** [u-boot.sb] Error 2 With this patch: ./tools/mkimage -n arch/arm/cpu/arm926ejs/mxs/mxsimage.mx28.cfg -T mxsimage -d arch/arm/cpu/arm926ejs/mxs/mxsimage.mx28.cfg u-boot.sb Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Juha Lumme <juha.lumme@gmail.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Jörg Krause 提交于
For pages of 2048 bytes the current setting of the ECC Error Correction Level is only true for an oob size of 64 bytes and wrong for all others. Instead of hard-coding every possible combination of page size and oob size use the dynamic calculation of the ECC strength introduced in commit 6121560d. Cc: Marek Vasut <marex@denx.de> Signed-off-by: NJörg Krause <joerg.krause@embedded.rocks> Acked-by: NMarek Vasut <marex@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Peng Fan 提交于
Discard CONFIG_MX6 in mx6ul_14x14_evk.h, since it is already defined in mx6_common.h. Tested on mx6ul_14x14_evk board. Signed-off-by: NPeng Fan <Peng.Fan@freescale.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de>
-
由 Stefan Roese 提交于
This patch removes the SPI support from the WRU-IV baseboard as its not used at all. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Clemens Gruber <clemens.gruber@pqgruber.com> Cc: Markus Niebel <Markus.Niebel@tq-group.com> Cc: Stefano Babic <sbabic@denx.de> Tested-by: NClemens Gruber <clemens.gruber@pqgruber.com> Reviewed-by: NJagan Teki <jteki@openedev.com>
-
由 vpeter4 提交于
Use dd'ed SPL and u-boot.img by default. Signed-off-by: NPeter Vicman <peter.vicman@gmail.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: NStefano Babic <sbabic@denx.de> Acked-by: NFabio Estevam <fabio.estevam@freescale.com>
-
由 vpeter4 提交于
Currently we need to build one U-boot image for each of the udoo variants: quad and dual-lite. By switching to SPL we can support all two variants with a single binary. Based on the SPL for wandboard. Tested with OpenELEC (Open Embedded Linux Entertainment Center) on both boards. Signed-off-by: NPeter Vicman <peter.vicman@gmail.com> Cc: Fabio Estevam <fabio.estevam@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by: NStefano Babic <sbabic@denx.de> Signed-off-by: NPeter Vicman <peter.vicman@gmail.com> Acked-by: NFabio Estevam <fabio.estevam@freescale.com>
-
由 Baruch Siach 提交于
When dcd_len is 0 the Write Data command that the set_dcd_rst_v2() routine generates is empty. This causes HAB to complain that the command is invalid. --------- HAB Event 1 ----------------- event data: 0xdb 0x00 0x0c 0x41 0x33 0x06 0xc0 0x00 0xcc 0x00 0x04 0x04 To fix this set the DCD pointer in the IVT to NULL in this case. The DCD header itself is still needed for detect_imximage_version() to determine the image version. Signed-off-by: NBaruch Siach <baruch@tkos.co.il> Acked-by: NStefano Babic <sbabic@denx.de>
-
- 01 9月, 2015 1 次提交
-
-
- 31 8月, 2015 31 次提交
-
-
-
由 Boris Brezillon 提交于
Signed-off-by: NBoris Brezillon <boris.brezillon@free-electrons.com> Acked-by: NHans de Goede <hdegoede@redhat.com> Signed-off-by: NHans de Goede <hdegoede@redhat.com>
-
由 Masahiro Yamada 提交于
This should depend on SPL_OF_CONTROL (it is not equivalent to SPL && OF_CONTROL). Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Masahiro Yamada 提交于
This driver actually does nothing but test pinctrl uclass, and demonstrate how things work. To try this driver, uncomment /* #define DEBUG */ in the drivers/pinctrl/pinctrl-sandbox.c, and debug messages will be displayed. DRAM: 128 MiB sandbox pinmux: group = 1 (serial_a), function = 1 (serial) Using default environment In: cros-ec-keyb Out: lcd Err: lcd Net: Net Initialization Skipped eth0: eth@10002000, eth1: eth@80000000, eth5: eth@90000000 => i2c dev 0 Setting bus to 0 sandbox pinmux: group = 0 (i2c), function = 0 (i2c) sandbox pinconf: group = 0 (i2c), param = 3, arg = 1 Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Masahiro Yamada 提交于
This creates a new framework for handling of pin control devices, i.e. devices that control different aspects of package pins. This uclass handles pinmuxing and pin configuration; pinmuxing controls switching among silicon blocks that share certain physical pins, pin configuration handles electronic properties such as pin- biasing, load capacitance etc. This framework can support the same device tree bindings, but if you do not need full interface support, you can disable some features to reduce memory foot print. Typically around 1.5KB is necessary to include full-featured uclass support on ARM board (CONFIG_PINCTRL + CONFIG_PINCTRL_FULL + CONFIG_PINCTRL_GENERIC + CONFIG_PINCTRL_PINMUX), for example. We are often limited on code size for SPL. Besides, we still have many boards that do not support device tree configuration. The full pinctrl, which requires OF_CONTROL, does not make sense for those boards. So, this framework also has a Do-It-Yourself (let's say simple pinctrl) interface. With CONFIG_PINCTRL_FULL disabled, the uclass itself provides no systematic mechanism for identifying the peripheral device, applying pinctrl settings, etc. They must be done in each low-level driver. In return, you can save much memory footprint and it might be useful especially for SPL. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Masahiro Yamada 提交于
This is useful when we want to bind a device, but do not need the pointer to the device. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The TPM is listed in the device tree. Enable the driver and 'tpm' command so that it can be used. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NChristophe Ricard <christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
This command provides a few useful tests so enable it for common boards. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
These tests come from Chrome OS code. They are not particularly tidy but can be useful for checking that the TPM is behaving correctly. Some knowledge of TPM operation is required to use these. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Add a few new functions which will be used by the test command in a future patch. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Add a command to display basic information about a TPM such as the model and open/close state. This can be useful for debugging. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NChristophe Ricard <christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Convert the tpm_tis_lpc driver to use driver model and update boards which use it. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Convert the tpm_tis_i2c driver to use driver model and update boards which use it. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Add a TPM node to the various Chromebooks so that driver can be converted to driver model. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Rather then crashing when there is no data, print an error. The error is printed by the caller to parse_byte_string(). Acked-by: NChristophe Ricard <christophe-h.ricard@st.com> Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Convert the sandbox TPM driver to use driver model. Add it to the device tree so that it can be found on start-up. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NChristophe Ricard <christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
When a 'tpm' command fails, we set the return code but give no indication of failure. This can be confusing. Add an error message when any tpm command fails. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
I2C chips can support a register offset, with registers accessible by sending this offset as the first part of any read or write transaction. Most I2C chips have a single byte offset, thus the offset length is 1. This provides access for up 256 registers. However other offset lengths are supported, including 0. Add a command to provide access to the offset length from the command line. This allows the offset length to be read or written. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Add driver model support to the TPM command and the TPM library. Both support only a single TPM at present. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Add a new uclass for TPMs which uses almost the same TIS (TPM Interface Specification) as is currently implemented. Since init() is handled by the normal driver model probe() method, we don't need to implement that. Also rename the transfer method to xfer() which is a less clumbsy name. Once all drivers and users are converted to driver model we can remove the old code. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Use a _US suffix for microseconds and a _MS suffic for milliseconds. Move all timeouts and delays into one place. Use mdelay() instead of udelay() where appropriate. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NChristophe Ricard <christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Use the same prefix on each function for consistency. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NChristophe Ricard <christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Move all the init and uninit code into one place. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: Christophe Ricard<christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Some definitions are in the C file and some are in the header file. Move everything into the header file for consistency and to reduce clutter. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
There are too many structures storing the same sort of information. Move the fields from struct tpm into struct tpm_chip and remove the former struct. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
There are too many structures storing the same sort of information. Move the fields from struct tpm_dev into struct tpm_chip and remove the former struct. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
This function is misnamed since it only applies to a single driver. Merge its fields into its parent. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
The function methods in struct tpm_vendor_specific just call local functions. Change the code to use a direct call. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
The current Infineon I2C TPM driver is written in two parts, intended to support use with other I2C devices. However we don't have any users and the Atmel I2C TPM device does not use this file. We should simplify this and remove the unused abstration. As a first step, move the code into one file. Also the name tpm_private.h suggests that the header file is generic to all TPMs but it is not. Rename it indicate that it relates only to this driver Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Add an SPDX header to two drivers that don't have it. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NChristophe Ricard <christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Simon Glass 提交于
Convert all TPM options to Kconfig and tidy up. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NChristophe Ricard <christophe-h.ricard@st.com> Reviewed-by: NHeiko Schocher <hs@denx.de>
-