mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 23:47:24 +00:00
26f981f295
Asking if the alias we found actually points at the device tree node we passed in (in the guise of its offset from blob) can be done simply by asking if the fdt_path_offset() of the alias' path is identical to offset. In fact, the current method suffers from the possibility of false negatives: dtc does not necessarily emit a phandle property for a node just because it is referenced in /aliases; it only emits a phandle property for a node if it is referenced in <angle brackets> somewhere. So if both the node we passed in and the alias node we're considering don't have phandles, fdt_get_phandle() returns 0 for both. Since the proper check is so simple, there's no reason to hide that behind a config option (and if one really wanted that, it should be called something else because there's no need to involve phandle in the check). Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Acked-by: Aswath Govindraju <a-govindraju@ti.com>
82 lines
2 KiB
Text
82 lines
2 KiB
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_AT91=y
|
|
CONFIG_SYS_TEXT_BASE=0x66f00000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x11000
|
|
CONFIG_TARGET_SAMA7G5EK=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_ENV_SIZE=0x4000
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="at91-sama7g5ek"
|
|
CONFIG_DEBUG_UART_BOARD_INIT=y
|
|
CONFIG_DEBUG_UART_BASE=0xe1824200
|
|
CONFIG_DEBUG_UART_CLOCK=200000000
|
|
CONFIG_SYS_LOAD_ADDR=0x62000000
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_SYS_MEMTEST_START=0x60000000
|
|
CONFIG_SYS_MEMTEST_END=0x70000000
|
|
CONFIG_ENV_VARS_UBOOT_CONFIG=y
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x60014ef0
|
|
CONFIG_FIT=y
|
|
CONFIG_SD_BOOT=y
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait"
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="fatload mmc 1:1 0x61000000 at91-sama7g5ek.dtb; fatload mmc 1:1 0x62000000 zImage; bootz 0x62000000 - 0x61000000"
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_CBSIZE=256
|
|
CONFIG_SYS_PBSIZE=276
|
|
CONFIG_CMD_BOOTZ=y
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_MD5SUM=y
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_CMD_STRINGS=y
|
|
CONFIG_CMD_DM=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_I2C=y
|
|
# CONFIG_CMD_LOADS is not set
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_HASH=y
|
|
CONFIG_HASH_VERIFY=y
|
|
CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_IS_IN_FAT=y
|
|
CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_ARP_TIMEOUT=200
|
|
CONFIG_NET_RETRY_COUNT=50
|
|
CONFIG_DM=y
|
|
CONFIG_CLK=y
|
|
CONFIG_CLK_CCF=y
|
|
CONFIG_CLK_AT91=y
|
|
CONFIG_AT91_UTMI=y
|
|
CONFIG_AT91_GENERIC_CLK=y
|
|
CONFIG_AT91_SAM9X60_PLL=y
|
|
CONFIG_CPU=y
|
|
CONFIG_ATMEL_PIO4=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_AT91=y
|
|
CONFIG_I2C_EEPROM=y
|
|
CONFIG_MICROCHIP_FLEXCOM=y
|
|
CONFIG_MMC_SDHCI=y
|
|
CONFIG_MMC_SDHCI_ATMEL=y
|
|
CONFIG_PHY_MICREL=y
|
|
CONFIG_PHY_MICREL_KSZ90X1=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_MACB=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_AT91PIO4=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DEBUG_UART_ANNOUNCE=y
|
|
CONFIG_ATMEL_USART=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_SYSRESET_AT91=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_MCHP_PIT64B_TIMER=y
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
# CONFIG_EFI_LOADER_HII is not set
|