- Jul 12, 2017
-
-
Alexandru Gagniuc authored
When CONFIG_CMD_FASTBOOT or CONFIG_USB_FUNCTION_FASTBOOT are defined in am335x_evm.h, a dependency on g_dnl.c is created. This in turn creates a dependency on having USB gadget enabled. As a result we can't create configs with USB gadget disabled. Since these CONFIG_ variables are now part of kconfig, move them to the board defconfigs, and out of am335x_evm.h. This both preserves current defaults, and allows creating configs with USB gadget off. Signed-off-by:
Alexandru Gagniuc <alex.g@adaptrum.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
The TI816x has 2 GPIO banks. For bank 0 we had been clearing the enable bit when setting BIT(8). Correct this by setting it to BIT(1) | BIT(8) after we set and wait for BIT(1) (aka PRCM_MOD_EN). Enable GPIO1 as well so that when CMD_GPIO is enabled it won't crash probing the second bank. Enable CMD_GPIO on ti816x_evm. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
The ti816x SoC revision of the ethernet IP block is handled by the "davinci_emac" driver, rather than the "cpsw" driver as done by later members of the family. Enable the relevant plumbing. Signed-off-by:
Sriramakrishnan <srk@ti.com> Signed-off-by:
Vitaly Wool <vitaly.wool@konsulko.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Grygorii Strashko authored
Make make nand_info array static, since all direct users of nand_info array have been converted to use get_nand_dev_by_index() API. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: York Sun <york.sun@nxp.com> Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Reviewed-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com> Reviewed-by:
Hannes Schmelzer <hannes.schmelzer@br-automation.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com> Reviewed-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Grygorii Strashko authored
Replace direct access to struct mtd_info->priv with proper accessor mtd_to_nand(). Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Grygorii Strashko authored
As part of preparation for nand DM conversion the new API has been introduced to remove direct access to nand_info array. So, use it here instead of accessing to nand_info array directly. Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
Mugunthan V N authored
nand_info is used all over the file so abstract it with get_nand_dev_by_index() which will help for DM conversion. Signed-off-by:
Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by:
Grygorii Strashko <grygorii.strashko@ti.com>
-
git://git.denx.de/u-boot-dmTom Rini authored
-
- Jul 11, 2017
-
-
Masahiro Yamada authored
DTB is encoded in big endian. When we retrieve property values, we need to use fdt32_to_cpu (aka be32_to_cpu) for endian conversion. This is a bit error-prone, but sparse is useful to detect endian mismatch. We need to use (fdt32_t *) instead of (u32 *) for a pointer of a property value. Otherwise sparse warns "cast to restricted __be32". Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Masahiro Yamada authored
Include <dm/util.h> to fix sparse warnings: symbol 'dm_dump_all' was not declared. Should it be static? symbol 'dm_dump_uclass' was not declared. Should it be static? Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Masahiro Yamada authored
Reuse ofnode_get_property() to simplify the implementation. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Masahiro Yamada authored
This function returns the pointer to the value of a node property. The current name ofnode_read_prop() is confusing. Follow the naming of_get_property() from Linux. The return type (const u32 *) is wrong. DT property values can be strings as well as integers. This is why of_get_property/fdt_getprop returns an opaque pointer. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Masahiro Yamada authored
The code inside the if-block is the same as of_get_property(). Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Masahiro Yamada authored
This will clarify the code. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Masahiro Yamada authored
Fix sparse warnings "... was not declared. Should it be static?" Also, fix redefinition of dm_warn/dm_dbg. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
-
Tom Rini authored
While the previous pass through fixed one place where we knew that fdt_getprop would be given a positive len, in the case of 'fdt set' we do not, so check that we did no get NULL from fdt_getprop(). Cc: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 163249) Fixes 72c98ed1 ("fdt: Add a check to do_fdt() for coverity") Signed-off-by:
Tom Rini <trini@konsulko.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Many tegra boards have the console UART node disabled. With livetree this prevents serial from working since it does not 'force' the console to be bound. Updates the affected boards to fix this error. The boards were checked with: for b in $(grep tegra boards.cfg |grep -v integrator | \ awk '{print $7}' | sort); do echo $b; fdtgrep -c nvidia,tegra20-uart b/$b/u-boot.dtb |grep okay; done Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
-
Simon Glass authored
This error condition should have a debug() message. Add it. Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
-
Simon Glass authored
Add support for a live device tree to the core serial uclass. Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
-
Simon Glass authored
This function is quite long. Move the core code into a separate function in preparation for adding livetree support. Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
-
Simon Glass authored
Update this driver to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
-
Simon Glass authored
Update these two files so include files in the right order. Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
-
Simon Glass authored
Add some debugging to show when the backlight is enabled. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Anatolij Gustschin <agust@denx.de> Tested-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
-
Simon Glass authored
Update this driver to support a live device tree. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Anatolij Gustschin <agust@denx.de> Tested-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1
-
Simon Glass authored
We should sync the display (e.g. flush cache) when backspace is pressed to ensure that the character is erased correctly. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Anatolij Gustschin <agust@denx.de> Tested-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Beaver, Jetson-TK1