Merge git://git.denx.de/u-boot-sunxi
This commit is contained in:
commit
748277c415
1
Makefile
1
Makefile
@ -1053,6 +1053,7 @@ u-boot-dtb.img u-boot.img u-boot.kwb u-boot.pbl u-boot-ivt.img: \
|
|||||||
|
|
||||||
u-boot.itb: u-boot-nodtb.bin dts/dt.dtb $(U_BOOT_ITS) FORCE
|
u-boot.itb: u-boot-nodtb.bin dts/dt.dtb $(U_BOOT_ITS) FORCE
|
||||||
$(call if_changed,mkfitimage)
|
$(call if_changed,mkfitimage)
|
||||||
|
$(BOARD_SIZE_CHECK)
|
||||||
|
|
||||||
u-boot-spl.kwb: u-boot.img spl/u-boot-spl.bin FORCE
|
u-boot-spl.kwb: u-boot.img spl/u-boot-spl.bin FORCE
|
||||||
$(call if_changed,mkimage)
|
$(call if_changed,mkimage)
|
||||||
|
@ -746,6 +746,7 @@ config ARCH_SUNXI
|
|||||||
select USE_TINY_PRINTF
|
select USE_TINY_PRINTF
|
||||||
imply CMD_GPT
|
imply CMD_GPT
|
||||||
imply FAT_WRITE
|
imply FAT_WRITE
|
||||||
|
imply OF_LIBFDT_OVERLAY
|
||||||
imply PRE_CONSOLE_BUFFER
|
imply PRE_CONSOLE_BUFFER
|
||||||
imply SPL_GPIO_SUPPORT
|
imply SPL_GPIO_SUPPORT
|
||||||
imply SPL_LIBCOMMON_SUPPORT
|
imply SPL_LIBCOMMON_SUPPORT
|
||||||
|
@ -397,6 +397,7 @@ menu "Memory commands"
|
|||||||
config CMD_CRC32
|
config CMD_CRC32
|
||||||
bool "crc32"
|
bool "crc32"
|
||||||
select HASH
|
select HASH
|
||||||
|
default n if ARCH_SUNXI
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Compute CRC32.
|
Compute CRC32.
|
||||||
@ -538,6 +539,7 @@ config CMD_LZMADEC
|
|||||||
|
|
||||||
config CMD_UNZIP
|
config CMD_UNZIP
|
||||||
bool "unzip"
|
bool "unzip"
|
||||||
|
default n if ARCH_SUNXI
|
||||||
default y if CMD_BOOTI
|
default y if CMD_BOOTI
|
||||||
help
|
help
|
||||||
Uncompress a zip-compressed memory region.
|
Uncompress a zip-compressed memory region.
|
||||||
@ -746,12 +748,14 @@ config CMD_I2C
|
|||||||
|
|
||||||
config CMD_LOADB
|
config CMD_LOADB
|
||||||
bool "loadb"
|
bool "loadb"
|
||||||
|
default n if ARCH_SUNXI
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Load a binary file over serial line.
|
Load a binary file over serial line.
|
||||||
|
|
||||||
config CMD_LOADS
|
config CMD_LOADS
|
||||||
bool "loads"
|
bool "loads"
|
||||||
|
default n if ARCH_SUNXI
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Load an S-Record file over serial line
|
Load an S-Record file over serial line
|
||||||
@ -1134,6 +1138,7 @@ config CMD_GETTIME
|
|||||||
# TODO: rename to CMD_SLEEP
|
# TODO: rename to CMD_SLEEP
|
||||||
config CMD_MISC
|
config CMD_MISC
|
||||||
bool "sleep"
|
bool "sleep"
|
||||||
|
default n if ARCH_SUNXI
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Delay execution for some time
|
Delay execution for some time
|
||||||
|
@ -20,4 +20,3 @@ CONFIG_AXP_ALDO4_VOLT=3300
|
|||||||
CONFIG_USB_EHCI_HCD=y
|
CONFIG_USB_EHCI_HCD=y
|
||||||
CONFIG_USB_MUSB_GADGET=y
|
CONFIG_USB_MUSB_GADGET=y
|
||||||
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
||||||
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
||||||
|
@ -25,4 +25,3 @@ CONFIG_AXP_ALDO4_VOLT=3300
|
|||||||
CONFIG_USB_EHCI_HCD=y
|
CONFIG_USB_EHCI_HCD=y
|
||||||
CONFIG_USB_MUSB_GADGET=y
|
CONFIG_USB_MUSB_GADGET=y
|
||||||
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
|
||||||
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
||||||
|
@ -2,6 +2,7 @@ menu "DFU support"
|
|||||||
|
|
||||||
config USB_FUNCTION_DFU
|
config USB_FUNCTION_DFU
|
||||||
bool
|
bool
|
||||||
|
select HASH
|
||||||
|
|
||||||
if CMD_DFU
|
if CMD_DFU
|
||||||
config DFU_TFTP
|
config DFU_TFTP
|
||||||
|
@ -345,6 +345,7 @@ static const struct udevice_id sunxi_gpio_ids[] = {
|
|||||||
ID("allwinner,sun4i-a10-pinctrl", a_all),
|
ID("allwinner,sun4i-a10-pinctrl", a_all),
|
||||||
ID("allwinner,sun5i-a10s-pinctrl", a_all),
|
ID("allwinner,sun5i-a10s-pinctrl", a_all),
|
||||||
ID("allwinner,sun5i-a13-pinctrl", a_all),
|
ID("allwinner,sun5i-a13-pinctrl", a_all),
|
||||||
|
ID("allwinner,sun50i-h5-pinctrl", a_all),
|
||||||
ID("allwinner,sun6i-a31-pinctrl", a_all),
|
ID("allwinner,sun6i-a31-pinctrl", a_all),
|
||||||
ID("allwinner,sun6i-a31s-pinctrl", a_all),
|
ID("allwinner,sun6i-a31s-pinctrl", a_all),
|
||||||
ID("allwinner,sun7i-a20-pinctrl", a_all),
|
ID("allwinner,sun7i-a20-pinctrl", a_all),
|
||||||
|
@ -38,6 +38,7 @@ config BACKLIGHT_GPIO
|
|||||||
config VIDEO_BPP8
|
config VIDEO_BPP8
|
||||||
bool "Support 8-bit-per-pixel displays"
|
bool "Support 8-bit-per-pixel displays"
|
||||||
depends on DM_VIDEO
|
depends on DM_VIDEO
|
||||||
|
default n if ARCH_SUNXI
|
||||||
default y if DM_VIDEO
|
default y if DM_VIDEO
|
||||||
help
|
help
|
||||||
Support drawing text and bitmaps onto a 8-bit-per-pixel display.
|
Support drawing text and bitmaps onto a 8-bit-per-pixel display.
|
||||||
@ -48,6 +49,7 @@ config VIDEO_BPP8
|
|||||||
config VIDEO_BPP16
|
config VIDEO_BPP16
|
||||||
bool "Support 16-bit-per-pixel displays"
|
bool "Support 16-bit-per-pixel displays"
|
||||||
depends on DM_VIDEO
|
depends on DM_VIDEO
|
||||||
|
default n if ARCH_SUNXI
|
||||||
default y if DM_VIDEO
|
default y if DM_VIDEO
|
||||||
help
|
help
|
||||||
Support drawing text and bitmaps onto a 16-bit-per-pixel display.
|
Support drawing text and bitmaps onto a 16-bit-per-pixel display.
|
||||||
|
@ -625,6 +625,8 @@ static void sunxi_ctfb_mode_to_display_timing(const struct ctfb_res_modes *mode,
|
|||||||
timing->vback_porch.typ = mode->upper_margin;
|
timing->vback_porch.typ = mode->upper_margin;
|
||||||
timing->vsync_len.typ = mode->vsync_len;
|
timing->vsync_len.typ = mode->vsync_len;
|
||||||
|
|
||||||
|
timing->flags = 0;
|
||||||
|
|
||||||
if (mode->sync & FB_SYNC_HOR_HIGH_ACT)
|
if (mode->sync & FB_SYNC_HOR_HIGH_ACT)
|
||||||
timing->flags |= DISPLAY_FLAGS_HSYNC_HIGH;
|
timing->flags |= DISPLAY_FLAGS_HSYNC_HIGH;
|
||||||
else
|
else
|
||||||
|
@ -147,6 +147,16 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_ENV_IS_IN_MMC)
|
#if defined(CONFIG_ENV_IS_IN_MMC)
|
||||||
|
|
||||||
|
#ifdef CONFIG_ARM64
|
||||||
|
/*
|
||||||
|
* This is actually (CONFIG_ENV_OFFSET -
|
||||||
|
* (CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)), but the value will be used
|
||||||
|
* directly in a makefile, without the preprocessor expansion.
|
||||||
|
*/
|
||||||
|
#define CONFIG_BOARD_SIZE_LIMIT 0x7e000
|
||||||
|
#endif
|
||||||
|
|
||||||
#if CONFIG_MMC_SUNXI_SLOT_EXTRA != -1
|
#if CONFIG_MMC_SUNXI_SLOT_EXTRA != -1
|
||||||
/* If we have two devices (most likely eMMC + MMC), favour the eMMC */
|
/* If we have two devices (most likely eMMC + MMC), favour the eMMC */
|
||||||
#define CONFIG_SYS_MMC_ENV_DEV 1
|
#define CONFIG_SYS_MMC_ENV_DEV 1
|
||||||
|
@ -57,6 +57,7 @@ config PANIC_HANG
|
|||||||
|
|
||||||
config REGEX
|
config REGEX
|
||||||
bool "Enable regular expression support"
|
bool "Enable regular expression support"
|
||||||
|
default n if ARCH_SUNXI
|
||||||
default y if NET
|
default y if NET
|
||||||
help
|
help
|
||||||
If this variable is defined, U-Boot is linked against the
|
If this variable is defined, U-Boot is linked against the
|
||||||
|
Loading…
Reference in New Issue
Block a user