aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2010-10-26Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated valueWolfgang Denk481-871/+385
CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not being able to use "sizeof(struct global_data)" in assembler files. Recent experience has shown that manual synchronization is not reliable enough. This patch renames CONFIG_SYS_GBL_DATA_SIZE into GENERATED_GBL_DATA_SIZE which gets automatically generated by the asm-offsets tool. In the result, all definitions of this value can be deleted from the board config files. We have to make sure that all files that reference such data include the new <asm-offsets.h> file. No other changes have been done yet, but it is obvious that similar changes / simplifications can be done for other, related macro definitions as well. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-26include/asm-offsets.h: automatically generate assembler constantsWolfgang Denk2-0/+22
A recurrent issue is that certain C level constructs like sizeof() or offsetof() cannot be used in assembler files, which is inconvenient when such constructs are used in the definition of macro names etc. To avoid duplication of such definitions (and thus another cause of problems), we adapt the Linux way to automatically generate the respective definitions from the respective C header files. In Linux, this is implemented in include/linux/kbuild.h, Kbuild, and arch/*/kernel/asm-offsets.c; we adapt the code from the Linux v2.6.36 kernel tree. We also copy the concept of the include/generated/ directory which can be used to hold other automatically generated files as well. We start with an architecture-independent lib/asm-offsets.c which generates include/generated/generic-asm-offsets.h (included by include/asm-offsets.h, which is what will be referred to in the actual source code). Later this may be extended by architecture-specific arch/*/lib/asm-offsets.c files that will generate a include/generated/asm-offsets.h. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-26Rename CONFIG_SYS_INIT_RAM_END into CONFIG_SYS_INIT_RAM_SIZEWolfgang Denk330-738/+738
CONFIG_SYS_INIT_RAM_END was a misnomer as it suggests this might be some end address; to make the meaning more clear we rename it into CONFIG_SYS_INIT_RAM_SIZE No other code changes are performed in this patch, only minor editing of white space (due to the changed length) and the comments was done, where noticed. Note that the code for the PATI and cmi_mpc5xx board configurations looks seriously broken. Last known maintainers on Cc: Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Denis Peter <d.peter@mpl.ch> Cc: Martin Winistoerfer <martinwinistoerfer@gmx.ch> Acked-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-26Merge branch 'master' of git://git.denx.de/u-boot-blackfinWolfgang Denk2-0/+4
2010-10-25Blackfin: adi boards: set compiled size limitsMike Frysinger2-0/+4
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-25ppc4xx: Add Io and IoCon 405EP board supportDirk Eibach2-0/+503
Board support for the Guntermann & Drunck CATCenter Io. Board support for the Guntermann & Drunck IoCon. Signed-off-by: Dirk Eibach <eibach@gdsys.de> Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-23MVBLM7: make TSEC2 work again.Andre Schwarz1-1/+1
SICRH has been misconfigured, i.e. TSEC2 clock + D[0:3] are GPIOs. Fix this to be RGMII signals again. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de>
2010-10-23Merge branch 'for-wd-master' of git://git.denx.de/u-boot-pxaWolfgang Denk18-719/+69
2010-10-23Merge branch 'master' of git://git.denx.de/u-boot-mpc85xxWolfgang Denk15-80/+741
2010-10-23Merge branch 'master' of git://git.denx.de/u-boot-videoWolfgang Denk2-0/+630
2010-10-23Merge branch 'master' of git://git.denx.de/u-boot-shWolfgang Denk1-2/+4
2010-10-23a4m072: add CONFIG_SYS_FLASH_BANKS_SIZES defineIlya Yanok1-0/+1
This patch adds CONFIG_SYS_FLASH_BANKS_SIZES define to make use of new cfi_flash driver ability to detect flash chips that are bigger than a corresponding address window (we have such situation on some revs of a4m072). Signed-off-by: Ilya Yanok <yanok@emcraft.com>
2010-10-22XPedite5500 board supportJohn Schmoller1-0/+607
Initial support for Extreme Engineering Solutions XPedite5500 - a P2020-based PMC/XMC single board computer. Signed-off-by: John Schmoller <jschmoller@xes-inc.com> Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22xes: Add POST support for 8xxx boardsPeter Tyser3-0/+42
Add memory and I2C posts to the XPedite517x/520x/537x board families. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22mpc86xx: Add generic POST word read/write supportPeter Tyser1-0/+4
The PIC's TFRR register doesn't affect hardware and is generally unused, so use as storage for the POST word. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22post/i2c: Rename I2C_ADDR_LIST to CONFIG_SYS_POST_I2C_ADDRSPeter Tyser8-52/+53
Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Acked-by: Heiko Schocher <hs@denx.de> Acked-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22xes: Make X-ES board names more genericPeter Tyser4-11/+11
Some U-Boot images for X-ES boards support multiple products in the same family. For example, the XPedite5370, XPedite5371, and XPedite5372 are similar enough that one U-Boot image can work on all 3 cards. To make it clear that a U-Boot image can work on boards of the same family, rename the boards with the least significant digit of 'x'. While we're at it, change the board config file and make targets to be lowercase. Also change the default uImage and fdt filenames to "board.uImage" and "board.dtb" to be more generic. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22xes: Add board_flash_wp_on()John Schmoller1-1/+1
Add board_flash_wp_on() to check a pca9557 gpio pin to see if non-volatile memory write protection is enabled. Previously, write protected NOR flashes would fail initialization which resulted in a bootup error such as: ... DTT: 53 C local / 64 C remote (adt7461@4c) DTT: 54 C local (ds1621@48) FLASH: Executed from FLASH1 POST memory PASSED FLASH: ## Unknown FLASH on Bank 1 - Size = 0x00000000 = 0 MB ## Unknown FLASH on Bank 2 - Size = 0x00000000 = 0 MB *** failed *** ### ERROR ### Please RESET the board ### With this patch, NOR flash initialization is skipped: ... DTT: 53 C local / 64 C remote (adt7461@4c) DTT: 54 C local (ds1621@48) FLASH: Executed from FLASH1 POST memory PASSED FLASH: Uninitialized - Write Protect On L2: 1024 KB enabled NAND: 1024 MiB ... Note that flash related commands such as flinfo and saveenv will error out when flash write protection is enabled. Signed-off-by: John Schmoller <jschmoller@xes-inc.com> Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22xes: Consolidate checkboard()John Schmoller4-0/+4
Create a common checkboard() function to support all X-ES's Freescale boards. Also, add a get_board_derivative() function which reads hardware strapping resistors to determine what model a board is. This allows one U-Boot image to support multiple boards. Signed-off-by: John Schmoller <jschmoller@xes-inc.com> Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22pci: Add ability to re-enumerate PCI busesJohn Schmoller3-0/+3
Add a new 'pci enum' command which re-enumerates the PCI buses. This command is enabled via the CONFIG_CMD_PCI_ENUM define and can be useful in boards with FPGAs connected via PCI/PCIe, boards that support PCI hot-plugging, or during PCI debug. Also enable the 'pci enum' command for X-ES's Freescale-based boards. Signed-off-by: John Schmoller <jschmoller@xes-inc.com> Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Wolfgang Denk <wd@denx.de>
2010-10-22xes: Use common PCI initialization codePeter Tyser3-15/+15
Common Freescale code for PCI initialization now exists, so migrate X-ES boards to use it. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22corenet_ds: Update CONFIG_SYS_GBL_DATA_SIZE to deal with growth in gd_tKumar Gala1-1/+1
The recent change the env code added an additional 32 bytes into gd_t and that causes to grow pass the previous CONFIG_SYS_GBL_DATA_SIZE size. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2010-10-22PXA: Remove "xsengine" boardMarek Vasut1-216/+0
This board is broken and it's not possible to repair it. Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: Remove "wepep250" boardMarek Vasut1-199/+0
This board is broken and impossible to repair without deep knowledge or availability of the hardware. Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: Remove "delta" boardMarek Vasut1-267/+0
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: zipitz2: Add missing CONFIG_SYS_TEXT_BASEMarek Vasut1-0/+1
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: vpac270: Add missing CONFIG_SYS_TEXT_BASEMarek Vasut1-0/+1
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: xm250: Fix for relocMarek Vasut1-3/+6
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: xaeniax: Fix for relocMarek Vasut1-2/+7
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: trizepsiv: Fix for relocMarek Vasut1-0/+1
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: pxa255_idp: Fix for relocMarek Vasut1-1/+7
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: pleb2: Fix for relocMarek Vasut1-10/+8
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: palmtc: Fix for relocMarek Vasut1-0/+1
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: palmld: Fix for relocMarek Vasut1-0/+1
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: lubbock: Fix for relocMarek Vasut1-1/+7
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: innokom: Fix for relocMarek Vasut1-0/+8
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: csb226: Fix for relocMarek Vasut1-1/+3
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: cradle: Fix for relocMarek Vasut2-11/+10
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: colibri_pxa270: Fix for relocMarek Vasut1-1/+1
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22PXA: cerf250: Fix for relocMarek Vasut1-7/+7
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
2010-10-22MX51: Add video support to vision2 boardStefano Babic1-0/+14
The patch adds support for LCD to the vision2 board. Signed-off-by: Stefano Babic <sbabic@denx.de>
2010-10-22Add linux framebuffer header include/linux/fb.hStefano Babic1-0/+616
[port of linux 2.6.34 commit 6a9ee8af344e3bd7dbd61e67037096cdf7f83289] Signed-off-by: Stefano Babic <sbabic@denx.de>
2010-10-21led_display: remove unused DISPLAY_MARK defineIlya Yanok1-1/+0
DISPLAY_MARK subcommand of display_set() is not used anywhere so we can remove it safely. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
2010-10-21a4m072: changes to the default environmentIlya Yanok1-21/+37
The default values for 'addip' and 'norargs' changed per customer request. Everything else cleaned up to fit into 80 symbol line. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
2010-10-21Fix building for 83xx boards with USB supportAnatolij Gustschin1-1/+1
Commit 29c6fbe0471afd7ffa41fcb2103eec5b53294897 broke building for 83xx boards with USB support: ehci-fsl.c: In function 'ehci_hcd_init': ehci-fsl.c:43: error: 'CONFIG_SYS_FSL_USB_ADDR' undeclared (first use in this function) ehci-fsl.c:43: error: (Each undeclared identifier is reported only once ehci-fsl.c:43: error: for each function it appears in.) make[1]: *** [ehci-fsl.o] Error 1 Signed-off-by: Anatolij Gustschin <agust@denx.de>
2010-10-21sh: sh7785lcr: Add CONFIG_SH_SDRAM_OFFSETNobuhiro Iwamatsu1-2/+4
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2010-10-20MPC52xx, motionpro: update default configurationWolfgang Denk1-43/+27
Signed-off-by: Wolfgang Denk <wd@denx.de>
2010-10-20Merge branch 'master' of git://git.denx.de/u-boot-ppc4xxWolfgang Denk2-13/+13
2010-10-20ppc4xx: Fix default environment for AMCC boardsStefan Roese1-2/+2
Commit 0ad7f0950a9bc0a69b3cd5f34ccf7da25fcf1c6d [ppc4xx: cleanup default environment for AMCC boards] broke the default env for many PPC4xx boards. The '\0' character got removed at the end of some environment commands like "update". This patch adds the missing '\0' characters again. Signed-off-by: Stefan Roese <sr@denx.de>
2010-10-20ppc4xx: Enable NOR flash support in sequoia_ramboot targetStefan Roese1-11/+0
Until now, the Sequoia RAM-booting image disabled NOR flash support as this image was mainly created for NAND-only boards. This patch now enables NOR flash support for this RAM-booting version as well. Signed-off-by: Stefan Roese <sr@denx.de>