summaryrefslogtreecommitdiff
path: root/arch/nds32/lib/board.c
Commit message (Collapse)AuthorAgeLines
* nds32: fix unused pmu_init warningMike Frysinger2012-08-11-0/+2
| | | | | | | | | | | Fixes the build-time warning: board.c: At top level: board.c:106: warning: 'pmu_init' defined but not used This makes the ifdef logic at the call site match the logic at the function definition. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* nds32: delete unused local variableMike Frysinger2012-08-11-1/+0
| | | | | | | | Fixes the build-time warning: board.c: In function 'board_init_r': board.c:304: warning: unused variable 's' Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* net: move bootfile init into eth_initializeMike Frysinger2012-05-15-6/+0
| | | | | | | | All arches init this the same way, so move the logic into the core net code to avoid duplicating it everywhere else. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
* net: punt bd->bi_ip_addrMike Frysinger2012-05-15-3/+0
| | | | | | | | | This field gets read in one place (by "bdinfo"), and we can replace that with getenv("ipaddr"). After all, the bi_ip_addr field is kept up-to-date implicitly with the value of the ipaddr env var. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
* nds32/board.c: add PCI prompt at boot upMacpaul Lin2012-02-28-0/+1
| | | | | | add PCI prompt at boot up for probing PCI device Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32/lib: add ide generic supportMacpaul Lin2011-11-18-0/+5
| | | | | | Add ide generic support. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32: Use getenv_ulong() in place of getenv(), strtoulMacpaul Lin2011-11-01-10/+2
| | | | | | This changes the board code to use the new getenv_ulong() function. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
* nds32/lib: add generic funcs in NDS32 libMacpaul Lin2011-10-22-0/+439
Add Makefile, board.c, interrupts.c and bootm.c functions to nds32 architecture. Signed-off-by: Macpaul Lin <macpaul@andestech.com>