mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-03 11:23:22 +09:00
![Stefan Mavrodiev](/assets/img/avatar_default.png)
CONFIG_PHY_ADDR is used for old-style configuration. This makes impossible changing the PHY address, if multiple boards share a same config header file (for example include/configs/sunxi-common.h). Moving this to Kconfig helps overcoming this issue. It's defined as entry inside PHYLIB section. After the implemention, moveconfig was run. The issues are: - edb9315a - CONFIG_PHYLIB is not enabled. Entry is deleted. - ds414 - CONFIG_PHYLIB is in incompatible format: { 0x1, 0x0 }. This entry is also deleted. - devkit3250 - The PHY_ADDR is in hex format (0x1F). Manually CONFIG_PHY_ADDR=31 is added in the defconfig. After the changes the suspicious defconfigs passes building. Signed-off-by: Stefan Mavrodiev <stefan@olimex.com> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> [jagan: rebased on master] Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
36 lines
901 B
Plaintext
36 lines
901 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_MESON=y
|
|
CONFIG_SYS_TEXT_BASE=0x01000000
|
|
CONFIG_MESON_GXL=y
|
|
CONFIG_TARGET_KHADAS_VIM=y
|
|
CONFIG_IDENT_STRING=" khadas-vim"
|
|
CONFIG_DEFAULT_DEVICE_TREE="meson-gxl-s905x-khadas-vim"
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
# CONFIG_CMD_BDI is not set
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_GPIO=y
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_MMC=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_MESON_GX=y
|
|
CONFIG_PHY_ADDR=8
|
|
CONFIG_PHY_MESON_GXL=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_MESON_GXL=y
|
|
CONFIG_DEBUG_UART_MESON=y
|
|
CONFIG_DEBUG_UART_BASE=0xc81004c0
|
|
CONFIG_DEBUG_UART_CLOCK=24000000
|
|
CONFIG_DEBUG_UART_ANNOUNCE=y
|
|
CONFIG_DEBUG_UART_SKIP_INIT=y
|
|
CONFIG_MESON_SERIAL=y
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|