fixes several compile errors, reserves memory for second core, adds u-boot env parsing for ifxmips

SVN-Revision: 11558
This commit is contained in:
John Crispin
2008-06-22 19:01:14 +00:00
parent 1af378601e
commit 496bdd9eb7
6 changed files with 157 additions and 40 deletions

View File

@@ -28,14 +28,17 @@
static inline int gpio_direction_input(unsigned gpio) {
ifxmips_port_set_dir_in(0, gpio);
return 0;
}
static inline int gpio_direction_output(unsigned gpio, int value) {
ifxmips_port_set_dir_out(0, gpio);
return 0;
}
static inline int gpio_get_value(unsigned gpio) {
ifxmips_port_get_input(0, gpio);
return 0;
}
static inline void gpio_set_value(unsigned gpio, int value) {