summaryrefslogtreecommitdiff
path: root/include/asm-blackfin
AgeCommit message (Collapse)Author
2009-02-10Add an architecture specific config.h for common definesKumar Gala
We have common defines that we duplicate in various ways. Having an arch specific config.h gives us a common location for those defines. Eventually we should be able to replace this when we have proper Kconfig support. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-02-05Blackfin: move default boot SPI CS to common codeMike Frysinger
Move the default SPI CS that we boot from into common code so that it can be used in other SPI drivers and environment settings. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-03Blackfin: update anomaly listsMike Frysinger
Update the anomaly lists to match latest anomaly sheets. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: add driver for on-chip MMC/SD controllerCliff Cai
This is a port of the Linux Blackfin on-chip SDH driver to U-Boot. Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: output booting source when bootingMike Frysinger
Knowing the booting source of the part is useful, especially when the part can switch dynamically between sources. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: set default CONFIG_ENV_SPI_CS based on bootromMike Frysinger
Set the default CONFIG_ENV_SPI_CS value to match the SPI CS that is used by the Blackfin on-chip bootrom to boot out of SPI flash. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: update asm-blackfin/posix_types.h to latest Linux versionMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: add port I bitsMike Frysinger
Some people need to access port I, so make sure the pins are defined. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: add driver for on-chip ATAPI controllerSonic Zhang
This is a port of the Linux Blackfin on-chip ATAPI driver to U-Boot. Signed-off-by: Sonic Zhang <Sonic.Zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: fix up EBIU definesMike Frysinger
The EBIU defines for EBSZ 256/512 were incorrect. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: only flag L1 instruction for DMA memcpyMike Frysinger
The performance difference from doing an 8 bit DMA memcpy vs an optimized core memcpy can be pretty big when you add in the overhead of setting up the MDMA registers, cache flushes, etc... So only use dma_memcpy() when we actually require it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: rewrite cache handling functionsMike Frysinger
Take the cache flush functions from the kernel as they use hardware loops in order to get optimal performance. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-02Blackfin: cache core/system clock valuesMike Frysinger
Calculating the clocks requires a bit of calls to gcc math functions, so cache the values after the first run since they'll most likely never change once U-Boot is up and running. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: update on-chip ROM APIMike Frysinger
This brings the API for the on-chip ROM in line with the toolchain and hardware documentation. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: fix dcache handling when doing dma memcpy'sMike Frysinger
Our dcache invalidate function doesn't just invalidate, it also flushes. So rename the function accordingly and fix the dma_memcpy() function so it doesn't inadvertently corrupt the data destination. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: set more sane default board config valuesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: convert CMD_LINE_ADDR to CONFIG_LINUX_CMDLINE_{ADDR,SIZE}Mike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: add bit defines for DDR partsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-28Blackfin: add defines to describe active bootrom behaviorMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-12-15Introduce virt_to_phys()Kumar Gala
virt_to_phys() returns the physical address given a virtual. In most cases this will be just the input value as the vast majority of systems run in a 1:1 mode. However in systems that are not running this way it should report the physical address or ~0 if no mapping exists for the given virtual address. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-10-23Blackfin: fix SWRST register definitionMike Frysinger
The SWRST register is a 16bit, not 32bit, register. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-23Blackfin: punt old unused mem_init.h headerMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-23Blackfin: delete unused page_descriptor_table_size defineMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-23Blackfin: fix typo in boot mode comment and add NAND defineMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-23Blackfin: fix port mux defines for BF54xBen Maan
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-23Blackfin: update anomaly listsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-23Blackfin: unify DSPID/DBGSTAT MMR definitionsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-10-18rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-09-06Allow console input to be disabledMark Jackson
Added new CONFIG_DISABLE_CONSOLE define and GD_FLG_DISABLE_CONSOLE. When CONFIG_DISABLE_CONSOLE is defined, setting GD_FLG_DISABLE_CONSOLE disables all console input and output. Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
2008-06-12Change bd/gd memsize/ram_size to be phys_size_t.Becky Bruce
Currently, both are defined as an unsigned long, but should be phys_size_t. This should result in no real change, since phys_size_t is currently an unsigned long for all the default configs. Also add print_lnum to cmd_bdinfo to deal with the potentially wider memsize. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-05-21Merge branch 'lwmon5' of /home/wd/git/u-boot/projectsWolfgang Denk
2008-05-21Big white-space cleanup.Wolfgang Denk
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-05-20POST: replace the LOGBUFF_INITIALIZED flag in gd->post_log_word (1 << 31) ↵Yuri Tikhonov
with the GD_FLG_LOGINIT flag in gd->flags. This way we become able to utilize the full post_log_word for POST activities (overwise, POST ECC, which has 0x8000 ID, could be erroneously treated as started in post_output_backlog() even if there was actually no POST ECC run (because of OCM POST failure, for example). Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2008-05-20POST: add POST_STOP flagYuri Tikhonov
Don't run futher tests in case of a test fails that is marked as POST_STOP. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2008-04-13Introduce phys_size_t and move phys_addr_t into asm/types.hKumar Gala
Also add CONFIG_PHYS_64BIT on powerpc to deal with 32-bit ppc's that have larger physical addresses like 44x, 85xx, and 86xx. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-03-30Blackfin: unify cpu and boot modesMike Frysinger
All of the duplicated code for Blackfin processors and boot modes have been unified. After all, the core is the same for all processors, just the peripheral set differs (which gets handled in the drivers). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-03-18The patch introduces the CRITICAL feature of POST tests. If the test marked ↵Yuri Tikhonov
as POST_CRITICAL fails then the alternative, post_critical, boot-command is used. If this command is not defined then U-Boot enters into interactive mode. Signed-off-by: Dmitry Rakhchev <rda@emcraft.com> Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
2008-02-23Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit ↵Shinya Kuribayashi
targets. ---------------------------------------------------------------- Olaf Hering [Wed, 17 Oct 2007 06:27:13 +0000 (23:27 -0700)] Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets. GCC can be made to warn about usage of long long types with ISO C90 (-ansi), but only with -pedantic. You can write this in a way that even then it doesn't cause warnings, namely by: #ifdef __GNUC__ __extension__ typedef __signed__ long long __s64; __extension__ typedef unsigned long long __u64; #endif The __extension__ keyword in front of this switches off any pedantic warnings for this expression. Signed-off-by: Olaf Hering <olh@suse.de> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> ---------------------------------------------------------------- Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-02-15Coding STyle cleanup.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-02-04punt Blackfin VDSP headers and import sanitized/auto-generated onesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-02-04add missing __raw versions of Blackfin read/write io functionsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-02-04add the default Blackfin logo used by Blackfin boards with splash screensMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2007-12-13Introduce map_physmem() and unmap_physmem()Haavard Skinnemoen
map_physmem() returns a virtual address which can be used to access a given physical address without involving the cache. unmap_physmem() should be called when the virtual address returned by map_physmem() is no longer needed. This patch adds a stub implementation which simply returns the physical address cast to a uchar * for all architectures except AVR32, which converts the physical address to an uncached virtual mapping. unmap_physmem() is a no-op on all architectures, but if any architecture needs to do such mappings through the TLB, this is the hook where those TLB entries can be invalidated. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-05[Blackfin][PATCH] Fix dynamic CPLB generation issueAubrey Li
2007-04-05[Blackfin][PATCH] minior cleanupAubrey Li
2007-04-05[Blackfin][PATCH] Fix copyright and update licenseAubrey Li
2007-04-05[Blackfin][PATCH] call real the system synchronize instructionAubrey Li
2007-04-05[Blackfin][PATCH] remove asm/page.h as we do not actually use/want any of ↵Aubrey Li
these definitions nor does any other arch include it
2007-03-20[Blackfin][PATCH] Add BF561 EZKIT board supportAubrey Li
2007-03-19[Blackfin][PATCH] Add BF537 stamp board supportAubrey Li