Date: Mon, 1 May 2006 17:34:52 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96498 for review Message-ID: <200605011734.k41HYqLE027786@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96498 Change 96498 by imp@imp_hammer on 2006/05/01 17:34:07 For interrupt vector 6, use the format needed by the boot loader in the AT91RM9200 when booting off of DataFlash parts. # NOTE: This needs to be tweaked for each part that might have # on the SPI bus, as we have to encode page size and number of # pages into this vector... On the other hand, we'll have this # data once the boot loader is in memory and can pass it to the # kernel in some manner... Affected files ... .. //depot/projects/arm/src/sys/boot/arm/at91/bootspi/arm_init.S#2 edit Differences ... ==== //depot/projects/arm/src/sys/boot/arm/at91/bootspi/arm_init.S#2 (text+ko) ==== @@ -23,7 +23,6 @@ * $FreeBSD: src/sys/boot/arm/at91/bootspi/arm_init.s,v 1.1 2006/04/19 17:16:48 imp Exp $ ******************************************************************************/ - .equ TWI_EEPROM_SIZE, 0x2000 .equ ARM_MODE_USER, 0x10 .equ ARM_MODE_FIQ, 0x11 .equ ARM_MODE_IRQ, 0x12 @@ -60,7 +59,7 @@ dabtvec: B dabtvec @; Data Abort rsvdvec: - .long (TWI_EEPROM_SIZE >> 9) + .long ((1056 << 17) | (13 << 13) | (12 * 1024)) irqvec: ldr pc, [pc,#-0xF20] @; IRQ : read the AIC fiqvec:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605011734.k41HYqLE027786>