23 Jul, 2013
15 commits
-
Adds a new COMPAT string exynos5-hsi2c for high speed i2c controller
available on exynos5 SoCs from Samsung.Signed-off-by: Naveen Krishna Chatradhi
-
Faraday FTI2C010 is a multi-function I2C controller
which supports both master and slave mode.
This patch simplily implements the master mode only.Signed-off-by: Kuo-Jung Su
CC: Heiko Schocher -
This patch adds support for Vybrid VF610 platform.
There are some differences between i.MX6 and Vybrid for I2C controller.
(1) The registers' offset are different.
(2) The I2C clock divider values are different.
(3) In I2C control register, the enable/disable/reset bit is inverted for Vybrid comparing to i.MX6.
(4) In I2C status register, the interrupt flag bit is cleared by writing "1" for Vybrid.
For i.MX6, this bit is cleared by writing "0".
(5) In I2C status register, the arbitration lost flag bit is cleared by writing "1" for Vybrid.
For i.MX6, this bit is cleared by writing "0".Signed-off-by: Alison Wang
-
This patch adds I2C support for Vybrid VF610 platform and adds
I2C0 support to VF610TWR board.Signed-off-by: Alison Wang
-
Signed-off-by: Axel Lin
Acked-by: Simon Glass -
Due to the new I2C framework we need to adapt the u-boot update
function. Due to the new framework all i2c leafs behind a mux are
present in the system and not only those who are defined and used. So it
is bus number 5 after the rework.Signed-off-by: Holger Brunck
cc: Heiko Schocher
cc: Prafulla Wadaskar -
Signed-off-by: Dirk Eibach
Cc: Heiko Schocher
Cc: Stefan Roese
Tested-by: Stefan Roese -
This enables CONFIG_SYS_I2C on Tegra, updating existing boards and the Tegra
i2c driver to support this.Signed-off-by: Simon Glass
Signed-off-by: Heiko Schocher -
Rather than using a variable in various places, add a single function,
tegra_i2c_get_bus(), which returns a pointer to information about a
bus.This will make it easier to move to the new i2c framework.
Signed-off-by: Simon Glass
-
as the keymile boards use now the new i2c multibus/multiadapter
framework, remove the EEprom_ivm Environmentvar, as not longer
needed.Signed-off-by: Heiko Schocher
Cc: Holger Brunck
Tested-By: Holger Brunck -
CONFIG_I2C_MUX is replaced through the new i2c multibus/multiadapter
framework, configured through CONFIG_SYS_I2C. As CONFIG_I2C_MUX
is only used on the keymile boards, and they are now completely
moved to the new framework, remove CONFIG_I2C_MUX.Signed-off-by: Heiko Schocher
Cc: Holger Brunck
Tested-By: Holger Brunck -
- added to fsl_i2c driver new multibus/multiadpater support
- adapted all config files, which uses this driverSigned-off-by: Heiko Schocher
Cc: Simon Glass
Cc: Stephen Warren -
- added to soft_i2c driver new multibus/multiadpater support
- adapted all config files, which uses this driverSigned-off-by: Heiko Schocher
Cc: Simon Glass
Cc: Stephen Warren -
Signed-off-by: Heiko Schocher
Signed-off-by: Simon Glass
Cc: Henrik Nordström -
This Patch introduce the new i2c_core file, which holds
the I2C core functions, for the rework of the multibus/
multiadapter support.
Also adds changes in i2c.h for the new I2C multibus/multiadapter
support. This new support can be activated with the
CONFIG_SYS_I2C define.Signed-off-by: Heiko Schocher
Signed-off-by: Simon Glass
Cc: Mike Frysinger
Cc: Stephen Warren
22 Jul, 2013
3 commits
-
The problem here is that uboot can't mount ext4 filesystem with
commit "50ce4c07df1" applied. We use hard-coded "SECTOR_SIZE"(512)
before this commit, now we introduce (block_dev_desc_t *)->log2blksz
to replace this macro. And after we calling do_ls()->fs_set_blk_dev(),
the variable log2blksz is not initialized, which it's not correct.And this patch try to solve the problem by caculating the value of
log2blksz from variable blksz. -
Fix reading ext4_extent_header struture on BE machines. Some 16 bit
fields where converted to 32 bit fields, due to the byte swap on BE
machines the containing value was corrupted. Therefore reading ext4
filesystems on BE machines where broken before.Signed-off-by: Rommel Custodio
[sent via git-send-email; rework commit message]
Signed-off-by: Andreas Bießmann
Reviewed-by: Simon Glass
Tested-by: Simon Glass
Tested-by: Lukasz Majewski -
As both the DDR SDRAM and NAND flash connect to EBI on at91sam9n12
and share the lower 8 bits data line. If use low drive of the data
line, it will cause DDR data access corrupt in lower address, so
change the data line to high drive modeThis will fix the Linux kernel boot issue when use Lower address
Signed-off-by: Bo Shen
Acked-by: Andreas Bießmann
21 Jul, 2013
1 commit
-
The old value of 0x000e0030 will cause ethernet
timeout issues on the sabrelite and possibly other
boards using the KSZ9021.
I have no explanation as to why.But this is a correct change, the TRM will be updated
to show that 00b is the only valid setting for bits
19-18 of DRAM_RESET.My thanks go to Liu Hui(Jason) for this information.
Acked-by: Fabio Estevam
Acked-by: Stefano Babic
Signed-off-by: Troy Kisky
20 Jul, 2013
2 commits
-
Commit de1d786e (add support for Xilinx 1000BASE-X phy (GTX)) introduced the
checking for ESTATUS_1000_XHALF, but it incorrectly sets the
SUPPORTED_1000baseX_Full flag in this case.Set the SUPPORTED_1000baseX_Half flag instead.
Acked-by: Charles Coldwell
Reviewed-By: Sascha Silbe
Reviewed-by: Joe Hershberger
Signed-off-by: Fabio Estevam -
de1d786 [add support for Xilinx 1000BASE-X phy (GTX)] introduced a
check for the extended status register in order to support
1Gbps-capable PHYs that don't have the 1000BASE-T registers. Since
Extended Status only indicates what the PHY (i.e. the local side) is
capable of, this broke communication with non-1Gbps peers.Only check the extended status if the 1000BASE-T registers are
actually missing so we don't end up setting speed to 1Gbps even though
the previous test (for the combination of local and peer support for
1Gbps) already indicated we can't do 1Gbps with the current peer.Signed-off-by: Sascha Silbe
Tested-by: Fabio Estevam
Reviewed-by: Joe Hershberger
19 Jul, 2013
2 commits
-
The value of this config variable is not available to image.h on the host,
since the board config is not actually included. Bring this in so that
mkimage will be built with image-signing support for sandbox at least.Signed-off-by: Simon Glass
-
Missing space for loaddtb command has been added. When missing, ext4load
fails with wrong number of passed parameters.Acked-by: Minkyu Kang
Signed-off-by: Lukasz Majewski
17 Jul, 2013
12 commits
-
Before the bootm refactor, fixup_silent_linux() was done only in the
monolithic bootm case, not in the subcommand case. With the refactor, it
is done always, which is good. Unfortunately it is done too late, since it
is the PREP or CMDLINE stages that set up the command line for Linux.Move fixup_silent_linux() into the LOADOS stage, which is where we find
out the OS being used, and can thus decide whether to perform this step.Signed-off-by: Simon Glass
-
commit 54965b61360 (README: mxs: Introduce README.mxs) should have changed the
file name to README.mxs, as it covers both mx23 and mx28 now.Acked-by: Marek Vasut
Signed-off-by: Fabio Estevam -
Dealing with the sys ctrl register should touch only the
relevant bits and not accidently the whole register. On i.MX6,
the sys control register contains bits which shouldn't be reset to
0, e.g. SYS_CTRL[3-0] and IPP_RST_N (SYS_CTRL[23]).Do this by read/modify/write instead of just a 32bit write.
Signed-off-by: Dirk Behme
Acked-by: Stefano Babic
Signed-off-by: Andy Fleming -
1. No contents of "asm/arch/clk.h" is used within "dw_mmc.c".
2. If arch doesn't have "asm/arch/clk.h" driver won't build.Without mentioned inclusion dw_mmc driver could be built for arches
other than ARM. For ARM driver still builds without it.Signed-off-by: Alexey Brodkin
Cc: Mischa Jonker
Cc: Andy Fleming
Cc: Rajeshwari Shinde
Cc: Amar
Cc: Minkyu Kang
Cc: Jaehoon Chung
Signed-off-by: Andy Fleming -
Fill the right command type when using CMD12 to stop data transfer.
Signed-off-by: Haijun Zhang
CC: Fleming Andrew-AFLEMING
CC: Scott Wood
Signed-off-by: Andy Fleming -
CONFIG_SPL_BUILD creates debug TLB entry, so disable it before init_tlbs.
CONFIG_SPL_INIT_MINIMAL never creates any debug TLB entry, so no need
of disable_tlb().Signed-off-by: Prabhakar Kushwaha
Signed-off-by: Andy Fleming -
The gdsys ControlCenter Digital board is based on a Freescale P1022 QorIQ SOC.
It boots from SPI-Flash but can be configured to boot from SD-card for
factory programming and testing.
On board peripherals include:
- 2x GbE
- Lattice ECP3 FPGA connected via PCIe
- mSATA RAID1
- USB host
- DisplayPort video output
- Atmel TPMSigned-off-by: Dirk Eibach
Signed-off-by: Reinhard Pfau
Signed-off-by: Andy Fleming -
MAKEALL is fine for ppc4xx and mpc85xx.
Run checks were done on our controlcenterd hardware.Signed-off-by: Dirk Eibach
Signed-off-by: Andy Fleming -
Add support for Atmel TPM devices with two wire interface.
Signed-off-by: Dirk Eibach
Signed-off-by: Reinhard Pfau
Reviewed-by: Simon Glass
Signed-off-by: Andy Fleming -
if alen is 0: no longer start a write cycle before reading data.
Signed-off-by: Dirk Eibach
Signed-off-by: Reinhard Pfau
Acked-by: Heiko Schocher
Signed-off-by: Andy Fleming -
Extend the tpm library with support for single authorized (AUTH1) commands
as specified in the TCG Main Specification 1.2. (The internally used helper
functions are implemented in a way that they could also be used for double
authorized commands if someone needs it.)Provide enums with the return codes from the TCG Main specification.
For now only a single OIAP session is supported.
OIAP authorized version of the commands TPM_LoadKey2 and TPM_GetPubKey are
provided. Both features are available using the 'tpm' command, too.Authorized commands are enabled with CONFIG_TPM_AUTH_SESSIONS. (Note that
this also requires CONFIG_SHA1 to be enabled.)Signed-off-by: Reinhard Pfau
Signed-off-by: Dirk Eibach
Acked-by: Che-Liang Chiou
Signed-off-by: Andy Fleming
16 Jul, 2013
5 commits
-
Before setting: mipi_lcd_device.reverse_panel = 1, the Trats's LCD panel
was flipped by 180 degrees.The flip was caused by following change:
Exynos: Change get_timer() to work correctly
SHA1: 3d00c0cb96ff93a929700b80d89cb905e5ab5315This commit fixed udelay(), which is necessary (due to HW LCD controller
oddity) for mipi-dsi correct operation. As a result the display orientation
has been switched.As a follow up, the hwrevision() function has been removed, since it was
used only in this particular place.Test HW: Trats Exynos4210 rev 0.
Signed-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
Cc: Minkyu Kang
Acked-by: Minkyu Kang -
Provide proper setting for the APLL fout frequency calculation for
Exynos4 based targets (especially Exynos4210 - Trats board).Signed-off-by: Lukasz Majewski
Cc: Minkyu Kang
Acked-by: Minkyu Kang
Acked-by: Simon Glass
Tested-by: Simon Glass -
Fix:
mpc8323erdb.c: In function 'mac_read_from_eeprom':
mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]Signed-off-by: Wolfgang Denk
cc: Timur Tabi
cc: Kim Phillips -
With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type,
which is required to represent block numbers for storage devices that
exceed 2TiB (the block size usually is 512B), e.g. recent hard drivesWe now use lbaint_t for partition offset to reflect the lbaint_t change,
and access partitions beyond or crossing the 2.1TiB limit.
This required changes to signature of ext4fs_devread(), and type of all
variables relatives to block sector.ext2/ext4 fs uses logical block represented by a 32 bit value. Logical
block is a multiple of device block sector. To avoid overflow problem
when calling ext4fs_devread(), we need to cast the sector parameter.Signed-off-by: Frédéric Leroy
-
Some ARM compilers may emit code that makes unaligned accesses when
faced with constructs such as:char name[12] = "bootmenu_";
same fix as commit: 064d55f8bc8d7d205ed0be6abb6717e92eeb7cad
=========================================================
data abortMAYBE you should read doc/README.arm-unaligned-accesses
pc : [] lr : []
sp : 3f346a58 ip : 3ff9c8e6 fp : 02000060
r10: 00000000 r9 : 3df47fc0 r8 : 3f347f40
r7 : 00000000 r6 : 00000000 r5 : 00000003 r4 : 3f759140
r3 : 000003f0 r2 : 00000000 r1 : 000003f1 r0 : 00000000
Flags: nzCv IRQs on FIQs off Mode SVC_32
Resetting CPU ...
======================================================Signed-off-by: Lan Yixun (dlan)