diff options
author | TsiChung Liew <Tsi-Chung.Liew@freescale.com> | 2008-10-22 11:38:21 +0000 |
---|---|---|
committer | John Rigby <jrigby@freescale.com> | 2008-11-03 09:45:58 -0700 |
commit | 536e7dac16769954915a484e682a2efb28699133 (patch) | |
tree | 62971477e14f4790541fa7bec56f3bbf54c0b3fa /cpu/mcf532x/start.S | |
parent | a21d0c2cc9add8894d971ab791f4032f077db817 (diff) | |
download | bootable_bootloader_goldelico_gta04-536e7dac16769954915a484e682a2efb28699133.zip bootable_bootloader_goldelico_gta04-536e7dac16769954915a484e682a2efb28699133.tar.gz bootable_bootloader_goldelico_gta04-536e7dac16769954915a484e682a2efb28699133.tar.bz2 |
ColdFire: Add MCF5301x CPU and M53017EVB support
Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'cpu/mcf532x/start.S')
-rw-r--r-- | cpu/mcf532x/start.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpu/mcf532x/start.S b/cpu/mcf532x/start.S index 7a3eb5f..8fa605a 100644 --- a/cpu/mcf532x/start.S +++ b/cpu/mcf532x/start.S @@ -2,6 +2,9 @@ * Copyright (C) 2003 Josef Baumgartner <josef.baumgartner@telex.de> * Based on code from Bernhard Kuhn <bkuhn@metrowerks.com> * + * (C) Copyright 2004-2008 Freescale Semiconductor, Inc. + * TsiChung Liew (Tsi-Chung.Liew@freescale.com) + * * See file CREDITS for list of people who contributed to this * project. * @@ -140,6 +143,14 @@ _start: movec %d0, %ACR0 movec %d0, %ACR1 +#ifdef CONFIG_MCF5301x + move.l #(0xFC0a0010), %a0 + move.w (%a0), %d0 + and.l %d0, 0xEFFF + + move.w %d0, (%a0) +#endif + /* initialize general use internal ram */ move.l #0, %d0 move.l #(CONFIG_SYS_INIT_RAM_ADDR+CONFIG_SYS_INIT_RAM_END-8), %a1 |