diff options
author | Jon Loeliger <jdl@freescale.com> | 2008-11-10 10:04:51 -0600 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2008-11-10 10:04:51 -0600 |
commit | 33211469f7d7e2afacf103cc55790f734572f7a6 (patch) | |
tree | 7c374cde48fba08b52b4f83bdf00aae89d7f85a3 /cpu/mcf532x/start.S | |
parent | 1266df887781c779deaf6d05eea2ef90a470cb34 (diff) | |
parent | 1378174a1351c0285736863a665ab758fe8d5f71 (diff) | |
download | u-boot-imx-33211469f7d7e2afacf103cc55790f734572f7a6.zip u-boot-imx-33211469f7d7e2afacf103cc55790f734572f7a6.tar.gz u-boot-imx-33211469f7d7e2afacf103cc55790f734572f7a6.tar.bz2 |
Merge commit 'wd/master'
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 |