31 Aug, 2015
12 commits
-
Convert all TPM options to Kconfig and tidy up.
Signed-off-by: Simon Glass
Acked-by: Christophe Ricard
Reviewed-by: Heiko Schocher -
Add new Kconfig options for TPMs in preparation for moving boards to use
Kconfig for TPM configuration.Signed-off-by: Simon Glass
Acked-by: Christophe Ricard
Reviewed-by: Heiko Schocher -
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: Simon Glass
Acked-by: Christophe Ricard
Reviewed-by: Heiko Schocher -
This is not used anymore by any board so drop it.
Signed-off-by: Simon Glass
Acked-by: Christophe Ricard
Reviewed-by: Heiko Schocher -
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: Misha Komarovskiy
Acked-by: Simon Glass -
This requires 'Series-cover_cc' at present which is incorrect. Fix it.
Signed-off-by: Simon Glass
-
Sort different types of drivers in alphabetical order.
Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Right now PHYS_TO_BUS shows in the Kconfig main menu, move it.
Signed-off-by: Bin Meng
Acked-by: Simon Glass -
Make "Generic Driver Options" menu show on the top in the Kconfig.
Signed-off-by: Bin Meng
Acked-by: Simon Glass -
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: Marek Vasut
Cc: Simon Glass
Acked-by: Simon Glass
Modified to fit on top of Masahiro's $(SPL) setup:
Signed-off-by: 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: Simon Glass
Reviewed-by: Joe Hershberger
Acked-by: Stephen Warren -
This can be simply written with list_for_each_entry(), maybe
this macro was not necessary in the first place.Signed-off-by: Masahiro Yamada
Acked-by: Simon Glass
30 Aug, 2015
9 commits
-
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.dtsWhile I am here, sort Makefile entries alphabetically.
Signed-off-by: Masahiro Yamada
-
Initial version of UniPhier PH1-Pro5 device tree.
(Imported from Linux with adjustment for SPDX License Identifier)
Signed-off-by: Masahiro Yamada
-
This commit imports device tree updates from Linux. It eventually
adds pinctrl-related nodes and properties.Signed-off-by: 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: Masahiro Yamada
Reviewed-by: Simon Glass -
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: Masahiro Yamada
Reviewed-by: Marek Vasut
Reviewed-by: Simon Glass -
Now UniPhier SoCs highly depend on Driver Model for SPL, too.
Signed-off-by: Masahiro Yamada
-
This macro is not referenced at all.
Signed-off-by: Masahiro Yamada
-
The build error happens if CONFIG_DEBUG_LL and CONFIG_MACH_PH1_SLD3
are both enabled.Signed-off-by: Masahiro Yamada
-
Since commit 2580a2a7e719 ("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 bigThey 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: Masahiro Yamada
29 Aug, 2015
19 commits
-
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: Andreas Bießmann
Signed-off-by: Tom Rini -
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: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
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: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
Added functions to enable and disable USB clocks which can be invoked
during USB init and USB exit respectively.Cc: Roger Quadros
Cc: Tero Kristo
Cc: Nishanth Menon
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
Added functions to enable and disable USB clocks which can be invoked
during USB init and USB exit respectively.Cc: Roger Quadros
Cc: Tero Kristo
Cc: Nishanth Menon
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
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: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
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: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
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: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
vbus_id_status is initialized in board_usb_init. So remove it
while creating dwc3_device objects.Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
Added support to power on/power off the second USB PHY present in
DRA7xx and AM57xx.Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
Enabled clocks for the second dwc3 controller and second USB PHY present in
DRA7.Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Tom Rini -
Writing "0x00" to the USBOTGSS_IRQENABLE_SET_MISC and
USBOTGSS_IRQENABLE_SET_0 doesn't disable the interrupts. Used
USBOTGSS_IRQENABLE_CLR_MISC and USBOTGSS_IRQENABLE_CLR_0 instead.Signed-off-by: Kishon Vijay Abraham I
Acked-by: Marek Vasut
Reviewed-by: Tom Rini -
The SOURCE_DATE_EPOCH mechanism for reproducible builds require some date(1)
with -d switch to print the relevant date and time strings of another point of
time.In other words it requires some date(1) that behaves like the GNU date(1) [1].
The BSD date(1) [2] on the other hand has the same switch but with a different
meaning.Respect this and check the date(1) abilities before usage, error on non
working version. Use the well known pre- and suffixes for the GNU variant of
a tool on *BSD hosts to search for a working date(1) version.[1] http://man7.org/linux/man-pages/man1/date.1.html [2]
http://www.freebsd.org/cgi/man.cgi?query=dateSigned-off-by: Andreas Bießmann
-
Commit 181bd9dc61d2da88b78f1c1138a685dae39354d6 introduced Kconfig selection
for SYS_PROMPT. When applying the new picosam9g45 board this change slipped
through, adopt it.Signed-off-by: Andreas Bießmann
-
This fixes the following genboardscfg.py warnings:
---88---
Signed-off-by: Andreas Bießmann
-
This fixes following genboardscfg.py warning:
---88---
Signed-off-by: Andreas Bießmann
-
The SYS_BOOT-based fallback shouldn't only check for one of the conditions of
use and then let the switch/case handle each boot device without enforcing the
conditions for each type of boot device again.For instance, this behaviour would trigger the fallback for UART when
BOOT_DEVICE_UART is defined, CONFIG_SPL_YMODEM_SUPPORT is enabled (which should
be a show-stopper) and e.g. BOOT_DEVICE_USB is enabled and not
CONFIG_SPL_USB_SUPPORT.
Separating the logic for USB and UART solves this.In addition, this adds support for more peripheral devices (USBETH and CPGMAC)
to the fallback mechanism. Note that the USBETH boot device should always be
different from the USB boot device (each should match a different bootrom
handoff case).Signed-off-by: Paul Kocialkowski
Acked-by: Hannes Schmelzer
Tested-by: Hannes Schmelzer -
Various U-Boot adoptions/extensions to MTD/NAND/UBI did not take buffer
alignment into account which led to failures of the following form:ERROR: v7_dcache_inval_range - start address is not aligned - 0x1f7f0108
ERROR: v7_dcache_inval_range - stop address is not aligned - 0x1f7f1108Signed-off-by: Marcel Ziswiler
Reviewed-by: Simon Glass
Acked-by: Scott Wood
[trini: Add __UBOOT__ hunk to lib/zlib/zutil.c due to malloc.h in common.h]
Signed-off-by: Tom Rini -
This patch brings the following changes to the x600 board support:
- Add USB EHCI support
- Add VFAT support for USB key file access
- Increase malloc size (for UBI / UBIFS usage)
- Enable Thumb mode to save some image space
- Remove unreferenced CONFIG_STACKSIZE
- Remove unreferenced CONFIG_SPL_NO_PRINTFSigned-off-by: Stefan Roese
Acked-by: Viresh Kumar
Cc: Vipin Kumar