- Sep 13, 2017
-
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_EMIF4 CONFIG_SDRC Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Stefano Babic <sbabic@denx.de>
-
Adam Ford authored
This converts the following to Kconfig: CONFIG_MAC_ADDR_IN_SPIFLASH CONFIG_MAC_ADDR_IN_EEPROM Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
There was a check for CONFIG_MAC_ADDR_IN_EEPROM and a check for CONFIG_MAC_ADDR_IN_SPIFLASH, however some of the EEPROM related code wasn't encapsulated inside the #if defined statement so the EEPROM code could get executed even when it wasn't explicitly enabled or wanted. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
In mancy cases both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR point to an otherwise-unused SMNAND_ENV_OFFSET. This patch will set both CONFIG_ENV_OFFSET and CONFIG_ENV_ADDR to whatever value was defined by SMNAND_ENV_OFFSET. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
The DTS files had some spacing issues and they needed fixing. This pull re-sync's the OMAP3xx related DTS files with Linux 4.13-RC5. To keep the DTS and DTSI files clean and in sync with Linux, new u-boot.dtsi files are added. Signed-off-by:
Adam Ford <aford173@gmail.com> V3: The resync broke card detect on MMC1 on Logic PD's Torpedo, so we add the cd-invert to the Torpedo's -u-boot.dtsi file. V2: Add the u-boot.dtsi files for OMAP3, OMAP36xx, and Torpedo Remove the need for the second patch in the series
-
Adam Ford authored
Either the USB and Fastboot were never finished, or somehow it got lost. This puts enough hooks back into omap3logic to enable fastboot and hopefully prepare it for Kconfig conversion. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Wenyou Yang authored
Fix the building warning as below: ---8<---- Warning (reg_format): "reg" property in /i2c-gpio-0/pcf8563@50 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c-gpio-0/pcf8563@50 Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c-gpio-0/pcf8563@50 --->8---- Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Keng Soon Cheah authored
Some device the serial console's initialization cannot run early during the boot process. Hence, nulldev serial device is helpful on that situation. For example, if the serial module was implemented in FPGA. Serial initialization is prohibited to run until the FPGA was programmed. This commit is to adding nulldev serial driver. This will allows the default console to be specified as a nulldev. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Keng Soon Cheah <keng.soon.cheah@ni.com> Cc: Chen Yee Chew <chen.yee.chew@ni.com>
-
Anatolij Gustschin authored
With debug enabled, SPL output following these debug prints is on the same line and it is hard to read. Fix it. Signed-off-by:
Anatolij Gustschin <agust@denx.de> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
- Sep 12, 2017
-
-
Vishal Mahaveer authored
DRA71x processors are reduced pin and software compatible derivative of DRA72 processors. Add support for detection of SR2.1 version of DRA71x family of processors. Signed-off-by:
Vishal Mahaveer <vishalm@ti.com> Reviewed-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Adam Ford authored
Like the OMAP-L138 LCDK before it, let's move the da850-evm and the variations to TI_COMMON_CMD_OPTIONS to cut back one some of the defconfig entries. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Masahiro Yamada authored
Some drivers in Linux (ex. drivers/mtd/nand/denali.c) use ioread*/iowrite* accessors. Import them to make drivers more synced. I copied code from include/asm-generic/io.h of Linux. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Masahiro Yamada authored
Import include/linux/dma-direction.h from Linux 4.13-rc7 and delete duplicated definitions of enum dma_data_direction. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
-
Adam Ford authored
Enable TI_COMMON_CMD_OPTIONS and remove similar options from the defconfig. Updated with savedefconfig. Signed-off-by:
Adam Ford <aford173@gmail.com> Tested-by:
Derald D. Woods <woods.technical@gmail.com>
-
Adam Ford authored
Much of the AM3517 functions are copies of the standard definitions used in ti_omap3_common.h. Moving to include a common file reduces the amount of duplicative code and clutter. A few AM3517 specific functions (like EMIF4) are explictly defined and a few items are undefined or redefined, but overall the number of lines of code shink. Signed-off-by:
Adam Ford <aford173@gmail.com> Tested-by:
Derald D. Woods <woods.technical@gmail.com>
-
Andy Yan authored
Add space around operator "+", make it match the coding style. Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Andy Yan authored
Macro VA_BITS and PTE_BLOCK_BITS are not used in the code, so remove them. Signed-off-by:
Andy Yan <andy.yan@rock-chips.com> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Tomas Melin authored
Signed-off-by:
Tomas Melin <tomas.melin@vaisala.com>
-
Wenyou Yang authored
Add the new compatible "atmel,24mac402" to accommodate AT24MAC402. The AT24MAC402 is a 2K Serial EEPROM and the 2-Kbit memory array is internally organized as 16 pages of 16 bytes of EEPROM each. The 48-bit EUI address in the AT24MAC402 are located in the extended memory block. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com>
-
Wenyou Yang authored
Add the new compatible "microchip,24aa02e48" to accommodate 24AA02E48, the 24AA02E48 is a 2K I2C Serial EEPROM with pre-programmed globally unique, 48-bit node address, and 8-byte page size. Signed-off-by:
Wenyou Yang <wenyou.yang@microchip.com>
-
Andrew F. Davis authored
The PMMC firmware should be bundled with the FIT image for HS devices, remove the steps that load and install this firmware outside of FIT. Signed-off-by:
Andrew F. Davis <afd@ti.com>
-
Andrew F. Davis authored
The PMMC firmware should be bundled into a FIT image on HS devices to allow authentication/decryption, add a handler to process this PMMC firmware. Signed-off-by:
Andrew F. Davis <afd@ti.com>
-
Andrew F. Davis authored
Add a new image type representing TI Power Management Micro-Controller (PMMC) Firmware image type. Signed-off-by:
Andrew F. Davis <afd@ti.com>
-
Rob Clark authored
Solves build issue: Building current source for 134 boards (12 threads, 1 job per thread) arm: + lsxhl +examples/api/vsprintf.o: In function `string16': +lib/vsprintf.c:278: undefined reference to `memcpy' +examples/api/uuid.o: In function `uuid_bin_to_str': +lib/uuid.c:197: undefined reference to `memcpy' +lib/uuid.c:199: undefined reference to `memcpy' +make[3]: *** [examples/api/demo] Error 1 +make[2]: *** [examples/api] Error 2 +make[1]: *** [examples] Error 2 +make: *** [sub-make] Error 2 133 0 1 /134 sheevaplug Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
This works (roughly) the same way as linux's, but we currently always print lower-case (ie. we just keep %pUB and %pUL for compat with linux), mostly just because that is what uuid_bin_to_str() supports. %pUb: 01020304-0506-0708-090a-0b0c0d0e0f10 %pUl: 04030201-0605-0807-090a-0b0c0d0e0f10 It will be used by a later efi_loader paths for efi variables and for device-path-to-text protocol, and also quite useful for debug prints of protocol GUIDs. Signed-off-by:
Rob Clark <robdclark@gmail.com> Tested-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Rob Clark authored
This is convenient for efi_loader which deals a lot with UTF-16. Only enabled with CC_SHORT_WCHAR, leaving room to add a UTF-32 version when CC_SHORT_WCHAR is not enabled. Signed-off-by:
Rob Clark <robdclark@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Rob Clark authored
We'll eventually want these in a few places in efi_loader, and also vsprintf. Signed-off-by:
Rob Clark <robdclark@gmail.com>
-
Rob Clark authored
EFI_LOADER really wants UTF-16 strings (ie. %ls and L"string" are 16bit chars instead of 32bit chars). But rather than enabling -fshort-wchar conditionally if EFI_LOADER is enabled, it was deemed preferrable to globally switch. Signed-off-by:
Rob Clark <robdclark@gmail.com> Acked-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
Tom Rini authored
We now can no longer re-use the provided path and need to give the full PATH we want used now. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
git://git.denx.de/u-boot-dmTom Rini authored
-
Patrice Chotard authored
This allows to scan the DT including all "clocks" node's sub-nodes in which fixed-clock are defined. All fixed-clock should be defined inside a clocks node which collect all external oscillators. Until now, all clocks sub-nodes can't be binded except if the "simple-bus" compatible string is added which is a hack. Update test.dts by moving clk_fixed node inside clocks. Signed-off-by:
Patrice Chotard <patrice.chotard@st.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Patrice Chotard authored
Currently, all fixed-clock declared in "clocks" node in device tree can be binded by clk_fixed_rate.c driver only if each of them have the "simple-bus" compatible string. This constraint has been invoked here [1]. This patch offers a solution to avoid adding "simple-bus" compatible string to nodes that are not busses. [1] https://patchwork.ozlabs.org/patch/558837/ Signed-off-by:
Patrice Chotard <patrice.chotard@st.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Chris Packham authored
Add support for reading a list of bouncing addresses from a in-tree file (doc/bounces) and from the ~/.patman config file. These addresses are stripped from the Cc list. Signed-off-by:
Chris Packham <judge.packham@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Philipp Tomsich <philipp.tomsich@theobroma-systems.com <mailto:philipp.tomsich@theobroma-systems.com>>
-
Simon Glass authored
Adjust this code so that it can work with Python 2 and 3. Fixes: d73fcb12 (moveconfig: Support building a simple config database) Reported-by:
Chris Packham <judge.packham@gmail.com> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add a convenience macro to iterate over subnodes of a node. Make use of this where appropriate in the code. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present we sometimes see warnings of the form: /tmp/tmpMA89kB:36: warning: overriding the value of CMD_SPL. Old value: "y", new value: "y". This is not very useful as it does not show whch defconfig file it relates to. Update the tool to show this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It is often useful to see which driver was actually selected for each device. Add a new 'Driver' column to provide this information. Sample output: Class Probed Driver Name ---------------------------------------- root [ + ] root_drive root_driver keyboard [ + ] i8042_kbd |-- keyboard serial [ + ] ns16550_se |-- serial rtc [ ] rtc_mc1468 |-- rtc timer [ + ] tsc_timer |-- tsc-timer syscon [ + ] ich6_pinct |-- pch_pinctrl pci [ + ] pci_x86 |-- pci northbridge [ + ] bd82x6x_no | |-- northbridge@0,0 video [ + ] bd82x6x_vi | |-- gma@2,0 vidconsole0 [ + ] vidconsole | | `-- gma@2,0.vidconsole0 ... Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Simon Glass authored
We can use printf() to limit the string width. Adjust the code to do this instead of using strlcpy() which is a bit clumbsy. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Bin Meng authored
Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct number depending on which host we are going to build and run. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-