mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Marek Szyprowski](/assets/img/avatar_default.png)
Odroid HC1 board is based on Odroid XU4 board, but it has no HDMI, no eMMC, no build-in USB3.0 hub, no extension port pins, and no GPIO button. USB3.0 ports are used for build-in JMicron USB to SATA bridge and Gigabit R8152 ethernet chips. HC1 uses only passive cooling. This patch also updates Odroid's ADCmax array and reduces ADC tolerance to 1% to ensure that XU4 and HC1 revisions are properly detected. I've tested this with XU3, XU3-lite, XU4 and HC1 boards. In case of my test boards I got following values from ADC register: 372, 370, 1281 and 1313. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Tested-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_EXYNOS=y
|
|
CONFIG_ARCH_EXYNOS5=y
|
|
CONFIG_IDENT_STRING=" for ODROID-XU3/XU4/HC1"
|
|
CONFIG_DEFAULT_DEVICE_TREE="exynos5422-odroidxu3"
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_FIT=y
|
|
CONFIG_FIT_BEST_MATCH=y
|
|
CONFIG_SILENT_CONSOLE=y
|
|
CONFIG_CONSOLE_MUX=y
|
|
CONFIG_SYS_PROMPT="ODROID-XU3 # "
|
|
CONFIG_CMD_THOR_DOWNLOAD=y
|
|
CONFIG_CMD_DFU=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_CMD_USB_MASS_STORAGE=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_CMD_PMIC=y
|
|
CONFIG_CMD_EXT4_WRITE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_ADC=y
|
|
CONFIG_ADC_EXYNOS=y
|
|
CONFIG_DFU_MMC=y
|
|
CONFIG_MMC_DW=y
|
|
CONFIG_MMC_SDHCI=y
|
|
CONFIG_MMC_SDHCI_S5P=y
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_SMC911X=y
|
|
CONFIG_SMC911X_BASE=0x5000000
|
|
CONFIG_DM_PMIC=y
|
|
CONFIG_PMIC_S2MPS11=y
|
|
CONFIG_DM_REGULATOR=y
|
|
CONFIG_USB=y
|
|
CONFIG_DM_USB=y
|
|
CONFIG_USB_XHCI_HCD=y
|
|
CONFIG_USB_XHCI_DWC3=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_DWC3=y
|
|
CONFIG_USB_DWC3_GADGET=y
|
|
CONFIG_USB_DWC3_PHY_SAMSUNG=y
|
|
CONFIG_USB_STORAGE=y
|
|
CONFIG_USB_GADGET=y
|
|
CONFIG_USB_GADGET_MANUFACTURER="Samsung"
|
|
CONFIG_USB_GADGET_VENDOR_NUM=0x04e8
|
|
CONFIG_USB_GADGET_PRODUCT_NUM=0x6601
|
|
CONFIG_USB_GADGET_DOWNLOAD=y
|
|
CONFIG_USB_HOST_ETHER=y
|
|
CONFIG_VIDEO_BRIDGE=y
|
|
CONFIG_ERRNO_STR=y
|