- May 10, 2013
-
-
Nishanth Menon authored
TPS659038/TWL6035/TWL6037 all belong to palmas family of TI PMICs Rename twl6035 to palmas to allow reuse across multiple current and future platforms As part of this change, change the CONFIG_TWL6035_POWER to CONFIG_PALMAS_POWER and update usage of header file accordingly. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
Add an header guard to common header file to prevent multiple includes messing things up. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
twl6030_i2c_[read|write]_u8 can be used else where to access multi-function device such as twl6030, so move the register access functions to the common twl6030.h header file. Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
u-boot standard i2c register access prototype is i2c_read(addr, reg, 1, &buf, 1) i2c_reg_write(u8 addr, u8 reg, u8 val) twl6030_i2c_read_u8(u8 addr, u8 *val, u8 reg) twl6030_i2c_write_u8(u8 addr, u8 val, u8 reg) does not provide consistency, so switch the prototype to be consistent with rest of u-boot i2c operations: twl6030_i2c_read_u8(u8 addr, u8 reg, u8 *val) twl6030_i2c_write_u8(u8 addr, u8 reg, u8 val) Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
u-boot standard i2c read prototype is i2c_read(addr, reg, 1, &buf, 1) twl4030_i2c_read_u8(u8 addr, u8 *val, u8 reg) does not provide consistency, so switch the prototype to be consistent with rest of u-boot i2c operations: twl4030_i2c_read_u8(u8 addr, u8 reg, u8 *val) Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
u-boot standard i2c register write prototype is i2c_reg_write(u8 addr, u8 reg, u8 val) twl4030_i2c_write_u8(u8 addr, u8 val, u8 reg) does not provide consistency, so switch the prototype to be consistent with rest of u-boot i2c operations: twl4030_i2c_write_u8(u8 addr, u8 reg, u8 val) Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Matt Porter authored
Adds CPSW support to the TI814X EVM configured with an ET1011C PHY in GMII mode. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
Adds an ET1011C PHY driver which is derived from the Linux kernel PHY driver (drivers/net/phy/et1011c.c) from the v3.9-rc2 tag. Note that an errata workaround config option is implemented to allow for TX_CLK to be enabled even when gigabit mode is negotiated. This workaround is used on the PG1.0 TI814X EVM. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
TI814x's version 1 CPSW has a different slave_regs layout. Add support for the differing registers. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Matt Porter authored
Enables required PLLs and clocks for CPSW on TI814x. Signed-off-by:
Matt Porter <mporter@ti.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
- Apr 30, 2013
-
-
Michal Simek authored
Support Xilinx Zynq i2c controller. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
Add support for SD, MMC and eMMC card on Xilinx Zynq. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
Autodetect phy if phyaddress is setup to -1. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
David Andrey authored
Avoid overwriting GEMx_RCLK_CTRL and GEMx_CLK_CTRL if the Ethernet interface is connect on EMIO Do not enable emio for this standard board configuration for now. Signed-off-by:
David Andrey <david.andrey@netmodule.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
David Andrey authored
Pass the PHY address to the driver init to allow parallel use of both interfaces Signed-off-by:
David Andrey <david.andrey@netmodule.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
Add all fixed addresses to hardware.h and change petalinux configuration to support this. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
The whole driver used 100Mbps because of zc702 rev B. Fix problem with not setup proper clock for gem1. This is generic approach for clk setup. Signed-off-by:
Michal Simek <monstr@monstr.eu> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
BDs can be correctly setup just once and init function performs only phy autodetection and enabling RX/TX. RX/TX are disabled in halt function. This patch solves the problem with repeatable tftp transfers. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
Remove one return from the code. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
Removing this bit causes that frame is sent only once. (With wrap big one packet has been sent several times which dramatically decrease throughput) TRM: (Table 16-3: Tx Buffer Descriptor Entry) Signed-off-by:
Michal Simek <monstr@monstr.eu> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
This phy is used on zedboard (xilinx zynq platform). Signed-off-by:
Michal Simek <monstr@monstr.eu> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
Move baseaddr to hardware.h to be shared between configurations. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
XPSS prefix was used in past and it is obsolete for quite some time. Let's use correct SoC name which is Zynq. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
David Andrey authored
Rework the __udelay function of U-Boot Zynq Arch to handle delay < 1000 usec Signed-off-by:
David Andrey <david.andrey@netmodule.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com>
-
- Apr 19, 2013
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Simon Glass authored
When crc32 is handled by the hash library, it requires the data to be in big-endian format, since it reads it byte-wise. Thus at present the 'crc32' command reports incorrect data. For example, previously we might see: Peach # crc32 40000000 100 CRC32 for 40000000 ... 400000ff ==> 0d968558 but instead with the hash library we see: Peach # crc32 40000000 100 CRC32 for 40000000 ... 400000ff ==> 5885960d Correct this. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Vadim Bendebury <vbendeb@google.com>
-
- Apr 18, 2013
-
-
Andreas Bießmann authored
The git config parameter log.decorate is quite useful when working with git. Patman, however can not handle the decorated output when parsing the commit. To prevent this use the '--no-decorate' switch for git-log. Signed-off-by:
Andreas Bießmann <andreas.devel@googlemail.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
git://git.denx.de/u-boot-armTom Rini authored
Quick manual fixup to merge the USB boot related defines and TPM related defines. Conflicts: include/configs/exynos5250-dt.h Signed-off-by:
Tom Rini <trini@ti.com>
-
- Apr 17, 2013
-
-
Simon Glass authored
When building host utilities, we include libfdt.h from the host, not from U-Boot. This in turn brings in libfdt_env.h from the host, which can mess up the types and cause a build failure, depending on the host environment. To fix this, force inclusion of U-Boot's libfdt_env.h so that the types are correct. Another way to fix this is to use -nostdinc and -idirafter to ensure that system includes are included after U-Boot ones. Unfortunately this means that U-Boot's errno.h gets included instead of the system one. This in turn requires a hack to errno.h to redirect things, so all in all the solution in this patch is probably cleaner. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Jaehoon Chung authored
Support to check whether the SD3.0 or not. Signed-off-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Tested-by:
Rommel Custodio <sessyargc@gmail.com>
-
Jaehoon Chung authored
eMMC vesrion is supported up to v4.5. But bootloader isn't saw the exact eMMC version. After applied this patch, if use the mmcinfo command, then can see the exactly mmc version. Signed-off-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Acked-by:
Rommel Custodio <sessyargc@gmail.com>
-
Maxime Larocque authored
In common/cmd_nvedit.c, en env_print(), the wrong type is used for len. hexport_r() returns -1 on error (like OOM), which is converted to 0xffffffff when put in an unsigned. Said value is obviously bigger then 0, and as a result an uninitialized string is then displayed. Other usages of hexport_r() in the code correctly uses ssize_t to keep its return value. Signed-off-by:
Maxime Larocque <maxmtl2002@yahoo.ca>
-
Simon Glass authored
Snow is missing a TMU node, and with TMU support this is not allowed, so it fails to boot. Add it. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Simon Glass authored
The current code is causing errors like this on my toolchains: /usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/binutils-bin/2.22/ ld.bfd.real: failed to merge target specific data of file /usr/lib/gcc/ armv7a-cros-linux-gnueabi/4.7.x-google/libgcc.a(_divdi3.o) Use do_div() to avoid this. Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Vivek Gautam authored
Exynos5250 supports secondary USB device boot mode. If the iROM fails to download u-boot from the primary boot device (such as SD or eMMC), it will try to retrieve from the secondary boot device (such as USB). Signed-off-by:
Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Vivek Gautam <gautam.vivek@samsung.com> Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
- Apr 16, 2013
-
-
git://git.denx.de/u-boot-x86Tom Rini authored
-
git://git.denx.de/u-boot-armTom Rini authored
-
- Apr 15, 2013
-
-
Simon Glass authored
Since the ICH SPI controller uses PCI, we must ensure that PCI is available before it is inited. This fixes the current "ICH SPI: Cannot find device" message on boot. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Currently x86 has its own means of managing the global data and board data (bd_t), and this code resides in start.S. With generic board, we need to ensure that we leave this alone - i.e. don't clear it as we do on other archs. This fixes a problem where the memory init data is cleared which causes the video driver to operate very slowly. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The intention of the memory init code is that it should work the same with CONFIG_SYS_GENERIC_BOARD and without. This is tricky because dram_init() is called prior to relocation with generic board (matching other archs) and after relocation without generic board. Adjust the init sequence so that dram_init() is not called in the generic board case, which seems like the easiest fix for now. Also ensure that relocation addresses are still calculated. Signed-off-by:
Simon Glass <sjg@chromium.org>
-