f41d723b9f
The Amlogic SoCs have a registers containing the die revision and packaging type to determine the SoC family and package marketing name like S905X for the GXL SoC Family. This code is taken from the Linux meson-gx-socinfo driver and adapted to U-Boot printing. Signed-off-by: Julien Masson <jmasson@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> [narmstrong: also updated new p200/p201 defconfigs]
42 lines
1002 B
Plaintext
42 lines
1002 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_MESON=y
|
|
CONFIG_SYS_TEXT_BASE=0x01000000
|
|
CONFIG_DEBUG_UART_BASE=0xc81004c0
|
|
CONFIG_DEBUG_UART_CLOCK=24000000
|
|
CONFIG_IDENT_STRING=" p201"
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
CONFIG_MISC_INIT_R=y
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
CONFIG_DISPLAY_BOARDINFO=y
|
|
# CONFIG_CMD_BDI is not set
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_MMC=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_REGULATOR=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="meson-gxbb-p201"
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_MESON=y
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_MMC_MESON_GX=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_MESON_GXBB=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_DM_REGULATOR_FIXED=y
|
|
CONFIG_DM_RESET=y
|
|
CONFIG_DEBUG_UART_MESON=y
|
|
CONFIG_DEBUG_UART_ANNOUNCE=y
|
|
CONFIG_DEBUG_UART_SKIP_INIT=y
|
|
CONFIG_MESON_SERIAL=y
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
CONFIG_SYS_BOARD="p201"
|