[U-Boot] [PATCH 2/3] am335x-bbw: Add am335x_bone_defconfig using CONFIG_DM
Mugunthan V N
mugunthanvnm at ti.com
Mon Feb 29 14:58:28 CET 2016
Add config file for AM335x Beagle Bone White and enable DM,
DM_GPIO, DM_SERIAL, DM_ETH and DM_MMC.
Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
---
arch/arm/dts/Makefile | 4 +++-
configs/am335x_bone_defconfig | 27 +++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
create mode 100644 configs/am335x_bone_defconfig
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 578038b..a0a3e2e 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -79,7 +79,9 @@ dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb \
zynq-zc770-xm013.dtb
dtb-$(CONFIG_ARCH_ZYNQMP) += \
zynqmp-ep108.dtb
-dtb-$(CONFIG_AM33XX) += am335x-boneblack.dtb am335x-evm.dtb
+dtb-$(CONFIG_AM33XX) += am335x-boneblack.dtb \
+ am335x-evm.dtb \
+ am335x-bone.dtb
dtb-$(CONFIG_AM43XX) += am437x-gp-evm.dtb am437x-sk-evm.dtb
dtb-$(CONFIG_THUNDERX) += thunderx-88xx.dtb
diff --git a/configs/am335x_bone_defconfig b/configs/am335x_bone_defconfig
new file mode 100644
index 0000000..0223510
--- /dev/null
+++ b/configs/am335x_bone_defconfig
@@ -0,0 +1,27 @@
+CONFIG_ARM=y
+CONFIG_TARGET_AM335X_EVM=y
+CONFIG_SPL_STACK_R_ADDR=0x82000000
+CONFIG_DEFAULT_DEVICE_TREE="am335x-bone"
+CONFIG_SPL=y
+CONFIG_SPL_STACK_R=y
+CONFIG_FIT=y
+CONFIG_FIT_VERBOSE=y
+CONFIG_FIT_SIGNATURE=y
+CONFIG_SYS_EXTRA_OPTIONS="ENV_IS_IN_FAT"
+CONFIG_AUTOBOOT_KEYED=y
+CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
+CONFIG_AUTOBOOT_DELAY_STR="d"
+CONFIG_AUTOBOOT_STOP_STR=" "
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_GPIO=y
+# CONFIG_CMD_SETEXPR is not set
+CONFIG_OF_CONTROL=y
+CONFIG_DM_MMC=y
+CONFIG_DM_GPIO=y
+CONFIG_SPI_FLASH=y
+CONFIG_SPI_FLASH_WINBOND=y
+CONFIG_DM_ETH=y
+CONFIG_SYS_NS16550=y
+CONFIG_TIMER=y
+CONFIG_OMAP_TIMER=y
--
2.7.2.333.g70bd996
More information about the U-Boot
mailing list