@ -6,7 +6,7 @@
# ifndef __CONFIG_RK3036_COMMON_H
# ifndef __CONFIG_RK3036_COMMON_H
# define __CONFIG_RK3036_COMMON_H
# define __CONFIG_RK3036_COMMON_H
# define CONFIG_SYS_CACHELINE_SIZE 32
# define CONFIG_SYS_CACHELINE_SIZE 64
# include <asm/arch/hardware.h>
# include <asm/arch/hardware.h>
@ -60,6 +60,25 @@
# define CONFIG_SF_DEFAULT_SPEED 20000000
# define CONFIG_SF_DEFAULT_SPEED 20000000
# ifndef CONFIG_SPL_BUILD
# ifndef CONFIG_SPL_BUILD
/* usb otg */
# define CONFIG_USB_GADGET
# define CONFIG_USB_GADGET_DUALSPEED
# define CONFIG_USB_GADGET_DWC2_OTG
# define CONFIG_USB_GADGET_VBUS_DRAW 0
/* fastboot */
# define CONFIG_CMD_FASTBOOT
# define CONFIG_USB_FUNCTION_FASTBOOT
# define CONFIG_FASTBOOT_FLASH
# define CONFIG_FASTBOOT_FLASH_MMC_DEV 0
# define CONFIG_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR
# define CONFIG_FASTBOOT_BUF_SIZE 0x08000000
# define CONFIG_USB_GADGET_DOWNLOAD
# define CONFIG_G_DNL_MANUFACTURER "Rockchip"
# define CONFIG_G_DNL_VENDOR_NUM 0x2207
# define CONFIG_G_DNL_PRODUCT_NUM 0x310a
# include <config_distro_defaults.h>
# include <config_distro_defaults.h>
# define ENV_MEM_LAYOUT_SETTINGS \
# define ENV_MEM_LAYOUT_SETTINGS \