Age | Commit message (Collapse) | Author |
|
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>
|
|
On HREF+, SD card power supply is controlled by the Vaux3 regulator. In
order to enable the power supply, port the AB8500 PRCMU I2C read/write
code from Linux to U-Boot, and then write the appropriate registers via
those functions.
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Change-Id: I470f3da694e6ea0e3e0e16571c3048066f0a4309
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/388
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
See ER 257608 Second core must not be woken up in U-Boot.
If the kernel boots with only one core (nosmp), it cannot be guaranteed that
the memory the second CPU is running from, is unused.
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Change-Id: If6acd1311d14be8514afde3dff4260db6a37cc54
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/310
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
This patch is part of WP254081 which depends on WP252006.
Original patch from Rabin Vincent <rabin.vincent@stericsson.com>
The old text base, 0x05FC0000, is only 256KiB below the modem image,
which is loaded at 0x06000000 (96MiB).If the size of U-Boot image +
BSS is larger than 256KiB, the modem image will be overwritten.
Fix this by reducing the TEXT_BASE to 0x05600000 (86MiB). This allows
up to 10MiB for U-Boot + BSS, and also allows people to continue loading
fairly large initrds in the memory below U-Boot.
Signed-off-by: Michael Brandt <michael.brandt@stericsson.com>
Change-Id: Icc818c6dc29e5b3cd617c4434ce9321c62a95d81
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/183
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
This patch is part of WP254081 which depends on WP252006.
* Fixed I2C, use real timeouts instead of counter
* Undefined CONFIG_BOOTTIME, since it as to be changed to new timer.c
* Merged V1 patches from Bangalore
The patches were merged manually, because of the differences
of the U-Boot baseline (Bangalore U-Boot 1.3.1, Lund 2009.11).
The original patches were created by Rabin Vincent
<rabin.vincent@stericsson.com>.
and were applied originally to
Branches: blr_lsp, remotes/origin/blr_lsp
Follows: qpppaaa_20100210_094651
0001-u8500-gpio-add-I2C0-altfun.patch
0002-u8500-use-correct-v1-macros.patch
0003-emmc-clean-up-paritioning.patch
0004-u8500-remove-incorrect-ram-settings.patch
0005-u8500-gpio-remove-unnecessary-ifdefs.patch
0006-u8500-add-ED-v1-detection-and-handle-eMMC-diff.patch
0008-u8500-mmc-don-t-disable-altfuns.patch
0009-u8500-gpio-remove-unused-defined.patch
0010-u8500-mmc-add-barrier-for-while-loop.patch
0011-u8500-mmc-handle-non-block-addressed-cards.patch
0012-u8500-mmc-remove-unused-gpio-settings-on-v1.patch
0013-u8500-emmc-build-fix.patch
0014-u8500-handle-v1-gpios-and-clocks.patch
0015-mmc-build-fix-for-block-addressing.patch
0016-u8500-add-clocks-and-hardware-files.patch
0017-u8500-enable-PRCUM-timers-reg-for-ED.patch
0018-u8500-handle-MTU-for-v1-ED.patch
0019-u8500-emmc-remove-unnecessary-GPIO-settings.patch
0020-u8500-remove-dead-code.patch
0021-u8500-add-working-MTU-timer.patch
0022-pl011-empty-rx-fifo-if-necessary.patch
0023-u8500-gpio-fix-cont-handling-in-altfunc.patch
0024-u8500-reduce-bootdelay-to-1-and-enable-zero-check.patch
0025-u8500-disable-forcing-of-verify-but-set-n-by-default.patch
0029-u8500-fix-some-gpio-settings.patch
0030-emmc-make-v1-paritioning-differences-explicit.patch
Signed-off-by: Michael Brandt <Michael.Brandt@stericsson.com>
Change-Id: I1106702e393c34f630e71f071e06c3952b0d3a1a
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/182
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
These are the patches for WP252006.
There will be a follow-up patched for WP254081.
Environment settings
* board_id bootargs parameter from board_id environment var
set in board_late_init().
* decreased bootdelay to 1 second
* added check for keypress on bootdelay==0
* removed preboot command and introduced "run cmdfile" instead
* changed rootfstype from ext2 to ext3
General I2C refactoring
* include/configs/u8500.h:
Enabled i2c command line commands.
Changed environment settings to use board_id as set in
board_late_init().
Added I2C address and configuration defines.
* board/st/u8500/Makefile: Replaced i2c.o with u8500_i2c.o.
* board/st/u8500/gpio.c, gpio.h: Added I2C busses to altfunc_table.
* board/st/u8500/init_mmc.c: removed config_extended_gpio() and therefore I2C
references. GPIOE settings are now in board_late_init().
* board/st/u8500/u8500.c:
Removed I2C/SD gpio settings from addr,value array.
board_late_init():
Determine and set board_id environment variable
0: mop500, 1: href500
Above boards have different GPIO expander chips which we can
distinguish by the chip id (1 and 3).
The board_id environment variable is needed for the Linux bootargs.
Signed-off-by: Michael Brandt <Michael.Brandt@stericsson.com>
Change-Id: I4c2cab28c1cb74692e0c72b2daa422e97787ff8d
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/167
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
|
|
emmc.c, mmc.c, mmc_util.c: whitespace correction to pass diff --check
mmc_util.c: removed unused display_file_list(), fixed type warnings.
|
|
|
|
measurement. Note: idle time measurement does not seem to work reliable at the moment. Verification needed.
Signed-off-by: Michael Brandt <Michael.Brandt@stericsson.com>
|
|
|
|
|
|
|
|
USB0_DRVVBUS pinmux configuration is required for USB functinality
in uboot.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Swaminathan S <swami.iyer@ti.com>
|
|
Remove PCI reset, if there is a monarch PMC module.
Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
convert clrbits_be32 + setbits_be32 to clrsetbits_be32, use out_be32 to set gcr.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
|
|
The caddy2 is a variant of the already supported vme8349. So we just
add the differences to this board port. To better support those two
boards we switched from fixed SDRAM configuration to usage of
spd_sdram(). This is done by providing a board specific SPD EEPROM
routine with different values for both boards.
Signed-off-by: Reinhard Arlt <reinhard.arlt@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
changed to use mkconfig -t option instead, plus misc codingstyle fixes.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
|
|
The core support for NAND booting is there already, so this patch
is pretty straightforward.
There is one trick though: top level Makefile expects nand_spl to
be in nand_spl/board/$(BOARDDIR), but we can fully reuse the code
from mpc8313erdb boards, and so to not duplicate the code we just
symlink nand_spl/board/freescale/mpc8315erdb to mpc8313erdb.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
o silence make during ln echo
o update documentation
o and avoid:
$ ./MAKEALL MPC8315ERDB_NAND
Configuring for MPC8315ERDB board...
sdram.o: In function `fixed_sdram':
/home/r1aaha/git/u-boot/nand_spl/board/freescale/mpc8313erdb/sdram.c:72: undefined reference to `udelay'
by renaming udelay -> __udelay in the spirit of commit
3eb90bad651fab39cffba750ec4421a9c01d60e7 "Generic udelay() with watchdog
support".
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
|
|
applied PACK3 changes:
* cpu/arm_cortexa9/start.S: reset register changed, but U-Boot reset
command still does not work.
* config.mk: build address changed to 0x05FC0000
* board/st/u8500/mmc.c: MBR change: descrease 4th partition size (userfs
2) from 0x00c0'0000 to 0x00b9'a000 sectors (6,442,450,944 to
6,228,541,440 bytes).
* board\st\u8500\init_mmc.c: modify bootargs to set board_id to HREF or
MOP. Is is an extremly ugly solution. It modifies the bootargs env
variable directly (bootargs[9] = board_id;), instead of setting a
additional environment variable board_id and use it in the bootargs
envvar.
* board/st/u8500/mmc.c: undocumented clock changes.
* board/st/u8500/mmc_utils.c:
new routine to switch to 4-bit interface.
The switch is done in mmc_read_file(). It would make more sense
to do so in mmc_init.
* board/st/u8500/u8500.c:
clock changes for HSI and I2C. I2C is now clocked by SOC1 PLL and runs
with 24 MHz (depends on boot ROM SOC1 initialisation)
|
|
Thanks to "Errata to MPC8569E PowerQUICC III Integrated Host Processor
Family Reference Manual, Rev. 0" document, which describes all eSDHC
pins, we can add 4-bits eSDHC support for MPC8569E-MDS boards.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|