- 31 8月, 2015 23 次提交
-
-
由 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>
-
由 Simon Glass 提交于
Add new Kconfig options for TPMs in preparation for moving boards to use Kconfig for TPM configuration. 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 提交于
The address of the I2C TPM is now defined in the device tree so there is no need for the CONFIG options. Remove them from the README and board config to avoid confusion. 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 is not used anymore by any board so drop 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>
-
由 Misha Komarovskiy 提交于
If board uses downstream Chrome OS U-Boot as first stage bootloader and upstream version is chained second stage, 1.1V is minimum voltage borderline. Signed-off-by: NMisha Komarovskiy <zombah@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This requires 'Series-cover_cc' at present which is incorrect. Fix it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Bin Meng 提交于
Sort different types of drivers in alphabetical order. Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Bin Meng 提交于
Right now PHYS_TO_BUS shows in the Kconfig main menu, move it. Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Bin Meng 提交于
Make "Generic Driver Options" menu show on the top in the Kconfig. Signed-off-by: NBin Meng <bmeng.cn@gmail.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Marek Vasut 提交于
Add Kconfig entries for the simple-bus driver, both for U-Boot and for SPL. The simple-bus is enabled by default in U-Boot and disabled by default in SPL to preserve the original behavior. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org> Modified to fit on top of Masahiro's $(SPL) setup: Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This is a convenient way for a driver to get the hardware address of a device, when regmap or syscon are not being used. Change existing callers to use it as an example to others. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NJoe Hershberger <joe.hershberger@ni.com> Acked-by: NStephen Warren <swarren@wwwdotorg.org>
-
由 Masahiro Yamada 提交于
This can be simply written with list_for_each_entry(), maybe this macro was not necessary in the first place. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
- 30 8月, 2015 9 次提交
-
-
由 Masahiro Yamada 提交于
Initial version of DTSI for ProXstream2 and PH1-LD6b and DTS for PH1-LD6b reference board. Import from Linux with some adjustments: - Use SPDX-License-Identifier - Add clock-frequency to serial nodes - Drop unusable nodes from -ref.dts While I am here, sort Makefile entries alphabetically. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Initial version of UniPhier PH1-Pro5 device tree. (Imported from Linux with adjustment for SPDX License Identifier) Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
This commit imports device tree updates from Linux. It eventually adds pinctrl-related nodes and properties. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
This driver is enabled only for UniPhier SoCs and ARCH_UNIPHIER now selects OF_CONTROL and SPL_OF_CONTROL. This driver no longer needs to support platform data configuration. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Masahiro Yamada 提交于
Device Tree really improves code maintainability and is now available for SPL too. This is the state-of-the-art implementation in U-boot. The board files (platform data) are no longer needed. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: NMarek Vasut <marex@denx.de> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Masahiro Yamada 提交于
Now UniPhier SoCs highly depend on Driver Model for SPL, too. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
This macro is not referenced at all. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
The build error happens if CONFIG_DEBUG_LL and CONFIG_MACH_PH1_SLD3 are both enabled. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
由 Masahiro Yamada 提交于
Since commit 2580a2a7 ("mtd: nand: Increase max sizes of OOB and Page size"), three boards (ph1_ld4, ph1_pro4, ph1_sld8) fail to build with the following error message: arm-linux-gnueabi-ld.bfd: SPL image plus BSS too big They compile drivers/mtd/nand/denali_spl.c and it has a page_buffer as static data: static uint8_t page_buffer[NAND_MAX_PAGESIZE]; This buffer required 8KB in .bss section before that commit and now it has been increased to 16KB. Given limited code/memory size for SPL, it is not a good idea to allocate a page buffer statically. In the first place, the load address 'dst' can be used as a page buffer. Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
-
- 29 8月, 2015 8 次提交
-
-
由 Tom Rini 提交于
Otherwise we get: tools/atmelimage.c:134:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=] debug("atmelimage: interrupt vector #%d is 0x%08X\n", pos+1, ^ Reviewed-by: NAndreas Bießmann <andreas.devel@googlemail.com> Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Kishon Vijay Abraham I 提交于
Now that we have separate function to enable USB clocks, remove enabling USB clocks from enable_basic_clocks(). Now board_usb_init() should take care to invoke enable_usb_clocks() for enabling USB clocks. Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Kishon Vijay Abraham I 提交于
invoke enable_usb_clocks during board_usb_init and disable_usb_clocks during board_usb_exit to enable and disable clocks respectively. Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Kishon Vijay Abraham I 提交于
Added functions to enable and disable USB clocks which can be invoked during USB init and USB exit respectively. Cc: Roger Quadros <rogerq@ti.com> Cc: Tero Kristo <t-kristo@ti.com> Cc: Nishanth Menon <nm@ti.com> Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Kishon Vijay Abraham I 提交于
Added functions to enable and disable USB clocks which can be invoked during USB init and USB exit respectively. Cc: Roger Quadros <rogerq@ti.com> Cc: Tero Kristo <t-kristo@ti.com> Cc: Nishanth Menon <nm@ti.com> Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Kishon Vijay Abraham I 提交于
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in omap5 board file that can be invoked by various gadget drivers. Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Kishon Vijay Abraham I 提交于
Implemented board_usb_init(), board_usb_cleanup() and usb_gadget_handle_interrupts() in beagle_x15 board file that can be invoked by various gadget drivers. Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Kishon Vijay Abraham I 提交于
The usbboot environment variable has 'usb start' command but doesn't have the corresponding 'usb stop' command. This breaks usb peripheral mode if tried after 'run usbboot' fails to load the images in usb host mode. Fix it here by adding 'usb stop' command in usbboot env. Signed-off-by: NKishon Vijay Abraham I <kishon@ti.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-