summaryrefslogtreecommitdiff
path: root/cpu/arm_cortexa9
AgeCommit message (Collapse)Author
2011-11-178500B2 cutid added in the cuttable (see in ↵Gregory Hermant
cpu/arm_cortex_a9/db8500/sec_bridge.c file)
2011-05-31Silencing TOC and itp error messages not applicable to snowball.Mathieu J. Poirier
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
2011-02-07db8500: Add db8500 v2.1 ASIC to ROM function tableMichael Brandt
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>
2011-02-04db8500: Fix PRCMU mailbox acknowledgeMichael Brandt
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>
2011-01-27db8500: Verify signature of kernel before bootingRobert Rosengren
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>
2010-12-15Removal of executable permissionRobert Rosengren
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>
2010-12-15db8500: Move ISSW code out from itp.cRobert Rosengren
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>
2010-12-15U8500: Move itp and cspsa into SoC directoryRobert Rosengren
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>
2010-12-08db8500: Clean up PRCMU code in db8500 SoC codeJoakim Axelsson
Clean up of PRCMU code in db8500 SoC code. Move things from cpu.c and clock.h to prcmu.c. Also remove duplicate #defines and have prcmu.c use the #defines in prcmu.h. ST-Ericsson ID: None Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com> Change-Id: Ieffb0094b3f43f0c88f3ed457c6cb296fa0ce378 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9899 Reviewed-by: QATOOLS Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com> Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
2010-12-08db8500: Display cpu info.Joakim Axelsson
Enable CONFIG_DISPLAY_CPUINFO and implement print_cpuinfo() in cpu/arm_cortexa9/db8500.c. ST-Ericsson ID: None Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com> Change-Id: Id4f67b223fabc4a8007229f8db12bd2a7362f8c2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7115 Reviewed-by: QATOOLS Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com> Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
2010-12-08db8500: Move all clock code from board to SoCJoakim Axelsson
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>
2010-12-08db8500: Move cpu identifying function to SoC codeJoakim Axelsson
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>
2010-12-08db8500: Split arch_cpu code from boardJoakim Axelsson
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>
2010-12-07db8500: Make sure code is warning freeJoakim Axelsson
Add -Wall -Wextra -Werror to CFLAGS for db8500 SoC code. Also add -Wno-unused-parameter due to some inline functions in generic include files are having unused parameters. ST-Ericsson ID: None Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com> Change-Id: Ibc59c6e4ad1188e96d7c65d600881869b7024ce8 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9891 Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
2010-12-07db8500: cpu-arch rename stw8500 to db8500Joakim Axelsson
Started work with splitting the files in board/st/u8500 into proper SoC (system on a chip), drivers, commands and board code. ST-Ericsson ID: None Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com> Change-Id: I33300b1990f377bc049785102f1c87fbe579e86d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7089 Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com> Reviewed-by: Markus HELGESSON <markus.helgesson@stericsson.com> Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com> Tested-by: Michael BRANDT <michael.brandt@stericsson.com> Reviewed-by: Mikael LARSSON1 <mikael.xt.larsson@stericsson.com>
2010-11-29U8500: Move clock.c into SoC directoryMichael Brandt
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>
2010-11-29U8500: Move prcmu.c into SoC directoryMichael Brandt
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>
2010-07-29Remove -mcpu=cortex-a9 switchMichael Brandt
Fixed Android's arm-eabi-gcc GCC 4.4 warning (see below) my removing the cpu switch. warning: switch -mcpu=cortex-a9 conflicts with -march= switch Note: This warning does not appear with the CodeSourcery GCC 4.4 (2009q3) and seems wrong since cortex-a9 is an implementation of ARMv7. Change-Id: I0b26dee03a6ea892f4d62ac0407c0893e372a90b Signed-off-by: Michael Brandt <michael.brandt@stericsson.com> Change-Id: I08f0d3813074b6210a9c18d322ce5e147562c239 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3358 Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com> Reviewed-by: Martin LUNDHOLM <martin.xa.lundholm@stericsson.com> Tested-by: Martin LUNDHOLM <martin.xa.lundholm@stericsson.com>
2010-07-23Enabled boottime measurements for u8500Jonas Aaberg
Change-Id: I30b857fc0cf38f7e81647f1d0f9866d7d6a34612 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2500 Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
2010-07-23MTU updates.Michael Brandt
This patch includes a few timer related changes. - Use MTU timer 2 instead of 0. - Fixed TIMER_CLOCK (133 MHz instead of 110 MHz). - Change MTU prescaler to 16. Change-Id: I589e531bbf2c7f0b317f05604f7550141babc11c Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2499 Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
2010-06-10Adding support for startup graphicsJimmy Rubin
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>
2010-05-19HREF V1 updatesMichael Brandt
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>
2010-01-13Updated timing measurement structure, changed atags and added idle time ↵Jonas
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>
2010-01-07PACK3 changesMichael Brandt
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)
2009-11-30Corrected timer errors and changed MTU0 timer from 0 to 3 due to 0 is used ↵Jonas
by the linux kernel and we still want to be able to use that timer for boottime measurement. IE leave the 3rd timer run until we're executing init. Added atags for u-boot timing measurements as communication with the kernel.
2009-10-22new files for u8500 support.Michael Brandt