Skip to content

Commit

Permalink
fix sfprobe; rm extra gpio settings, gpio env names
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed Jan 8, 2024
1 parent 8e5b41e commit a98e58d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 19 deletions.
14 changes: 7 additions & 7 deletions include/configs/isvp_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,18 @@
"bootm ${baseaddr};"
#elif defined(CONFIG_SFC_NOR)
#define CONFIG_BOOTCOMMAND \
"setenv setargs setenv bootargs ${bootargs};run setargs;" \
"sf probe;sf read ${baseaddr} 0x50000 \\${kern_len};" \
"sf probe;setenv setargs setenv bootargs ${bootargs};run setargs;" \
"sf read ${baseaddr} 0x50000 \\${kern_len};" \
"bootm ${baseaddr};"
#elif defined(CONFIG_SFC_NAND)
#define CONFIG_BOOTCOMMAND \
"setenv setargs setenv bootargs ${bootargs};run setargs;" \
"sf probe;sfcnand read 0x50000 0x200000 ${baseaddr};" \
"sf probe;setenv setargs setenv bootargs ${bootargs};run setargs;" \
"sfcnand read 0x50000 0x200000 ${baseaddr};" \
"bootm ${baseaddr};"
#else
#define CONFIG_BOOTCOMMAND \
"setenv setargs setenv bootargs ${bootargs};run setargs;" \
"sf probe;sf read ${baseaddr} 0x50000 0x250000;" \
"sf probe;setenv setargs setenv bootargs ${bootargs};run setargs;" \
"sf read ${baseaddr} 0x50000 0x250000;" \
"bootm ${baseaddr};"
#endif

Expand All @@ -156,6 +156,6 @@ CONFIG_GPIO_IRCUT_SETTINGS
/* IRCUT Default GPIOs */

#define CONFIG_GPIO_IRCUT_SETTINGS \
"gpio_dev_ircut=25o 26o 52o 53o 49o 50o\0"
"gpio_default_ircut=25o 26o 52o 53o 49o 50o\0"

#endif /*__CONFIG_ISVP_COMMON__*/
5 changes: 2 additions & 3 deletions include/configs/isvp_t10.h
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,6 @@
#include "isvp_common.h"

#define CONFIG_GPIO_SETTINGS \
"gpio_dev=47O\0" \
"gpio_dev_net=43O 48o 43o\0"

""

#endif /*__CONFIG_ISVP_T10_H__*/
4 changes: 2 additions & 2 deletions include/configs/isvp_t20.h
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,8 @@
*/

#define CONFIG_GPIO_SETTINGS \
"gpio_dev=47O\0" \
"gpio_dev_net=43O 48o 43o\0"
"gpio_default=47O\0" \
"gpio_default_net=43O 48o 43o\0"

#include "isvp_common.h"

Expand Down
2 changes: 0 additions & 2 deletions include/configs/isvp_t21.h
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,4 @@

#include "isvp_common.h"

#define CONFIG_GPIO_SETTINGS

#endif /*__CONFIG_ISVP_T20_H__*/
4 changes: 1 addition & 3 deletions include/configs/isvp_t30.h
Original file line number Diff line number Diff line change
Expand Up @@ -498,10 +498,8 @@
Platform Default GPIOs:
*/
#define CONFIG_GPIO_SETTINGS \
""
""

#include "isvp_common.h"

#define CONFIG_GPIO_SETTINGS

#endif /*__CONFIG_ISVP_T30_H__*/
4 changes: 2 additions & 2 deletions include/configs/isvp_t31.h
Original file line number Diff line number Diff line change
Expand Up @@ -735,8 +735,8 @@
*/

#define CONFIG_GPIO_SETTINGS \
"gpio_dev=62O\0" \
"gpio_dev_net=61o 48o\0"
"gpio_default=62O\0" \
"gpio_default_net=61o 48o\0"

#include "isvp_common.h"

Expand Down

0 comments on commit a98e58d

Please sign in to comment.