Age | Commit message (Collapse) | Author |
|
itp.c and cspsa_fp.c is SoC specific, not board specific.
Other db8500 based boards need it as well, therefore move it into
the SoC directory.
ST-Ericsson ID: WP275634
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I386c0d84e9f44f18ded0d9059fc2dae4c27974f2
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10894
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
|
|
This change makes it possible to use a bitmap file (.bmp) as the splash
image. This also removes the need to specify width and height of the
splash image. RLE compression, 1 and 4 bit formats are not supported.
ST-Ericsson ID: AP281072
Change-Id: I7c9ae953ad0440b665bb03ed1b9bbf43bab04e91
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9406
Tested-by: Torbjorn SVENSSON <torbjorn.x.svensson@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Copied the GPIO configurator written for the Linux kernel.
The Nomadik db8500 GPIO driver. Purpose is to be able
to just cut-n-paste the GPIO config from Linux to U-boot.
Also at the same time remove the obsolete and old
gpio_alt_funcenable/disable methods.
Now all is configured using a table in u8500.c.
Now drivers doesn't have to worry about setting up the GPIO pins.
Actually no driver today uses GPIO pins directly, only via
hardware blocks within db8500. Functions are still added
to be able to interact directly with a GPIO pin. This also
cleaned up a lot of driver by not having to bit manipulate GPIO
registers them self.
The new driver is called db8500_gpio and placed in driver/gpio/.
Functions are in include/db8500_gpio.h:
void db8500_gpio_set_pull(unsigned gpio, enum db8500_gpio_pull pull);
void db8500_gpio_make_input(unsigned gpio);
int db8500_gpio_get_input(unsigned gpio);
void db8500_gpio_make_output(unsigned gpio, int val);
void db8500_gpio_set_output(unsigned gpio, int val);
And for the configurator in include/db8500_pincfg.h:
void db8500_gpio_config_pins(pin_cfg_t *cfgs, size_t num);
All in all the final binary size has decreased.
This is only done for db8500 nomadik GPIO. The code for gpio
expanders has not been touched.
All references to Nomadik has been removed in this driver.
Only db8500 is left.
ST-Ericsson ID: None
Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com>
Change-Id: I90aa1d46c813ffb5a777c3492b5751f5054f71cf
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9904
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Moved clock code from board/st/u8500/u8500.c to
cpu/arm_cortexa9/db8500/clock.c.
Remove code to simulate Maja clocks.
ST-Ericsson ID: None
Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com>
Change-Id: Ibbb21d53091ceaddcc01e1a195e129039f986696
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7114
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Moved u8500_is_earlydrop() and cpu_is_u8500*() to
include/asm-arm/arch-db8500/cpu.h.
They are kept in cpu.h as the functions are very small and
should be inlined with each use of them.
The final binary actually also became around 100 bytes smaller.
ST-Ericsson ID: None
Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com>
Change-Id: Ied553b7c8a004a37c70c3e328a069ae8b2a92b23
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9893
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
First patch to split cpu_arch SoC-code away from board code.
Added usage of arch_cpu_init() which is the corresponding
to board_init().
Moved db8500 code from board/st/u8500/u8500.c to
cpu/arm_cortexa9/db8500/cpu.c.
Also created include/asm/arch-db8500/cpu.h and
include/asm/arch-db8500/prcmu.h.
ST-Ericsson ID: None
Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com>
Change-Id: I403d7d4f6c655c0d383afb3cb3be7e7df96683a3
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7150
Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
Tested-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
clock.c is SoC specific, not board specific.
Other db8500 based boards need it as well, therefore move it into
the SoC directory.
Change-Id: Ib23d44988628e8bb6a8cb89c56941cf2a815892d
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9399
Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com>
Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
|
|
prcmu.c is SoC specific, not board specific.
Other db8500 based boards need it as well, therefore move it into
the SoC directory.
Change-Id: Ic40e474700fb737dbbb8ce7ea6c88ea1b89d2f20
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9371
Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com>
Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
|
|
Some defines were inherited from the old U-Boot 1.3.1 and are not used
anywhere. This patch removes them.
As a side-effect the flash.c dummy was also removed.
Change-Id: Iecddb2f8bb59d909b936254085c358a1d246d205
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9203
Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
|
|
common.h and gpio.h were present in the u8500 board directory and in the
SoC include directory include/asm-arch/arch-stw8500.
This patch removes the duplicates in the board directory and replaces
all "common.h" and "gpio.h" with <asm/arch/common.h> and
<asm/arch/gpio.h>, respectively.
Change-Id: I4ff2a3a11324200222e3ae5b9d22eee6427f6d4c
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8838
Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com>
Reviewed-by: Rikard OLSSON <rikard.p.olsson@stericsson.com>
|
|
ST-Ericsson ID: ER280045
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Change-Id: Iac299906a34917a914a8ee27dde2592c3b7a19bf
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8776
Tested-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Fixed: Dereferencing possibly NULL "mmc" in call to function "mmc_init"
ST-Ericsson ID: 273353
Change-Id: Ie75546c9e26b638d7cd7fe122a1180418b48df14
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8367
Reviewed-by: Mikael LARSSON1 <mikael.xt.larsson@stericsson.com>
|
|
This patch removes splash image from u-boot binary and loads it from a toc entry
called SPLASH instead.
Depends-On: I2e182df7fa056a5df2deb05a4ebab844eedbb85d
I715045aba01c1c747f9bd15f02c6d057f66ff968
I93e63a092fd6f229f530e55ec4b98e8e09db1c06
ST-Ericsson ID: ER268766
Change-Id: I4ee7885618d18d526dfca55d7c45b769cd9b52c9
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/6879
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Rikard OLSSON <rikard.p.olsson@stericsson.com>
|
|
Moved enabling of clocks into i2c driver, making it possible to use all i2c
from 0 to 3.
Changed sanity check of i2c_read function to make it possible read from
devices with 2 byte address.
ST-Ericsson ID: CR275232
Change-Id: I6c9c2efe20dcb6903419ba531a86228a5f4491ca
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8340
Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
This fixes a coverity issue in itp.c.
ST-Ericsson ID: ER273353
Change-Id: Ifbe265567169a57d6dec940ef7593e601b9953e8
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8284
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
|
|
Fixes sd card init that did not initialize ddr_en.
This made sd fail init when previous contents in ddr_en was not 0.
Change-Id: I5f2f33efdeb2e6af9e984805442ee0aa4285abdd
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/8231
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
Tested-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
|
|
ST-Ericsson ID: ER268766
Change-Id: Ib09f8b2107e7ba09efd7ff4dec6a22949d56d5ff
Signed-off-by: Rikard Olsson <rikard.p.olsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7905
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Mikael LARSSON1 <mikael.xt.larsson@stericsson.com>
|
|
Added SPI support for U8500
ST-Ericsson ID: 269867
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10121
Change-Id: Ied17dd39aa1ebc0ee95818c59c7f211ce655b8bf
Signed-off-by: Markus Helgesson <markus.helgesson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7569
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Modified itp.c to load the modem when no cspsa flag for
booting ITP is set. The loading of modem have been
removed from X-Loader. Also correct a bug in itp.c
ST-Ericsson ID: ER268766
Change-Id: I29f107c287ae5dbaf7274bc57ef30aaeacf67081
Signed-off-by: Rikard Olsson <rikard.p.olsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7787
Reviewed-by: Mikael LARSSON1 <mikael.xt.larsson@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
This fixes the broken modem loading in V2.
ST-Ericsson ID: ER277406
Change-Id: Ifefe85d0cbeaa5c5e6dca3afe57f371530bc646a
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7551
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
After introduction of modem loading, restart from kernel hangs in itp_load_modem_and_itp.
This adds a check so that itp, modem and splash is not run after restart of u-boot.
ST-Ericsson ID: ER277386
Change-Id: Ibfd12d9efa43549c652d3726904e4cefb59e6979
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7192
Reviewed-by: Per FRANSSON <per.xx.fransson@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Moved splash start to just after emmc init to minimize time to splash.
Changed behaviour so that all SW is loaded after splash and splash is
not loaded if it is itp.
ST-Ericsson ID: ER268766
Change-Id: I09f8efce997ebd97d6de1a5fbff707b2aef175a4
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/6515
Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
This fixes double free in mcde code.
Change-Id: I74150e4bea161313aa3298710dd8899db25501be
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/6854
Reviewed-by: Torbjorn SVENSSON <torbjorn.x.svensson@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
VAUX3 and VRF1 voltage selection are located in the same
register. Read-modify-write is performed to avoid
interfering with the VRF1 regulator.
ST-Ericsson ID: CAP_3984_001
ST-Ericsson ID: CR 270150
Change-Id: Ia3756f72790e45225e46418a1ec2490aec92250f
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/5384
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
This adds functionality to load and execute modem in an early stage just after
eMMC init.
It also flushes ISSW since this will be removed in Xloader
This patch depends on an updated Xloader that doesn't load modem, ipl and
doesn't flush ISSW.
Change-Id: I5be4a4a5af80df13e65ecd10c073b50e4d8703b9
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/5769
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Peter NESSRUP <peter.nessrup@stericsson.com>
|
|
MMC performance tests broke other timing tests.
Change-Id: I6a70ce55adc69d6069931b2d7649f4a7df10e5c6
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/5089
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
mmc_read_cmd_file broke with the latest changes in fat and mmc.
This makes it work again.
Change-Id: I9bd0fee41bc4dfe790166415bb856104ab412536
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/5765
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
This adds functionality to load and execute ITP in an early stage just after eMMC init.
eMMC init was moved to mmc_host.c since it fits better there and is needed in
order to access ITP before loading env.
Flag for functionality is CONFIG_ITP_LOAD.
This functionailty depends on CONFIG_TOC_PARTITION
ST-Ericsson ID: ER273744
Change-Id: Ia80f0bf2d67055045c95e47473b9ba2275bbdb83
Signed-off-by: Mikael LARSSON <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/5130
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
|
|
Each CPU saves CPU info into their own PT_NOTE segment.
The dump analyzing tool (Crash) can't read multiple PT_NOTE
segments. This patch merge all PT_NOTE segments into one.
ST-Ericsson ID: WP244488
Change-Id: I3feb4695bcd3fc42a6c94fb876c1f0db29a58c62
Signed-off-by: rickard evertsson <rickard.evertsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4738
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Remove reference to U8500 link script from top-level
Makefile and put it in the board specific configuration
script for U8500 instead.
ST-Ericsson ID: N/A
Change-Id: Idf1c5aefaa5a1be016b7dd54cb9211fc78cde801
Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4302
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
This patch does the following:
* Adds support for DB8500 V2
ST Ericsson ID: AP 270849
Change-Id: Ica648dc1663b58ee3468e1dc8bd831ede56c102a
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4418
Tested-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Since memory sizes vary, addresses at the end of the memory
vary as well. The modem parameter partition should reside in
a fixed location and has therefore been moved to a fixed
location at the start of the memory. Other partitions have
been moved accordingly, but the kernel image and root file
system partition locations and sizes have been kept as they were.
ST Ericsson ID: ER270475
Change-Id: Ib7202e70ba23e1dd026b1d487505fed3b9032caf
Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4303
Reviewed-by: Mikael LARSSON <mikael.xt.larsson@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
|
|
The AB8500 register 0x0421 have changed between version 1 and 2
of the hardware. This patch adds a version check and
makes the necessary bit change to the VAUX3 low drop out
regulator register.
Change-Id: I49a6309f138da6bc46492dd4e39842988329c8cb
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4060
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Handle the changed TCDM base address on DB8500v2, and the required chip
bits to the I2C slave address. Based on the Linux modifications.
Change-Id: I9fc8df1553824bd03a908a5c4285be284ea158db
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4213
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
* Added an u8500 board specific ld script. Reserve space for .data
backup.
* Make a backup copy of initialised data (.data section). If restarted,
copy the backup data back to .data.
* Create crashkernel env variable dynamically, since it depends on
U-Boot start address. For dumping U-Boot itself is used as
crashkernel.
* Set preboot environment variable to checkcrash command, if
data_init_flag > 0, i.e. we were restarted e.g. by kexec.
* Added crashkernel parameter to common bootargs.
Decreased environment and pool sizes.
* Changed link address of U-Boot: moved it 32 K up for kdump info to
0x05608000
* Added "checkcrash" command
This command checks if there is a pending crash dump
and writes it to a file on SD/MMC.
ST-Ericsson ID: WP264488
Change-Id: If545822e424b95532f1128afb0e762b6b73834e9
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3011
|
|
board/st/u8500/u8500.c - added errno
include/configs/u8500.h - added Rockbox related CONFIGs
ST-Ericsson ID: WP264488
Change-Id: I417c6acd23b365a121c898533f93e4f84bfb92e0
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3010
|
|
MMC has been updated with several improvements. Primarily MMC
performance has been improved by using assembler code for low
level FIFO handling. Also some MMC functionality has been added,
e.g. support for DDR and reliable write.
Data and command delay times were incremented, otherwise hangups and
timeouts were observed.
Tested on HREF+ 1.1 V21 and HREF+ 1.1 V32 (Micron PoP).
Following WP depends on this change (more reliable SD card write
support):
ST-Ericsson ID: WP264488
Change-Id: Ic92abffe1640aa9375b8d43a6b8522ca8296a368
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4056
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Move modem parameter partition (also known as CSPSA0, CSPSA
and Trim area) to end of 1 Gbyte PoPed eMMC.
ST-Ericsson ID: ER270475
Change-Id: I1e687bc1e7e2163debbf9ae009182f56e48fa75f
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4233
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
|
|
- Add cpu_is_u8500v2() for identification: ASICID has moved, so use
the MIDR for primary identification.
- Handle the changed MTU0 enable bit
- Handle the MMC DBLOCKSIZE field move
ST-Ericsson ID: CR267426
Change-Id: Ieae6032cf4e96796a8b53cfb95b28b26d4cf9a7b
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3960
Reviewed-by: Martin LUNDHOLM <martin.xa.lundholm@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
IR265772: MMC driver does not detect SDHC cards.
IR254201: Restructure MMC/SD driver for U8500 board according to the
block device framework in mainline U-Boot.
Changes to mmc framework:
- Multi Block Read support in mmc framework.
- Wrap Multi Block Write/Read to be able to adopt for large transaction.
- Removed incorrect check in EXT CSD for high capacity MMC.
- Corrected check for high capacity SD cards.
- Set MMC buswidth to 8, prio of using 4.
Known limitations/bugs in mmc framework:
- High capacity MMC, will likely not get the correct density.
- High speed is set, whether or not the host supports it or not.
board/st/u8500/mmc_utils:
IMPORTANT FOR DEVELOPERS:
- Removed unessary U-Boot commands which is already supported in
cmd_fat.
- mmc_read_cmd_file: Read command.txt into bootcmd env from FAT FS in
SD card.
- write_partition_block: Writes the MBR if it is not already written.
board/st/u8500/mmc_host[c.h]:
- Implements the entire MMC/SD host driver for the PL180 block.
- There is still room for optimization:
Increase CLK-speed.
Use high-speed for SD cards.
Is GPIO setup correctly for both cards an eMMC.
EarlyDrop support not fully tested.
Dynamically turn on voltage/clocks to SD, not always.
More...
Note:
- Increased read/write performance for eMMC, to around 5.4 MB/s for
sequential read/write. Earlier measurements was 3.5 MB/s for read and
2.6 MB/s for write.
ST-Ericsson ID: ER265772, CR267996, ER267993
Change-Id: I921102edbde761407ff5ad476d1bb99f5dc7a2ef
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2288
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Martin LUNDHOLM <martin.xa.lundholm@stericsson.com>
Tested-by: Martin LUNDHOLM <martin.xa.lundholm@stericsson.com>
Reviewed-by: Mikael LARSSON <mikael.xt.larsson@stericsson.com>
Tested-by: Mikael LARSSON <mikael.xt.larsson@stericsson.com>
|
|
boot time status.
Change-Id: Ifdfea22cc1d587469a18b22a20c0dc14aeaa49c9
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2502
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Change-Id: I3147324be164dd1b492daaa80e993fc40e361ed9
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2501
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Boottime now internally uses us instead of ticks.
Reviewed-by: Michael Brandt <michael.brandt@stericsson.com>
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Change-Id: If30d2eb384d6e82daa86c3cab7a6fd2a22baefb5
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3053
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
This implements vibrator feature using AB8500 chip and I2C i/f.
The vibrator driver provides shell command "vibrate".
Checked with HREFP boards: 1.1_V21, 1.1_V31, 1.1_V33
ST-Ericsson ID: AP266348
Change-Id: Ifd0d780b41c4285038b8de659cdeac2086b8e873
Signed-off-by: Grzegorz Sygieda <grzegorz.sygieda@tieto.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2937
Reviewed-by: Marcus COOPER <marcus.xm.cooper@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Fixed DMC_CTL_97 mask values for rows and columns.
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Change-Id: I62da1b08392a390f3cdbba8e454bbe00af7ed226
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2770
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
This patch does the following:
* Adds configs to set display xres and yres in u8500.h
* Adds config to set display voltage in u8500.h
* Changes default settings for dsi / dsi pll clocks
ST Ericsson Change-ID: AP264669
Change-Id: I9277167e690ece6569fa39d9e2e9e4c7c1473006
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2587
Tested-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Related to ER 265783 "Existing SI memory map no more compatible for MM"
and ER 260608 "VC: Black incoming call screen".
The Linux kernel and graphics memory parameters have changed.
Furthermore there are different layouts for 256 MB and 512 MB SDRAM resp.
With this change U-Boot detects dynamically the memory size by making some
fixed assumptions about the memory chip and controller and by reading the
number of actually used rows and columns.
It then sets the environment variable memargs to add either memargs256
or memargs512 to "bootargs". "memargs256" and "memargs512" are stored in the
U-Boot environment area. The default values are set in include/configs/u5000.h
Also the default uImage copy size was increased from 2 MiB to 3 MiB, since
the released uImage size is close to 2 MiB and some developers uImage is
already above.
Tested with HREF ED (256 MB) (LBP only), HREF 1.0 V20 OM (256 MB) and
HREF+ 1.1 V31 (512 MB).
Erase the U-Boot environment first, if you want the new settings.
ST-Ericsson ID: ER265783
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Change-Id: I2467c9e410738a3655fc0fd25548cd6f4eb8351c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2464
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Per-Daniel OLSSON <per-daniel.olsson@stericsson.com>
Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com>
|
|
This patch does the following:
* Startup graphics only support for HREF+.
* Displays a logo last in the u-boot sequence before the kernel is booted.
* Informs the kernel not to display penguins.
* Added pmem values to bootargs.
ST Ericsson Change-ID: WP236570
Change-Id: Ib176c17a795ddd002e94344eb9c67739b1e2269e
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1048
Reviewed-by: Par-Olof HAKANSSON <par-olof.hakansson@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Change-Id: Ieec8e7940e7acdc88d7c17b12007f61841741325
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/390
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Change-Id: I821642d1f02f7021863a4b01f44da3114e0e0a69
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/389
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
|