mirror of
https://xff.cz/git/u-boot/
synced 2025-10-27 00:24:09 +01:00
Merge patch series "configs: apple: Switch to standard boot + small adjustments"
Janne Grunau <j@jannau.net> says: This series contains a few misc config changes for Apple silicon systems: - switch from the deprecated distro boot scripts to standard boot - allows EFI console resizing based on the video console size - enables 16x32 bitmap fonts as Apple devices come with high DPI displays - enables 64-bit LBA addressing
This commit is contained in:
@@ -1022,7 +1022,7 @@ config ARCH_APPLE
|
|||||||
select USB
|
select USB
|
||||||
imply CMD_DM
|
imply CMD_DM
|
||||||
imply CMD_GPT
|
imply CMD_GPT
|
||||||
imply DISTRO_DEFAULTS
|
imply BOOTSTD_FULL
|
||||||
imply OF_HAS_PRIOR_STAGE
|
imply OF_HAS_PRIOR_STAGE
|
||||||
|
|
||||||
config ARCH_OWL
|
config ARCH_OWL
|
||||||
|
|||||||
@@ -8,8 +8,11 @@ CONFIG_SYS_CBSIZE=256
|
|||||||
CONFIG_SYS_PBSIZE=276
|
CONFIG_SYS_PBSIZE=276
|
||||||
# CONFIG_DISPLAY_CPUINFO is not set
|
# CONFIG_DISPLAY_CPUINFO is not set
|
||||||
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
CONFIG_DISPLAY_BOARDINFO_LATE=y
|
||||||
|
CONFIG_BOOTCOMMAND="bootflow scan -b"
|
||||||
CONFIG_BOARD_LATE_INIT=y
|
CONFIG_BOARD_LATE_INIT=y
|
||||||
|
CONFIG_CMD_SELECT_FONT=y
|
||||||
# CONFIG_NET is not set
|
# CONFIG_NET is not set
|
||||||
|
CONFIG_SYS_64BIT_LBA=y
|
||||||
CONFIG_APPLE_SPI_KEYB=y
|
CONFIG_APPLE_SPI_KEYB=y
|
||||||
# CONFIG_MMC is not set
|
# CONFIG_MMC is not set
|
||||||
CONFIG_NVME_APPLE=y
|
CONFIG_NVME_APPLE=y
|
||||||
@@ -18,6 +21,7 @@ CONFIG_USB_XHCI_DWC3=y
|
|||||||
CONFIG_USB_XHCI_PCI=y
|
CONFIG_USB_XHCI_PCI=y
|
||||||
CONFIG_USB_DWC3=y
|
CONFIG_USB_DWC3=y
|
||||||
CONFIG_USB_KEYBOARD=y
|
CONFIG_USB_KEYBOARD=y
|
||||||
|
CONFIG_VIDEO_FONT_16X32=y
|
||||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||||
CONFIG_NO_FB_CLEAR=y
|
CONFIG_NO_FB_CLEAR=y
|
||||||
CONFIG_VIDEO_SIMPLE=y
|
CONFIG_VIDEO_SIMPLE=y
|
||||||
|
|||||||
@@ -6,29 +6,13 @@
|
|||||||
/* Environment */
|
/* Environment */
|
||||||
#define ENV_DEVICE_SETTINGS \
|
#define ENV_DEVICE_SETTINGS \
|
||||||
"stdin=serial,usbkbd,spikbd\0" \
|
"stdin=serial,usbkbd,spikbd\0" \
|
||||||
"stdout=serial,vidconsole\0" \
|
"stdout=vidconsole,serial\0" \
|
||||||
"stderr=serial,vidconsole\0"
|
"stderr=vidconsole,serial\0"
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_CMD_NVME)
|
#define BOOT_TARGETS "nvme usb"
|
||||||
#define BOOT_TARGET_NVME(func) func(NVME, nvme, 0)
|
|
||||||
#else
|
|
||||||
#define BOOT_TARGET_NVME(func)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_CMD_USB)
|
|
||||||
#define BOOT_TARGET_USB(func) func(USB, usb, 0)
|
|
||||||
#else
|
|
||||||
#define BOOT_TARGET_USB(func)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define BOOT_TARGET_DEVICES(func) \
|
|
||||||
BOOT_TARGET_NVME(func) \
|
|
||||||
BOOT_TARGET_USB(func)
|
|
||||||
|
|
||||||
#include <config_distro_bootcmd.h>
|
|
||||||
|
|
||||||
#define CFG_EXTRA_ENV_SETTINGS \
|
#define CFG_EXTRA_ENV_SETTINGS \
|
||||||
ENV_DEVICE_SETTINGS \
|
ENV_DEVICE_SETTINGS \
|
||||||
BOOTENV
|
"boot_targets=" BOOT_TARGETS "\0"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user