summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* doc: add macros to unify command help with doxygenRobert Schwebel2010-11-013-1/+113
| | | | | | | | | Currently we have duplicated all the information that appears online in 'help <command>' and in the doxygen documentation. This patch adds some infrastructure to specify help texts only once and re-use them for the integrated help as well as for the manual. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* parser: use debug macrosRobert Schwebel2010-11-011-28/+23
| | | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* digest: align menuRobert Schwebel2010-11-011-1/+1
| | | | | | | Align with the other menu entries. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* sandbox: use devfs functions only if definedRobert Schwebel2010-11-011-0/+2
| | | | | | | | arch/sandbox/board/built-in.o: In function `hf_probe': hostfile.c:(.text+0xac): undefined reference to `devfs_create' Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* devinfo: use subtree only with devinfoRobert Schwebel2010-11-011-21/+21
| | | | | | | | | | | The do_devinfo_subtree() function is only used if devinfo is compiled in, so put it under the same ifdef. This avoids the following warning when built with allnoconfig: lib/driver.c:247: warning: 'do_devinfo_subtree' defined but not used Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: silence doxygen warningsRobert Schwebel2010-10-221-0/+4
| | | | | | | | | | | | Silence these warnings: common/kallsyms.c:8: Warning: documented function `const u8 kallsyms_names' was not declared or defined. common/kallsyms.c:10: Warning: documented function `const u8 kallsyms_token_table' was not declared or defined. common/kallsyms.c:11: Warning: documented function `const u16 kallsyms_token_index' was not declared or defined. common/kallsyms.c:13: Warning: documented function `const unsigned long kallsyms_markers' was not declared or defined. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: fix parameter name in mci-coreRobert Schwebel2010-10-221-1/+1
| | | | | | | | | | | Silence this warning: drivers/mci/mci-core.c:1324: Warning: argument `pdata' of command @param is not found in the argument list of mci_register(struct mci_host *host) drivers/mci/mci-core.c:1324: Warning: The following parameters of mci_register(struct mci_host *host) are not documented: parameter host Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: fix wrongly named parameterRobert Schwebel2010-10-221-1/+1
| | | | | | | | | | | Silence this warning: lib/parameter.c:85: Warning: argument `value' of command @param is not found in the argument list of dev_set_param(struct device_d *dev, const char *name, const char *val) lib/parameter.c:85: Warning: The following parameters of dev_set_param(struct device_d *dev, const char *name, const char *val) are not documented: parameter val Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: avoid that doxygen parses magic in command.hRobert Schwebel2010-10-221-0/+4
| | | | | | | | | | | | | Don't let doxygen parse the command magic, which leads to these warnings: command.h:93: Warning: explicit link request to 'define' could not be resolved command.h:98: Warning: expected <tr> tag but found TK_LNKWORD token instead! command.h:98: Warning: Found unknown command `\t' command.h:101: Warning: explicit link request to 'define' could not be resolved command.h:103: Warning: explicit link request to 'define' could not be resolved Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: mark code explicitelyRobert Schwebel2010-10-221-1/+5
| | | | | | | | Silence this warning: arch/arm/mach-omap/arch-omap.dox:51: Warning: explicit link request to 'define' could not be resolved Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: add missing quotingRobert Schwebel2010-10-221-1/+1
| | | | | | | | | | Silence this warning: /home/rsc/git/barebox/commands/partition.c:177: Warning: Found unknown command `\offset1' /home/rsc/git/barebox/commands/partition.c:177: Warning: Found unknown command `\offset2' Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: eliminate nonexisting referenceRobert Schwebel2010-10-222-2/+1
| | | | | | | | Silence this warning: arch/architecture.dox:89: Warning: unable to resolve reference to `dev_x86_mach' for \ref command Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: remove reference to non-existing documentationRobert Schwebel2010-10-221-1/+0
| | | | | | | | Silence this warning: Documentation/users_manual.dox:10: Warning: unable to resolve reference to `partitions' for \ref command Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: remove nonexisting commandRobert Schwebel2010-10-221-1/+0
| | | | | | | | | Silence this warning: Documentation/commands.dox:24: Warning: unable to resolve reference to `rarp_command' for \ref command Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* doc: let doxygen find some assembler functionsRobert Schwebel2010-10-225-11/+0
| | | | | | | | | | | | | | Silences these warnings: arch/x86/boot/boot_hdisk.S:29: Warning: documented function `void real_start' was not declared or defined. arch/x86/boot/boot_main.S:28: Warning: documented function `void _start' was not declared or defined. arch/x86/boot/pmjump.S:20: Warning: documented function `void protected_mode_jump' was not declared or defined. arch/x86/lib/memory16.S:32: Warning: documented function `unsigned short bios_get_memsize' was not declared or defined. arch/x86/lib/traveler.S:31: Warning: documented function `void real_to_prot' was not declared or defined. arch/x86/lib/traveler.S:38: Warning: documented function `void prot_to_real' was not declared or defined. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Doxyfile: enable assembler filesRobert Schwebel2010-10-221-0/+1
| | | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Doxyfile: remove unused featuresRobert Schwebel2010-10-221-4/+4
| | | | | | | Disable callgraph and friends, we don't use them anyway. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Doxyfile: remove non-existing directoriesRobert Schwebel2010-10-221-2/+2
| | | | | | | | The example and image directories are currently not used, so we remove the references from the Doxyfile. Silences a doxygen warning. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Doxyfile: add exclude rulesRobert Schwebel2010-10-221-1/+3
| | | | | | | | The mtd stuff copied from linux and elsewhere contains commands which are not understood by a 'real' doxygen. For now, we add exclude rules. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Doxyfile: remove obsolete boards directoryRobert Schwebel2010-10-221-1/+0
| | | | | | | | This directory does not exist any more, so we can remove it. Silences a doxygen warning. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Doxyfile: enable quiet outputRobert Schwebel2010-10-221-1/+1
| | | | | | | We set the output to "quiet" in order to see the warnings. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* reset_cpu: unify declarationRobert Schwebel2010-10-229-10/+10
| | | | | | | | include/common.h declares this as "unsigned long addr", so we unify it. This also silences a doxygen warning. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Fix a simple typo to less confusing the userJuergen Beisert2010-10-221-1/+1
| | | | | Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add some help using the gpio commands at runtimeJuergen Beisert2010-10-222-0/+62
| | | | | | | | | Last time I used the gpio commands I was somehow confused about the behaviour of the 'gpio_get_value' command. So, I decided to add some doc for it. Here's the result. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add defconfig for Garz+Fricke cupid boardSascha Hauer2010-10-221-0/+56
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv: fix mtdpartsSascha Hauer2010-10-221-1/+1
| | | | | | | | We had some \" in mtdparts to allow for spaces in the mtdparts kernel option. Barebox does not handle these correctly, so remove them and disallow spaces in mtdparts Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add Garz+Fricke Cupid board supportSascha Hauer2010-10-228-0/+907
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci: align data for commandsSascha Hauer2010-10-221-6/+6
| | | | | | | | | | | Some mci controllers cannot transfer data with their DMA engines if the data is not sufficiently aligned. Normally this is a driver problem, but hey, we have no problem aligning the data and keep the burden from the drivers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Juergen Beisert <jbe@pengutronix.de> Acked-by: Juergen Beisert <jbe@pengurtronix.de>
* fb: i.MX IPU: fold mx3fb_set_par into its only userSascha Hauer2010-10-221-22/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fb: i.MX IPU: move fb_info initialization to a single functionSascha Hauer2010-10-221-28/+35
| | | | | | | | | | The bitfield information was only added to fb_info when the framebuffer actually was enabled. That made it impossible to call 'bmp' before enabling the display. So, move all fb_info init to a single place and make it a function to better allow for multiple displays later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fb: i.MX IPU: remove unnecessary printfSascha Hauer2010-10-221-2/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX35 regs: Add watchdog baseSascha Hauer2010-10-221-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX esdctl: Add register bits from redbootSascha Hauer2010-10-221-0/+88
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX51: Fix mmcclk rateSascha Hauer2010-10-221-3/+30
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mci-core: add multiple block supportSascha Hauer2010-10-221-8/+29
| | | | | | | | | So far only for reading blocks. This is based on the corresponding U-Boot code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Juergen Beisert <jbe@pengutronix.de> Acked-by: Juergen Beisert <jbe@pengurtronix.de>
* i.MX nand: optimize nand boot code for sizeSascha Hauer2010-10-222-62/+150
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM pca100: Use a flash bbtSascha Hauer2010-10-221-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add GPIO support and GPIO setup features to the S3C processorsJuergen Beisert2010-10-225-1/+628
| | | | | | | | | | | This patch adds genetic GPIO support to all S3C2440 processor based systems. Also it adds definitions to setup the pin multiplexer in a way the other architectures do. Note: Tested on a S3C2440 based system only. But should work on an S3C2410, too. Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* process_escape_sequence: Add missing includeSascha Hauer2010-10-211-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm interrupts.c: sparse fixesSascha Hauer2010-10-211-1/+9
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pcm043: fix compiler warningSascha Hauer2010-10-211-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove strange flush_cache functionsSascha Hauer2010-10-218-96/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* libbb: sparse fixesSascha Hauer2010-10-211-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX speed: add missing includeSascha Hauer2010-10-211-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* common/memsize.c: add missing includeSascha Hauer2010-10-211-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove dead ldiv codeSascha Hauer2010-10-212-56/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* lib/driver.c: sparse fixesSascha Hauer2010-10-211-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* net: make locally used functions staticSascha Hauer2010-10-211-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bootm: sparse fixesSascha Hauer2010-10-212-1/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands/mem.c: make locally used function staticSascha Hauer2010-10-211-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>