summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
* Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit ↵Shinya Kuribayashi2008-02-23-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Replace deprecated "ramdisk" with "ramdisk_size" kernel parameter.Detlev Zundel2008-02-22-3/+3
| | | | | | | | The Linux commit fac8b209b1084bc85748bd54e13d00c1262b220f ("Remove final traces of long-deprecated "ramdisk" kernel parm") makes these changes neccessary. Signed-off-by: Detlev Zundel <dzu@denx.de>
* lwmon5: enable hardware watchdogYuri Tikhonov2008-02-22-2/+1
| | | | | | | | | | | | | Some boards (e.g. lwmon5) may use rather small watchdog intervals, so causing it to reboot the board if U-Boot does a long busy-wait with udelay(). Thus, for these boards we have to restart WD more frequently. This patch splits the busy-wait udelay() into smaller, predefined, intervals, so that the watchdog timer may be resetted with the configurable (CONFIG_WD_PERIOD) interval. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* ppc4xx: Support for ATI Radeon 9200 card on sequoiaAnatolij Gustschin2008-02-22-1/+25
| | | | | | | | Adds configuration option for ATI Radeon 9200 card support to sequoia config file. If CONFIG_VIDEO is enabled, TEXT_BASE should be changed to 0xFFF80000. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xxWolfgang Denk2008-02-22-12/+12
|\
| * 86xx: Fix GUR PCI config registers properly.Jon Loeliger2008-02-20-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Back in commit 975a083a5ef785c414b35f9c5b8ae25b26b41524 where I tried to "8610HPCD: Fix typos in two PCI setup registers", I botched it due to not realizing that 8610 and 8641 had different Global Utility Register defintions, one of which was like 85xx, and the other wasn't. Correct this problem by introducing two symbols, one for each 86xx SoC, but neither of which is named anything like 85xx. My bad. Lovely Wednesday with git bisect. You know. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 8610HPCD: Don't use VIDEO/CFB_CONSOLE by default.Jon Loeliger2008-02-20-1/+1
| | | | | | | | | | | | | | | | Without an actual supported video card hooked up, enabling the CONFIG_VIDEO by default just makes it look broken by routing all console output to the video card. Don't. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 8610HPCD: Fix typos in two PCI setup registers.Jon Loeliger2008-02-19-2/+0
| | | | | | | | | | | | | | | | | | The two symbols MPC86xx_PORDEVSR_IO_SEL and MPC86xx_PORBMSR_HA were erroneously present as 85xx names and values, leftover from the clone wars. Fix this by removing the 85xx cruft from the 86xx codebase. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| * 86xx: Convert sbc8641d to use libfdt.Jon Loeliger2008-02-18-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the proper fix for a missing closing brace in the function ft_cpu_setup() noticed by joe.hamman <at> embeddedspecialties.com. The ft_cpu_setup() function in mpc8641hpcn.c should have been removed earlier as it was under the obsolete CONFIG_OF_FLAT_TREE, but was missed. Only, the sbc8641d was nominally still using it. It all got ripped out, and the funcality that was in ft_board_setup() was refactored to remove the CPU portions into the new file cpu/mpc86xx/fdt.c instead. Make sbc8641d use this now. Based loosely on an original patch from joe.hamman@embeddedspecialties.com Signed-off-by: Jon Loeliger <jdl@freescale.com>
* | Merge branch 'master' of git://www.denx.de/git/u-boot-freebsdWolfgang Denk2008-02-22-0/+51
|\ \
| * | API: Add (c) and licensing notice to the public API header.Rafal Jaworowski2008-02-21-0/+51
| |/ | | | | | | Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
* | Remove duplicate defines for ARRAY_SIZEKumar Gala2008-02-22-2/+0
|/ | | | | | | A few duplicate of the ARRAY_SIZE macro sneaked in since we put the define in common.h. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* ppc4xx: HCU4/5. Cleanup configsNiklaus Giger2008-02-16-46/+27
| | | | | | | | | - hcu4.h: Removed define of CONFIG_PPC405GPr - Corrected phy addresses - Fix boot variables - Respect line length of 80 chars Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: PPC405GPr fix missing register definitionsNiklaus Giger2008-02-16-0/+8
| | | | Signed-off-by: Niklaus Giger <niklaus.giger@netstal.com>
* ppc4xx: Beautify configuration files for Sequoia and Korat boardsLarry Johnson2008-02-16-235/+237
| | | | Signed-off-by: Larry Johnson <lrj@acm.org>
* Merge branch '080131_artila' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-0/+197
|\
| * Support for Artila M-501 starter kitTimo Tuunainen2008-02-14-0/+197
| | | | | | | | | | Kimmo Leppala / Sysart and Timo Tuunainen / Sysart
* | Merge branch '080116_at91cap9' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-0/+891
|\ \
| * | AT91CAP9 support : board/ filesStelian Pop2008-02-14-0/+212
| | | | | | | | | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
| * | AT91CAP9 support : include/ filesStelian Pop2008-02-14-0/+679
| |/ | | | | | | Signed-off-by: Stelian Pop <stelian@popies.net>
* | Merge branch '070524_netstar' of git://linux-arm.org/u-boot-armdevPeter Pearse2008-02-15-47/+39
|\ \
| * | Update board NetStarPeter Pearse2008-02-14-47/+39
| |/ | | | | | | Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
* | Fix compile warning on lib_ppc/board.cAnatolij Gustschin2008-02-15-1/+1
| | | | | | | | Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | Extend ATI Radeon driver to support more video modesAnatolij Gustschin2008-02-15-0/+4
| | | | | | | | | | | | | | Adds ATI Radeon 9200 support for 1280x1024, 1024x768, 800x600, 640x480 at 24, 16 and 8 bpp. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* | xsengine: fix typo and few coding styleJean-Christophe PLAGNIOL-VILLARD2008-02-15-9/+9
| | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | Merge ../custodiansWolfgang Denk2008-02-15-0/+12
|\ \
| * \ Merge branch 'master' of git://www.denx.de/git/u-boot-mpc86xxWolfgang Denk2008-02-15-0/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: common/cmd_reginfo.c Signed-off-by: Wolfgang Denk <wd@denx.de>
| | * \ Merge commit 'wd/master'Jon Loeliger2008-02-14-4/+6
| | |\ \ | | | |/
| | * | Add CFG_MPC86xx_DDR_ADDR and CFG_MPC86xx_DDR2_ADDR symbolsJon Loeliger2008-02-13-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | These replace direct structure references for IMMR sections. Signed-off-by: Jon Loeliger <jdl@freescale.com>
| | * | Merge commit 'wd/master'Jon Loeliger2008-02-13-293/+125
| | |\ \
| | * | | 86xx: Add reginfo commandBecky Bruce2008-01-24-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
| | * | | 86xx: Add print_laws function to fsl_law.cBecky Bruce2008-01-24-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used for debug, and will be used by board code to help implement reginfo. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
| | * | | 86xx: Convert sbc8641d to use new law setup code.Becky Bruce2008-01-24-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
| | * | | 86xx: Convert mpc8610hpcd to new law setup method.Becky Bruce2008-01-24-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
| | * | | 86xx: Support new law setup method and convert mpc8641Becky Bruce2008-01-24-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the support code in cpu/mpc86xx for the new law setup code recently created fsl_law.c, and changes the MPC8641HPCN config to use this code. Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
* | | | | Merge ../custodiansWolfgang Denk2008-02-15-2/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk2008-02-15-2/+2
| |\ \ \ \
| | * \ \ \ Merge branch 'for-1.3.2'Stefan Roese2008-02-14-2/+2
| | |\ \ \ \ | | | |_|_|/ | | |/| | |
| | | * | | ppc4xx: Fix problem with init-ram bigger than 4k on 440 platformsStefan Roese2008-02-04-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Stefan Roese <sr@denx.de>
* | | | | | Merge ../custodiansWolfgang Denk2008-02-15-10/+12
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge branch 'master' of git://www.denx.de/git/u-boot-avr32Wolfgang Denk2008-02-15-10/+12
| |\ \ \ \ \
| | * | | | | AVR32: Make SDRAM refresh rate configurableHaavard Skinnemoen2008-02-05-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing code assumes the SDRAM row refresh period should always be 15.6 us. This is not always true, and indeed on the ATNGW100, the refresh rate should really be 7.81 us. Add a refresh_period member to struct sdram_info and initialize it properly for both ATSTK1000 and ATNGW100. Out-of-tree boards will panic() until the refresh_period member is updated properly. Big thanks to Gerhard Berghofer for pointing out this issue. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
| | * | | | | ATSTK1004: Fix comment about default load addressHaavard Skinnemoen2008-02-05-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default load address is SDRAM + 2MB, not SDRAM + 4MB. The latter wouldn't have worked anyway since the board can only access 4MB of SDRAM. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
| | * | | | | ATSTK1002: Use SDRAM + 4MB as default load addressHaavard Skinnemoen2008-02-05-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many people run into problems when they compile a big kernel and load the uImage at the default SDRAM + 2MB address as the kernel will overwrite the uImage as it is being unpacked. Increase the default load address so that we can load a 4MB kernel image without any problems. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
| | * | | | | ATNGW100: Fix default mtest rangeHaavard Skinnemoen2008-02-05-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let mtest cover the whole SDRAM except the last megabyte, which is where u-boot lives. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* | | | | | | Coding STyle cleanup.Wolfgang Denk2008-02-15-34/+34
|/ / / / / / | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* | | | | | Merge branch 'master' of git://www.denx.de/git/u-boot-blackfinWolfgang Denk2008-02-15-12440/+60719
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile doc/README.standalone Signed-off-by: Wolfgang Denk <wd@denx.de>
| * | | | | | punt Blackfin VDSP headers and import sanitized/auto-generated onesMike Frysinger2008-02-04-12443/+58335
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | | | | always pull in asm/blackfin.h for Blackfin portsMike Frysinger2008-02-04-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * | | | | | add missing __raw versions of Blackfin read/write io functionsMike Frysinger2008-02-04-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>