Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xiaomi MJSXJ03HL MMC & MAC fix #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion include/configs/isvp_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,10 @@
#define CONFIG_GATEWAYIP 192.168.1.1
#define CONFIG_SERVERIP 192.168.1.254
#define CONFIG_IPADDR 192.168.1.10
#if !defined(CONFIG_XIAOMI_SPL)
#define CONFIG_RANDOM_MACADDR

#endif

#define CONFIG_AUTO_UPDATE

/**
Expand Down
9 changes: 8 additions & 1 deletion include/configs/isvp_t31.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,16 @@
* 25 and 26 shall be set to only be set to input if
* GMAC doesn't exist or is disabled.
*/

#if defined(CONFIG_XIAOMI_SPL)
#define CONFIG_GPIO_SETTINGS \
"gpio_button=51i\0" \
"gpio_mmc_power=54o\0" \
"gpio_default=25ID 26IDU\0" \
"gpio_default_net=39o\0"
#else
#define CONFIG_GPIO_SETTINGS \
"gpio_default=25ID 26IDU\0" \
"gpio_default_net=39o\0"
#endif

#endif /*__CONFIG_ISVP_T31_H__*/