mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
debb07bf10
To squash that nasty warning message and make better use of the newly gained OF_CONTROL feature, let's convert the calxedagmac driver to the "new" driver model. The conversion is pretty straight forward, mostly just adjusting the use of the involved data structures. The only actual change is the required split of the receive routine into a receive and free_pkt part. Also this allows us to get rid of the hardcoded platform information and explicit init calls. This also uses the opportunity to wrap the code decoding the MMIO register base address, to make it safe for using PHYS_64BIT later. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
30 lines
818 B
Text
30 lines
818 B
Text
CONFIG_ARM=y
|
|
CONFIG_SYS_DCACHE_OFF=y
|
|
CONFIG_SYS_THUMB_BUILD=y
|
|
CONFIG_ARCH_HIGHBANK=y
|
|
CONFIG_SYS_TEXT_BASE=0x00008000
|
|
CONFIG_NR_DRAM_BANKS=0
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_SYS_BOOTCOUNT_ADDR=0xfff3cf0c
|
|
CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_FIT=y
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
CONFIG_AUTOBOOT_KEYED=y
|
|
CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds...\nPress <s> to stop or <d> to delay\n"
|
|
CONFIG_AUTOBOOT_KEYED_CTRLC=y
|
|
# CONFIG_USE_BOOTCOMMAND is not set
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_MISC_INIT_R=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_ENV_IS_IN_NVRAM=y
|
|
CONFIG_ENV_ADDR=0xFFF88000
|
|
CONFIG_SCSI_AHCI=y
|
|
CONFIG_BOOTCOUNT_LIMIT=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_SCSI=y
|
|
CONFIG_CONS_INDEX=0
|
|
CONFIG_OF_LIBFDT=y
|
|
CONFIG_OF_BOARD=y
|
|
CONFIG_CALXEDA_XGMAC=y
|