Age | Commit message (Collapse) | Author |
|
The ethernet controller reportedly suffers data corruption of transfers from
SRAM through the Flexible Smart Memory Controller on some PDK boards.
Increasing the data-phase timing for the transfers fixes these problems.
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
flexible. Confining the change to snowball.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Conflicts:
board/st/u8500/u8500.c
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
|
|
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
|
|
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
- Initial pin configuration.
- Introduction of u8500_is_snowball.
- Introduction of new machine type.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
This patch will enable MCDECLK but not change the clocksource.
ST-Ericsson ID: ER 323824
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I2d67a80ee24513251f6456cc7586530fb9a11b6e
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/15040
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com>
|
|
This patch changes the display initialization to only activate the
display related clocks that are actually needed for the selected
display mode, DSI or DPI. It also removes two compile time warnings.
ST-Ericsson ID: CR 321311
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5ae07bd06ae02c2e7c1a0f7860b251f35a953e99
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13587
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Torbjorn SVENSSON <torbjorn.x.svensson@stericsson.com>
Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com>
|
|
ST-Ericsson ID: 321908
Change-Id: Ib51c36558e37c7f52db638052644758e6d3cc51a
Signed-off-by: Per Fransson <per.xx.fransson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13848
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
The HREFP 2.0 V60 has no GPIO expander and the display reset IO line
was moved to an ordinary GPIO line.
Furthermore move the board dependent routine out from the mcde driver
into u8500.c
ST-Ericsson ID: CR 272893
Change-Id: If1362cecaeb183e67273066f759e220672f4537f
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13480
Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com>
|
|
The cut-off voltage for AB8500 is set too high in the OTP.
To be able to start with a charger from a drained battery,
we have to lower this threshold before the backlight and
display is started.
ST-Ericsson ID: ER320113
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ia5c8c5b749fa9cb9cf8a15072ddfe5b0d1f33f5f
Signed-off-by: Johan Palsson <johan.palsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13028
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Removes enable interrupts for mcde mistakenly inherited from the kernel
code. Furthermore three printfs has been changed to debug.
ST-Ericsson ID: ER320412
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ifd68404ecf36b040166b900cd51f6d503e4d2ef6
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12876
Tested-by: Torbjorn SVENSSON <torbjorn.x.svensson@stericsson.com>
Reviewed-by: Anders BAUER <anders.bauer@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
The HREFP 2.0 V60 has no GPIO expander, therefore some GPIO lines
were moved around.
The preferred approach was to first check if there is a machid in the
environment. And if not try to program the GPIOE. If that fails, assume
it is a V60 or newer.
But for the splash screen, we need to know very early on which HW
version we are running. At that time no environment is available,
therefore it is unavoidable to do the I2C access (10 ms timeout), if
both HW versions shall be supported in one binary.
CAUTION: you need also a Linux kernel which supports MACH_TYPE_HREFV60.
Older U8500 kernels will not even issue a start-up message.
Depends-On: http://gerrit.lud.stericsson.com/gerrit/12335
ST-Ericsson ID: CR 272893
Change-Id: Id794df8c185dfbf67f7bce81deb49abf71129f7b
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12578
Reviewed-by: Torbjorn SVENSSON <torbjorn.x.svensson@stericsson.com>
Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com>
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
|
|
This patch introduces combined DSI and DPI display support for u-boot.
The code is also similar to the kernel code for easy maintenance.
ST-Ericsson ID: ER319241
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10069
Change-Id: Ic232b6f738348cbedb67e27418678ddd223d7800
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11038
Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Torbjorn SVENSSON <torbjorn.x.svensson@stericsson.com>
|
|
General removal of executable permission of built source and header files,
i.e. changing permission from 755 to 644.
ST-Ericsson ID: None
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ic3cfc551d1ef1b1f0b5825f9916d1fc15b15b444
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10896
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
|
|
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>
|