summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf561
Commit message (Collapse)AuthorAgeFilesLines
* Blackfin arch: move include/asm-blackfin header files to arch/blackfinBryan Wu2008-08-2713-2/+5156
| | | | | Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: do not muck with the UART during boot -- let the serial ↵Mike Frysinger2008-08-141-36/+0
| | | | | | | | driver worry about it Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: mark some functions as __init as they are only called from ↵Mike Frysinger2008-08-141-1/+1
| | | | | | | | __init functions Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: unify the duplicated portions of __start and split ↵Mike Frysinger2008-08-061-131/+5
| | | | | | | | mach-specific pieces into _mach_early_start where they will be easier to trim over time Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: move async memory programming into common setup_arch() as the ↵Mike Frysinger2008-08-061-22/+0
| | | | | | | | banks dont really need to be setup fully as early as head.S Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: unify the duplicated _real_start functionsMike Frysinger2008-08-061-70/+0
| | | | | | Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: remove support for Anomaly 05000125 as it doesnt exist on any ↵Mike Frysinger2008-08-061-17/+0
| | | | | | | | supported processor/silicon Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: use symbolic IRQ_PF define rather than hardcodedMike Frysinger2008-08-051-1/+1
| | | | | | Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: remove pata resources from generic boardMike Frysinger2008-08-051-46/+0
| | | | | | | | these are highly board specific, so putting into generic doesnt make much sense Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Blackfin arch: be consistant with parition names, and ensure the bus is ↵Robin Getz2008-08-052-6/+6
| | | | | | | | identified Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* Merge branch 'for-linus' of ↵Linus Torvalds2008-07-261-6/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (30 commits) Blackfin arch: If we double fault, rather than hang forever, reset Blackfin arch: When icache is off, make sure people know it Blackfin arch: Fix bug - skip single step in high priority interrupt handler instead of disabling all interrupts in single step debugging. Blackfin arch: cache the values of vco/sclk/cclk as the overhead of doing so (~24 bytes) is worth avoiding the software mult/div routines Blackfin arch: fix bug - IMDMA is not type struct dma_register Blackfin arch: check the EXTBANKS field of the DDRCTL1 register to see if we are using both memory banks Blackfin arch: Apply Bluetechnix CM-BF527 board support patch Blackfin arch: Add unwinding for stack info, and a little more detail on trace buffer Blackfin arch: Add ISP1760 board resources to BF548-EZKIT Blackfin arch: fix bug - detect 0.1 silicon revision BF527-EZKIT as 0.0 version Blackfin arch: add missing IORESOURCE_MEM flags to UART3 Blackfin arch: Add return value check in bfin_sir_probe(), remove SSYNC(). Blackfin arch: Extend sram malloc to handle L2 SRAM. Blackfin arch: Remove useless config option. Blackfin arch: change L1 malloc to base on slab cache and lists. Blackfin arch: use local labels and ENDPROC() markings Blackfin arch: Do not need this dualcore test module in kernel. Blackfin arch: Allow ptrace to peek and poke application data in L1 data SRAM. Blackfin arch: Add ANOMALY_05000368 workaround Blackfin arch: Functional power management support ...
| * Blackfin arch: Fix bug - Kernel does not boot if re-program clocksMichael Hennerich2008-07-141-6/+0
| | | | | | | | | | | | | | | | | | | | Don't write conflicting data to EBIU_SDBCTL after the SDRAM is configured. This can cause data corruption, since we might change SDRAM row and column addressing modes. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* | Merge commit 'v2.6.26' into bkl-removalJonathan Corbet2008-07-141-6/+3
|\ \ | |/
| * Blackfin arch: protect only the SPI bus controller with CONFIG_SPI_BFINMike Frysinger2008-06-071-6/+3
| | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* | bf561-coreb: BKL unneeded for open()Jonathan Corbet2008-07-021-4/+1
| | | | | | | | | | | | | | | | According to Mike Frysinger: http://permalink.gmane.org/gmane.linux.kernel/699279 open() does not need the BKL, so take it back out.
* | bf561-coreb: BKL pushdownArnd Bergmann2008-06-201-0/+4
|/ | | | Signed-off-by: Arnd Bergmann <arnd@arndb.de>
* [Blackfin] arch: protect linux/usb/isp1362.h include until the driver gets ↵Mike Frysinger2008-05-101-0/+2
| | | | | | | | mainlined Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: Functional power management support: Add CPU and platform ↵Michael Hennerich2008-05-072-0/+61
| | | | | | | | voltage scaling support Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: add Blackfin on-chip SIR IrDA driver supportGraf Yang2008-04-252-0/+46
| | | | | | | | | - add platform device resources in board files - add new bfin_sir.h to each machines Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: Adjust the u-boot and kernel image partition size in mtd ↵Grace Pan2008-04-241-1/+1
| | | | | | | | device. Signed-off-by: Grace Pan <grace.pan@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: Give the DMA base registers a more descriptive nameBernd Schmidt2008-04-241-2/+2
| | | | | | | | | | The DMA base registers are available in a global named "base_addr" for every Blackfin variant. Give this a more descriptive name, and remove duplicate tables from some drivers. Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: Consistently export base_addr for all Blackfin variants.Bernd Schmidt2008-04-241-0/+3
| | | | | | Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: theres no need to declare ram{end,start,base} in the head.S ↵Mike Frysinger2008-04-241-18/+0
| | | | | | | | | | | | files theres no need to declare ram{end,start,base} in the head.S files when declaring them with the other memory related variables in setup.c is so much simpler/nicer Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: Resolve the clash issue of UART defines between blackfin ↵Graf Yang2008-04-241-8/+8
| | | | | | | | | headers and include/linux/serial_reg. Signed-off-by: Graf Yang <graf.yang@analog.com> Cc: Robin Getz <rgetz@blackfin.uclinux.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__Harvey Harrison2008-04-234-4/+4
| | | | | | | | | | Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: conditionally enable flash resources since it requests the ↵Mike Frysinger2008-03-261-0/+5
| | | | | | | | async memory bank Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: add board resources for new simple-gpio char driverMike Frysinger2008-02-221-0/+14
| | | | | | Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: fix bug - set right partition size in the board filesMike Frysinger2008-02-251-1/+1
| | | | | | | | | | | | - set default u-boot partition size to 256k - modify the offset with the size change - use mtd defines (append for offset and full for size) where applicable rather than churning constants when we dont have to Signed-off-by: Grace Pan <grace.pan@analog.com> Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
* [Blackfin] arch: Encourage users to use the spidev character driver: Provide ↵Michael Hennerich2008-02-091-0/+16
| | | | | | | | | | | platform support - Enable kernel generic spidev driver for blackfin SPI ADC - spi_adc driver, document and test sample not synced Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* [Blackfin] arch: Enable NET2272 on BF561-EZkit - remove request_mem_regionMichael Hennerich2008-02-021-0/+25
| | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* [Blackfin] arch: Add Support for ISP1362Michael Hennerich2008-02-021-0/+46
| | | | | | Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Rename: linux/pata_platform.h to linux/ata_platform.hJeff Garzik2008-02-062-2/+2
| | | | Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
* [Blackfin] arch: use common flash driver to setup partitions rather than the ↵Mike Frysinger2008-01-241-0/+42
| | | | | | | | bf5xx-flash driver Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* [Blackfin] arch: enable generic GPIO based I2C driver in STAMP-BF533, ↵Bryan Wu2008-01-241-0/+24
| | | | | | | EZKIT-BF533 and EZKIT-BF561 boards Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* [Blackfin] arch: fix bug when DMA operation related core B of BF561Enrik Berkhan2007-12-241-4/+8
| | | | | | | | | | | - Before DMA'ing data to core B L1 memory, caches have to be flushed. - Before DMA'ing data from core B L1 memory, caches have to be invalidated. - Fix lock/unlock. Signed-off-by: Enrik Berkhan <Enrik.Berkhan@ge.com> Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* [Blackfin] arch: replace current blackfin specific pfbutton driver with ↵Michael Hennerich2008-01-271-0/+30
| | | | | | | | kernel generic gpio key driver Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* [Blackfin] arch: add Hitachi TX09D70VM1CDA TFT LCD driver resource to ↵Michael Hennerich2008-01-271-0/+11
| | | | | | | | Blackfin board Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: add AXIS AX88180 Gigabit Ethernet Hardware and Driver to ↵Michael Hennerich2007-11-171-0/+27
| | | | | | | | board files Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: relocate linux/usb_isp1362.h to linux/usb/isp1362.h like in ↵Mike Frysinger2007-11-151-1/+1
| | | | | | | | newer linux trees Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: remove useless CONFIG_IRQCHIP_DEMUX_GPIOMike Frysinger2007-11-152-8/+0
| | | | | | | | since we have this always turned on now and dont want it off (and hasnt been an option in a while) Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: split board selection off into mach subdirsMike Frysinger2007-11-153-2/+31
| | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: move hard coded pin_req to board fileBryan Wu2007-11-122-0/+4
| | | | | | | | | | | Remove some sort of bloaty code, try to get these pin_req arrays built at compile-time - move this static things to the blackfin board file - add pin_req array to struct bfin5xx_spi_master - tested on BF537/BF548 with SPI flash Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: use "char bfin_board_name[]" rather than "char ↵Mike Frysinger2007-10-214-4/+4
| | | | | | | | *bfin_board_name" per discussion on lkml as the former uses less storage Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: Print out debug info, as early as possibleRobin Getz2007-10-091-0/+6
| | | | | | | | | | Print out debug info, as early as possible - even before the kernel initializes the interrupt vectors. Now we can print out debug messages almost anytime during the boot process. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: rewrite our reboot code in CMike Frysinger2007-10-111-60/+0
| | | | | | | | | | rewrite our reboot code in C rather than assembly to be like other architectures and to allow board maintainers to define custom behavior Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: allow people to select the feature that is unavailable to the ↵Mike Frysinger2007-08-051-4/+6
| | | | | | | | | | | | | kernel - allow people to select the feature that is unavailable to the kernel: NMI, JTAG, or CYCLES. - change default NMI handler to simply dump hardware trace buffer. - remove default NMI handler completely as calling into kernel code is not safe move example handler to wiki so people dont haphazardly copy and paste this stuff thinking its safe Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: Add ability to expend the hardware trace bufferRobin Getz2007-07-251-1/+1
| | | | | | | | | | | | Add ability to expend the hardware trace buffer via a configurable software buffer - so you can have lots of history when a crash occurs. The interesting way we do printk in the traps.c confusese the checking script Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: Fix CCLK and SCLK checksRobin Getz2007-08-031-0/+1
| | | | | | | | | | Fix CCLK and SCLK checks, combine all arch checks into one file for maintance. Checkins that remove more lines than they add are always good. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: use HI/LO macros rather than masking the bit ranges ourselvesMike Frysinger2007-07-251-6/+6
| | | | | | Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
* Blackfin arch: revise anomaly handling by basing things on the compiler not ↵Mike Frysinger2007-07-251-6/+5
| | | | | | | | | | | | | the kconfig defines revise anomaly handling by basing things on the compiler not the kconfig defines, so the header is stable and usable outside of the kernel. This also allows us to move some code from preprocessing to compiling (gcc culls dead code) which should help with code quality (readability, catch minor bugs, etc...). Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
OpenPOWER on IntegriCloud