Age | Commit message (Collapse) | Author |
|
|
|
Files fetched by 'fat load' must use absolute path, otherwize the
command fails.
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>
|
|
flexible. Confining the change to snowball.
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>
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: 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: 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>
|
|
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>
|
|
MCDE: Sub TOC entry not found
toc_load_toc_entry: get_entry_info_toc failed
mcde_display_image: no splash image found.
ready
The splash code searches for the SPLASH entry. If it is not found in the
normal TOC, the TOC code in disk/part_toc.c tries the sub TOC entries.
The sub TOC code then issues the "Sub TOC entry not found" message.
It should be up to the caller to interpret it as error and to print an
appropriate error message.
Therefore this patch change it into a debug() message.
Change-Id: Ie2f566b0f7b8f4ff6a950ec05743b573c58626e7
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14828
Reviewed-by: QATOOLS
Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com>
|
|
.git2obs passes version to setlocalversion to get correct git version,
i.e. from latest real u-boot tag and not the in-house repo tags.
ST-Ericsson ID: None
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I1ea64bbd70cb929fc5ddccf2ddff3161d370094a
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14579
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Previously the setlocalversion script checked if the git had untagged
commits since the latest tag. If one wants to set extra tags as
checkpoints, other than the official releases, then this will give
incorrect version.
This patch introduce a second optional parameter to setlocalversion, for
specifying a git tag to look for. The Makefile specifies the u-boot version
and passes it to the script. The script will then look for untagged commits
since the "u-boot version"-tag.
ST-Ericsson ID: None
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I7315f4d38d6b74b78e118b36aac271859658ff67
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14578
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Fixed coverity and compiler warning in drivers/spi/u8500_spi.c.
Also removed a variable which is no longer needed after the
GPIO-handling was removed from the driver.
ST-Ericsson ID: None
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Iea067014c2c2ea4bd4367eccbe1cde36c69e01da
Signed-off-by: Markus Helgesson <markus.helgesson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13763
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Joakim AXELSSON <joakim.axelsson@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>
|
|
db8500 v2.1 has a new ASIC ID. Add it to the function table.
Without this patch and with CONFIG_ITP_LOAD, U-Boot will hang on a
db8500 v2.1
Change-Id: I819663e698aa6667f5831575db87ded2c9f0c5c2
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14476
Reviewed-by: QATOOLS
Reviewed-by: Jens WIKLANDER <jens.wiklander@stericsson.com>
Reviewed-by: Par-Olof HAKANSSON <par-olof.hakansson@stericsson.com>
Reviewed-by: Martin HOVANG <martin.xm.hovang@stericsson.com>
|
|
With newer PRCMU FW (2.0.6), clearing of the Ack mailbox interrupt is
enforced.
This patch clears the Ack mailbox interrupt.
ST-Ericsson ID: ER 322248
Change-Id: I38c7af5a375230c22b61db6cc46283c01ff39727
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14201
Reviewed-by: Par-Olof HAKANSSON <par-olof.hakansson@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Ulf MORLAND <ulf.morland@stericsson.com>
Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com>
Tested-by: Jonas SKARSTAM <jonas.skarstam@stericsson.com>
|
|
ST-Ericsson ID: -
Change-Id: Ia578aac003204392564a74860966a959ad82117b
Signed-off-by: Per Fransson <per.xx.fransson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13917
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@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>
|
|
This code was added by ST-Ericsson to the mainline code.
Remove it, since its whole purpose was for debugging/testing.
Furthermore Coverity found 4 defects in it.
ST-Ericsson ID: ER 273353
Change-Id: I9e23f399a68c88bc250b280c3bc418da7217f8d3
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13292
Reviewed-by: QATOOLS
Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
Reviewed-by: Markus HELGESSON <markus.helgesson@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>
|
|
Verification of the kernel and ITP signature before allowing to boot is
added. This feature is configurable and by default not activated. MeeGo-
built RPM will have this enabled.
ST-Ericsson ID: WP275634, ER275440
Change-Id: Ib888f39dd5dca1bc8b7d6e1b002da83a77908b07
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11415
Tested-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: Jens WIKLANDER <jens.wiklander@stericsson.com>
|
|
Place output from u-boot build in directory specified by
Android product configuration.
ST-Ericsson ID: 277228
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ibc93d0e305400d2d3064b3bbdda993fd13909227
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9858
Reviewed-by: QATOOLS
Tested-by: Axel FAGERSTEDT <axel.fagerstedt@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
This adds the correct calculation for high capacity mmc.
ST-Ericsson ID: N/A
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I4a6b152d02f22d4abba790177fcfb200ba853192
Signed-off-by: Mikael Larsson <mikael.xt.larsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13312
Reviewed-by: QATOOLS
Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@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>
|
|
The git version have been missing in the boot log when building in MeeGo,
since MeeGo is building in OBS and not in git source tree.
This patch adds a customized git2obs script that will both archive the
git and generate a correct version file. The version file will then
be used by the Makefile when building.
ST-Ericsson ID: 317452
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I22edc5d94b909307dd1539c4ff8645f771f12306
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11432
Reviewed-by: QATOOLS
Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com>
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
make distclean removes all .bin files.
This patch limits it to generated .bin files.
ST-Ericsson ID: ER282970
Change-Id: I31099cdcfaf465aa0d0f4db633dfc545755cba2d
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11327
Reviewed-by: Robert ROSENGREN <robert.rosengren@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>
|
|
Splitting security related code from itp.c into sec_bridge.c
ST-Ericsson ID: WP275634
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I813daf0d0eaea4645e7d990bf467f19b0af968db
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10895
Reviewed-by: QATOOLS
Reviewed-by: Michael BRANDT <michael.brandt@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>
|