summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2016-06-09 18:44:28 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2016-06-10 14:32:28 +0200
commit17f2bd90879d4da74fb9c629bd89a5e61cde982e (patch)
tree9e3f19a4c64ce4ea5623612f1ca9743889f1d4d1 /configs
parented9117bec1a58e154ac8d7afbb4de706e5b00ea7 (diff)
downloadDistroKit-17f2bd90879d4da74fb9c629bd89a5e61cde982e.tar.gz
DistroKit-17f2bd90879d4da74fb9c629bd89a5e61cde982e.tar.xz
platform rpi2: remove obsolete platform
Support for the rpi2 is now included in platform-beaglebone. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs')
-rw-r--r--configs/platform-rpi2/barebox-defaultenv/boot/sd11
-rw-r--r--configs/platform-rpi2/barebox-defaultenv/config19
-rw-r--r--configs/platform-rpi2/barebox.config507
-rw-r--r--configs/platform-rpi2/config.txt14
-rw-r--r--configs/platform-rpi2/config/images/boot-vfat.config11
-rw-r--r--configs/platform-rpi2/firmware/LICENCE.broadcom30
-rw-r--r--configs/platform-rpi2/firmware/bootcode.binbin17900 -> 0 bytes
-rw-r--r--configs/platform-rpi2/firmware/fixup.datbin6450 -> 0 bytes
-rw-r--r--configs/platform-rpi2/firmware/fixup_cd.datbin2472 -> 0 bytes
-rw-r--r--configs/platform-rpi2/firmware/fixup_db.datbin9692 -> 0 bytes
-rw-r--r--configs/platform-rpi2/firmware/fixup_x.datbin9696 -> 0 bytes
-rw-r--r--configs/platform-rpi2/firmware/start.elfbin2731832 -> 0 bytes
-rw-r--r--configs/platform-rpi2/firmware/start_cd.elfbin605272 -> 0 bytes
-rw-r--r--configs/platform-rpi2/firmware/start_db.elfbin4878728 -> 0 bytes
-rw-r--r--configs/platform-rpi2/firmware/start_x.elfbin3831848 -> 0 bytes
-rw-r--r--configs/platform-rpi2/kernelconfig2818
-rw-r--r--configs/platform-rpi2/patches/barebox-2015.12.0/0001-memtest-fix-missing-arguments-in-help-string.patch28
-rw-r--r--configs/platform-rpi2/patches/barebox-2015.12.0/0002-led-add-missing-includes.patch31
-rw-r--r--configs/platform-rpi2/patches/barebox-2015.12.0/0003-arm-bcm2835-fix-indentation.patch28
-rw-r--r--configs/platform-rpi2/patches/barebox-2015.12.0/0004-bcm2835-introduce-mach-bcm283x.patch410
-rw-r--r--configs/platform-rpi2/patches/barebox-2015.12.0/0005-bcm283x-mbox-align-to-cachesize.patch36
-rw-r--r--configs/platform-rpi2/patches/barebox-2015.12.0/0006-rpi-sync-revision-detection-with-u-boot.patch43
-rw-r--r--configs/platform-rpi2/patches/barebox-2015.12.0/0007-arm-bcm283x-add-rpi2-support.patch909
-rw-r--r--configs/platform-rpi2/patches/barebox-2015.12.0/series7
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0001-irq-bcm2836-Fix-initialization-of-the-LOCAL_IRQ_CNT-.patch66
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0002-irq-bcm2836-Add-SMP-support-for-the-2836.patch75
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0003-dt-bindings-Add-root-properties-for-Raspberry-Pi-2.patch25
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0004-ARM-bcm2835-Split-the-DT-for-peripherals-from-the-DT.patch444
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0005-ARM-bcm2835-Move-the-CPU-peripheral-include-out-of-c.patch68
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0006-ARM-bcm2835-Add-devicetree-for-bcm2836-and-Raspberry.patch141
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0007-ARM-bcm2835-Add-a-compat-string-for-bcm2836-machine-.patch30
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0008-ARM-bcm2835-Add-Kconfig-support-for-bcm2836.patch94
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0009-irqchip-bcm2836-tolerate-IRQs-while-no-flag-is-set-i.patch34
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0010-irqchip-bcm2836-make-code-more-readable.patch28
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0011-ARM-bcm2835-Define-two-new-packets-from-the-latest-f.patch32
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0012-ARM-bcm2835-add-rpi-power-domain-driver.patch374
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0013-dt-bindings-add-rpi-power-domain-driver-bindings.patch69
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/0014-ARM-bcm2835-Add-the-Raspberry-Pi-power-domain-driver.patch60
-rw-r--r--configs/platform-rpi2/patches/linux-4.4/series17
-rw-r--r--configs/platform-rpi2/platformconfig264
-rw-r--r--configs/platform-rpi2/platforms/image-boot-vfat.in22
-rw-r--r--configs/platform-rpi2/rules/image-boot-vfat.make54
42 files changed, 0 insertions, 6799 deletions
diff --git a/configs/platform-rpi2/barebox-defaultenv/boot/sd b/configs/platform-rpi2/barebox-defaultenv/boot/sd
deleted file mode 100644
index 46ed09e..0000000
--- a/configs/platform-rpi2/barebox-defaultenv/boot/sd
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-if [ "$1" = menu ]; then
- boot-menu-add-entry "$0" "kernel & rootfs on SD card"
- exit
-fi
-
-global.bootm.image="/boot/linuximage"
-global.bootm.oftree="/boot/bcm2836-rpi-2-b.dtb"
-global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootfstype=ext4 rootwait rw ptxdist-devel"
-
diff --git a/configs/platform-rpi2/barebox-defaultenv/config b/configs/platform-rpi2/barebox-defaultenv/config
deleted file mode 100644
index 411e054..0000000
--- a/configs/platform-rpi2/barebox-defaultenv/config
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-# change network settings in /env/network/eth0
-# change mtd partition settings and automountpoints in /env/init/*
-
-# set to false if you do not want to have colors
-global.allow_color=true
-
-# user (used for network filenames)
-global.user=none
-
-# timeout in seconds before the default boot entry is started
-global.autoboot_timeout=3
-
-# default boot entry (one of /env/boot/*)
-global.boot.default=sd
-
-# base bootargs
-global.linux.bootargs.base="console=ttyAMA0,115200"
diff --git a/configs/platform-rpi2/barebox.config b/configs/platform-rpi2/barebox.config
deleted file mode 100644
index d66dfac..0000000
--- a/configs/platform-rpi2/barebox.config
+++ /dev/null
@@ -1,507 +0,0 @@
-#
-# Automatically generated file; DO NOT EDIT.
-# Barebox/arm 2015.12.0 Configuration
-#
-CONFIG_ARM=y
-CONFIG_ARM_LINUX=y
-CONFIG_ARCH_BCM283X=y
-
-#
-# System Type
-#
-# CONFIG_BUILTIN_DTB is not set
-# CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_BCM2835 is not set
-CONFIG_ARCH_BCM2836=y
-# CONFIG_ARCH_CLPS711X is not set
-# CONFIG_ARCH_DAVINCI is not set
-# CONFIG_ARCH_DIGIC is not set
-# CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_HIGHBANK is not set
-# CONFIG_ARCH_IMX is not set
-# CONFIG_ARCH_MVEBU is not set
-# CONFIG_ARCH_MXS is not set
-# CONFIG_ARCH_NETX is not set
-# CONFIG_ARCH_NOMADIK is not set
-# CONFIG_ARCH_OMAP is not set
-# CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_ROCKCHIP is not set
-# CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_ARCH_S3C24xx is not set
-# CONFIG_ARCH_S5PCxx is not set
-# CONFIG_ARCH_S3C64xx is not set
-# CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_VEXPRESS is not set
-# CONFIG_ARCH_TEGRA is not set
-# CONFIG_ARCH_UEMD is not set
-# CONFIG_ARCH_ZYNQ is not set
-
-#
-# Processor Type
-#
-CONFIG_CPU_32=y
-CONFIG_CPU_V7=y
-CONFIG_CPU_32v7=y
-
-#
-# processor features
-#
-# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
-CONFIG_ARCH_TEXT_BASE=0x04000000
-CONFIG_MACH_RPI_COMMON=y
-CONFIG_MACH_RPI2=y
-CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
-CONFIG_AEABI=y
-# CONFIG_THUMB2_BAREBOX is not set
-# CONFIG_ARM_BOARD_APPEND_ATAG is not set
-
-#
-# ARM specific settings
-#
-CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
-CONFIG_ARM_EXCEPTIONS=y
-CONFIG_ARM_UNWIND=y
-# CONFIG_ARM_SEMIHOSTING is not set
-CONFIG_DEFCONFIG_LIST="$ARCH_DEFCONFIG"
-CONFIG_GREGORIAN_CALENDER=y
-CONFIG_HAS_KALLSYMS=y
-CONFIG_HAS_MODULES=y
-CONFIG_ENV_HANDLING=y
-CONFIG_HAS_CACHE=y
-CONFIG_HAS_DMA=y
-CONFIG_GENERIC_GPIO=y
-CONFIG_BOOTM=y
-CONFIG_BLOCK=y
-CONFIG_BLOCK_WRITE=y
-CONFIG_FILETYPE=y
-CONFIG_BINFMT=y
-CONFIG_UIMAGE=y
-CONFIG_GLOBALVAR=y
-CONFIG_STDDEV=y
-CONFIG_MENUTREE=y
-
-#
-# General Settings
-#
-CONFIG_LOCALVERSION=""
-CONFIG_LOCALVERSION_AUTO=y
-CONFIG_BANNER=y
-CONFIG_MEMINFO=y
-CONFIG_ENVIRONMENT_VARIABLES=y
-
-#
-# memory layout
-#
-CONFIG_HAVE_PBL_IMAGE=y
-CONFIG_HAVE_IMAGE_COMPRESSION=y
-# CONFIG_PBL_IMAGE is not set
-CONFIG_MMU=y
-CONFIG_MMU_EARLY=y
-CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
-CONFIG_TEXT_BASE=0x04000000
-CONFIG_BAREBOX_MAX_BARE_INIT_SIZE=0xffffffff
-CONFIG_STACK_SIZE=0x8000
-CONFIG_MALLOC_SIZE=0x400000
-# CONFIG_EXPERIMENTAL is not set
-# CONFIG_MALLOC_DLMALLOC is not set
-CONFIG_MALLOC_TLSF=y
-CONFIG_KALLSYMS=y
-# CONFIG_RELOCATABLE is not set
-# CONFIG_PANIC_HANG is not set
-CONFIG_PROMPT="R-Pi> "
-CONFIG_BAUDRATE=115200
-CONFIG_CBSIZE=1024
-CONFIG_SHELL_HUSH=y
-# CONFIG_SHELL_SIMPLE is not set
-# CONFIG_SHELL_NONE is not set
-CONFIG_GLOB=y
-CONFIG_GLOB_SORT=y
-CONFIG_PROMPT_HUSH_PS2="> "
-CONFIG_HUSH_FANCY_PROMPT=y
-CONFIG_CMDLINE_EDITING=y
-CONFIG_AUTO_COMPLETE=y
-CONFIG_MENU=y
-CONFIG_PASSWORD=y
-CONFIG_PASSWORD_DEFAULT=""
-CONFIG_PASSWD_SUM_MD5=y
-# CONFIG_PASSWD_SUM_SHA1 is not set
-# CONFIG_PASSWD_SUM_SHA256 is not set
-# CONFIG_PASSWD_SUM_SHA512 is not set
-# CONFIG_PASSWD_CRYPTO_PBKDF2 is not set
-CONFIG_DYNAMIC_CRC_TABLE=y
-CONFIG_ERRNO_MESSAGES=y
-CONFIG_TIMESTAMP=y
-CONFIG_BLSPEC=y
-# CONFIG_IMD is not set
-# CONFIG_KERNEL_INSTALL_TARGET is not set
-CONFIG_CONSOLE_FULL=y
-# CONFIG_CONSOLE_SIMPLE is not set
-# CONFIG_CONSOLE_NONE is not set
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
-# CONFIG_CONSOLE_ACTIVATE_ALL is not set
-# CONFIG_CONSOLE_ACTIVATE_NONE is not set
-CONFIG_PARTITION=y
-CONFIG_PARTITION_DISK=y
-CONFIG_PARTITION_DISK_DOS=y
-# CONFIG_PARTITION_DISK_EFI is not set
-CONFIG_DEFAULT_ENVIRONMENT=y
-CONFIG_DEFAULT_COMPRESSION_NONE=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_MENU=y
-# CONFIG_DEFAULT_ENVIRONMENT_GENERIC is not set
-CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/raspberry-pi/env"
-CONFIG_BAREBOXENV_TARGET=y
-# CONFIG_BAREBOXCRC32_TARGET is not set
-CONFIG_POLLER=y
-# CONFIG_RESET_SOURCE is not set
-
-#
-# Debugging
-#
-CONFIG_COMPILE_LOGLEVEL=6
-CONFIG_DEFAULT_LOGLEVEL=7
-# CONFIG_DEBUG_INFO is not set
-# CONFIG_DEBUG_LL is not set
-# CONFIG_DEBUG_INITCALLS is not set
-CONFIG_HAS_DEBUG_LL=y
-CONFIG_COMMAND_SUPPORT=y
-# CONFIG_HAS_POWEROFF is not set
-CONFIG_COMPILE_HASH=y
-CONFIG_COMPILE_MEMORY=y
-
-#
-# Commands
-#
-
-#
-# Information
-#
-CONFIG_CMD_ARM_CPUINFO=y
-CONFIG_CMD_DEVINFO=y
-# CONFIG_CMD_DMESG is not set
-CONFIG_CMD_DRVINFO=y
-CONFIG_CMD_HELP=y
-CONFIG_LONGHELP=y
-CONFIG_CMD_IOMEM=y
-# CONFIG_CMD_IMD is not set
-CONFIG_CMD_MEMINFO=y
-# CONFIG_CMD_ARM_MMUINFO is not set
-# CONFIG_CMD_REGULATOR is not set
-CONFIG_CMD_VERSION=y
-# CONFIG_CMD_MMC_EXTCSD is not set
-
-#
-# Boot
-#
-CONFIG_FLEXIBLE_BOOTARGS=y
-CONFIG_CMD_BOOT=y
-CONFIG_CMD_BOOTM=y
-CONFIG_CMD_BOOTM_SHOW_TYPE=y
-CONFIG_CMD_BOOTM_VERBOSE=y
-CONFIG_CMD_BOOTM_INITRD=y
-CONFIG_CMD_BOOTM_OFTREE=y
-# CONFIG_CMD_BOOTM_OFTREE_UIMAGE is not set
-# CONFIG_CMD_BOOTM_AIMAGE is not set
-CONFIG_CMD_BOOTU=y
-# CONFIG_CMD_BOOTZ is not set
-CONFIG_CMD_GO=y
-CONFIG_CMD_LOADB=y
-# CONFIG_CMD_LOADS is not set
-CONFIG_CMD_LOADY=y
-CONFIG_CMD_RESET=y
-CONFIG_CMD_UIMAGE=y
-
-#
-# Partition
-#
-CONFIG_CMD_PARTITION=y
-CONFIG_CMD_AUTOMOUNT=y
-CONFIG_CMD_MOUNT=y
-CONFIG_CMD_UMOUNT=y
-
-#
-# Environment
-#
-CONFIG_CMD_NV=y
-CONFIG_CMD_EXPORT=y
-CONFIG_CMD_DEFAULTENV=y
-CONFIG_CMD_GLOBAL=y
-# CONFIG_CMD_LOADENV is not set
-CONFIG_CMD_PRINTENV=y
-CONFIG_CMD_MAGICVAR=y
-CONFIG_CMD_MAGICVAR_HELP=y
-CONFIG_CMD_SAVEENV=y
-
-#
-# File
-#
-CONFIG_CMD_BASENAME=y
-CONFIG_CMD_CAT=y
-CONFIG_CMD_CD=y
-CONFIG_CMD_CP=y
-# CONFIG_CMD_CMP is not set
-CONFIG_CMD_DIGEST=y
-CONFIG_CMD_DIRNAME=y
-CONFIG_CMD_FILETYPE=y
-CONFIG_CMD_LN=y
-CONFIG_CMD_LS=y
-CONFIG_CMD_MD5SUM=y
-CONFIG_CMD_MKDIR=y
-CONFIG_CMD_PWD=y
-CONFIG_CMD_READLINK=y
-CONFIG_CMD_RM=y
-CONFIG_CMD_RMDIR=y
-# CONFIG_CMD_SHA1SUM is not set
-# CONFIG_CMD_SHA224SUM is not set
-# CONFIG_CMD_SHA256SUM is not set
-# CONFIG_CMD_SHA384SUM is not set
-# CONFIG_CMD_SHA512SUM is not set
-CONFIG_CMD_UNCOMPRESS=y
-
-#
-# Shell scripting
-#
-CONFIG_CMD_FALSE=y
-CONFIG_CMD_GETOPT=y
-CONFIG_CMD_LET=y
-CONFIG_CMD_MSLEEP=y
-# CONFIG_CMD_READF is not set
-CONFIG_CMD_SLEEP=y
-CONFIG_CMD_TEST=y
-CONFIG_CMD_TRUE=y
-
-#
-# Console and Framebuffer interaction
-#
-CONFIG_CMD_CLEAR=y
-CONFIG_CMD_ECHO=y
-CONFIG_CMD_ECHO_E=y
-CONFIG_CMD_EDIT=y
-CONFIG_CMD_LOGIN=y
-CONFIG_CMD_MENU=y
-CONFIG_CMD_MENU_MANAGEMENT=y
-CONFIG_CMD_MENUTREE=y
-CONFIG_CMD_PASSWD=y
-CONFIG_PASSWD_MODE_HIDE=y
-# CONFIG_PASSWD_MODE_STAR is not set
-# CONFIG_PASSWD_MODE_CLEAR is not set
-CONFIG_CMD_READLINE=y
-CONFIG_CMD_TIMEOUT=y
-
-#
-# Memory
-#
-CONFIG_CMD_CRC=y
-CONFIG_CMD_CRC_CMP=y
-CONFIG_CMD_MD=y
-CONFIG_CMD_MEMCMP=y
-CONFIG_CMD_MEMCPY=y
-CONFIG_CMD_MEMSET=y
-# CONFIG_CMD_MEMTEST is not set
-CONFIG_CMD_MM=y
-CONFIG_CMD_MW=y
-
-#
-# Hardware manipulation
-#
-CONFIG_CMD_CLK=y
-CONFIG_CMD_DETECT=y
-# CONFIG_CMD_FLASH is not set
-CONFIG_CMD_GPIO=y
-# CONFIG_CMD_LED is not set
-# CONFIG_CMD_SPI is not set
-# CONFIG_CMD_LED_TRIGGER is not set
-
-#
-# Miscellaneous
-#
-# CONFIG_CMD_2048 is not set
-# CONFIG_CMD_BAREBOX_UPDATE is not set
-# CONFIG_CMD_FIRMWARELOAD is not set
-CONFIG_CMD_OF_DUMP=y
-CONFIG_CMD_OF_NODE=y
-CONFIG_CMD_OF_PROPERTY=y
-# CONFIG_CMD_OF_DISPLAY_TIMINGS is not set
-CONFIG_CMD_OFTREE=y
-CONFIG_CMD_TIME=y
-# CONFIG_CMD_DHRYSTONE is not set
-# CONFIG_CMD_SPD_DECODE is not set
-# CONFIG_NET is not set
-
-#
-# Drivers
-#
-CONFIG_OFTREE=y
-CONFIG_OFTREE_MEM_GENERIC=y
-CONFIG_DTC=y
-# CONFIG_OFDEVICE is not set
-CONFIG_ARM_AMBA=y
-
-#
-# serial drivers
-#
-# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
-CONFIG_SERIAL_AMBA_PL011=y
-# CONFIG_DRIVER_SERIAL_NS16550 is not set
-# CONFIG_DRIVER_SERIAL_CADENCE is not set
-
-#
-# SPI drivers
-#
-CONFIG_SPI=y
-# CONFIG_DRIVER_SPI_GPIO is not set
-# CONFIG_I2C is not set
-# CONFIG_MTD is not set
-CONFIG_DISK=y
-CONFIG_DISK_WRITE=y
-
-#
-# drive types
-#
-# CONFIG_DISK_ATA is not set
-# CONFIG_DISK_AHCI is not set
-
-#
-# interface types
-#
-# CONFIG_DISK_INTF_PLATFORM_IDE is not set
-# CONFIG_USB_HOST is not set
-# CONFIG_USB_GADGET is not set
-# CONFIG_USB_MUSB is not set
-# CONFIG_VIDEO is not set
-CONFIG_MCI=y
-
-#
-# --- Feature list ---
-#
-# CONFIG_MCI_STARTUP is not set
-CONFIG_MCI_INFO=y
-CONFIG_MCI_WRITE=y
-# CONFIG_MCI_MMC_BOOT_PARTITIONS is not set
-
-#
-# --- MCI host drivers ---
-#
-# CONFIG_MCI_DW is not set
-CONFIG_MCI_BCM283X=y
-# CONFIG_MCI_MMCI is not set
-# CONFIG_MCI_SPI is not set
-CONFIG_HAVE_CLK=y
-CONFIG_CLKDEV_LOOKUP=y
-CONFIG_COMMON_CLK=y
-CONFIG_CLOCKSOURCE_BCM283X=y
-CONFIG_CLOCKSOURCE_DUMMY_RATE=1000
-
-#
-# MFD
-#
-# CONFIG_MFD_MC13XXX is not set
-# CONFIG_MFD_SYSCON is not set
-
-#
-# Misc devices
-#
-# CONFIG_JTAG is not set
-# CONFIG_SRAM is not set
-CONFIG_LED=y
-CONFIG_LED_GPIO=y
-# CONFIG_LED_GPIO_OF is not set
-# CONFIG_LED_GPIO_RGB is not set
-# CONFIG_LED_GPIO_BICOLOR is not set
-CONFIG_LED_TRIGGERS=y
-
-#
-# EEPROM support
-#
-# CONFIG_EEPROM_AT25 is not set
-
-#
-# Input device support
-#
-# CONFIG_KEYBOARD_GPIO is not set
-# CONFIG_WATCHDOG is not set
-# CONFIG_PWM is not set
-
-#
-# DMA support
-#
-CONFIG_GPIOLIB=y
-
-#
-# GPIO
-#
-# CONFIG_GPIO_74164 is not set
-CONFIG_GPIO_BCM283X=y
-# CONFIG_GPIO_GENERIC_PLATFORM is not set
-# CONFIG_GPIO_IMX is not set
-# CONFIG_GPIO_MXS is not set
-# CONFIG_GPIO_OMAP is not set
-# CONFIG_GPIO_PL061 is not set
-# CONFIG_GPIO_DESIGNWARE is not set
-# CONFIG_W1 is not set
-# CONFIG_PINCTRL is not set
-
-#
-# Bus devices
-#
-CONFIG_REGULATOR=y
-CONFIG_REGULATOR_BCM283X=y
-# CONFIG_RESET_CONTROLLER is not set
-# CONFIG_RTC_CLASS is not set
-
-#
-# Firmware Drivers
-#
-
-#
-# PHY Subsystem
-#
-# CONFIG_GENERIC_PHY is not set
-
-#
-# Filesystem support
-#
-CONFIG_FS=y
-CONFIG_FS_AUTOMOUNT=y
-# CONFIG_FS_CRAMFS is not set
-CONFIG_FS_EXT4=y
-CONFIG_FS_RAMFS=y
-CONFIG_FS_DEVFS=y
-CONFIG_FS_FAT=y
-CONFIG_FS_FAT_WRITE=y
-CONFIG_FS_FAT_LFN=y
-# CONFIG_FS_BPKFS is not set
-# CONFIG_FS_UIMAGEFS is not set
-
-#
-# Library routines
-#
-CONFIG_PARAMETER=y
-CONFIG_UNCOMPRESS=y
-# CONFIG_ZLIB is not set
-# CONFIG_BZLIB is not set
-# CONFIG_LZ4_DECOMPRESS is not set
-# CONFIG_XZ_DECOMPRESS is not set
-# CONFIG_GENERIC_FIND_NEXT_BIT is not set
-CONFIG_PROCESS_ESCAPE_SEQUENCE=y
-# CONFIG_LZO_DECOMPRESS is not set
-CONFIG_QSORT=y
-CONFIG_XYMODEM=y
-
-#
-# Library gui routines
-#
-# CONFIG_BAREBOX_LOGO is not set
-CONFIG_CRC32=y
-CONFIG_CRC16=y
-CONFIG_DIGEST=y
-CONFIG_MD5=y
-CONFIG_DIGEST_MD5_GENERIC=y
-# CONFIG_DIGEST_SHA1_GENERIC is not set
-# CONFIG_DIGEST_SHA224_GENERIC is not set
-# CONFIG_DIGEST_SHA256_GENERIC is not set
-# CONFIG_DIGEST_SHA384_GENERIC is not set
-# CONFIG_DIGEST_SHA512_GENERIC is not set
-# CONFIG_DIGEST_HMAC_GENERIC is not set
-# CONFIG_DIGEST_SHA1_ARM is not set
-# CONFIG_DIGEST_SHA256_ARM is not set
diff --git a/configs/platform-rpi2/config.txt b/configs/platform-rpi2/config.txt
deleted file mode 100644
index 956ad81..0000000
--- a/configs/platform-rpi2/config.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-# Set barebox as third state bootloader
-kernel=barebox
-# Set stdv mode to PAL (as used in Europe)
-sdtv_mode=2
-# Force the monitor to HDMI mode so that sound will be sent over HDMI cable
-hdmi_drive=2
-# Set monitor mode to DMT
-hdmi_group=1
-# Set monitor resolution to 1080p60
-hdmi_mode=16
-# No overscan
-disable_overscan=1
-# GPU memory in megabyte
-gpu_mem=@GPU_MEM@
diff --git a/configs/platform-rpi2/config/images/boot-vfat.config b/configs/platform-rpi2/config/images/boot-vfat.config
deleted file mode 100644
index 4869641..0000000
--- a/configs/platform-rpi2/config/images/boot-vfat.config
+++ /dev/null
@@ -1,11 +0,0 @@
-image @IMAGE@ {
- vfat {
- files = { @FILES@ }
- file linuximage { image = "@KERNEL@" }
- file barebox { image = "@BAREBOX@" }
- file barebox.env { image = "@BAREBOX_ENV@" }
- file bcm2836-rpi-2-b.dtb { image = "bcm2836-rpi-2-b.dtb" }
- }
- name = boot-vfat
- size = 32M
-}
diff --git a/configs/platform-rpi2/firmware/LICENCE.broadcom b/configs/platform-rpi2/firmware/LICENCE.broadcom
deleted file mode 100644
index 89b5c0c..0000000
--- a/configs/platform-rpi2/firmware/LICENCE.broadcom
+++ /dev/null
@@ -1,30 +0,0 @@
-Copyright (c) 2006, Broadcom Corporation.
-Copyright (c) 2015, Raspberry Pi (Trading) Ltd
-All rights reserved.
-
-Redistribution. Redistribution and use in binary form, without
-modification, are permitted provided that the following conditions are
-met:
-
-* This software may only be used for the purposes of developing for,
- running or using a Raspberry Pi device.
-* Redistributions must reproduce the above copyright notice and the
- following disclaimer in the documentation and/or other materials
- provided with the distribution.
-* Neither the name of Broadcom Corporation nor the names of its suppliers
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
-CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
-BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
-TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
-USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGE.
-
diff --git a/configs/platform-rpi2/firmware/bootcode.bin b/configs/platform-rpi2/firmware/bootcode.bin
deleted file mode 100644
index a68e73f..0000000
--- a/configs/platform-rpi2/firmware/bootcode.bin
+++ /dev/null
Binary files differ
diff --git a/configs/platform-rpi2/firmware/fixup.dat b/configs/platform-rpi2/firmware/fixup.dat
deleted file mode 100644
index 359cda2..0000000
--- a/configs/platform-rpi2/firmware/fixup.dat
+++ /dev/null
Binary files differ
diff --git a/configs/platform-rpi2/firmware/fixup_cd.dat b/configs/platform-rpi2/firmware/fixup_cd.dat
deleted file mode 100644
index 2954c84..0000000
--- a/configs/platform-rpi2/firmware/fixup_cd.dat
+++ /dev/null
Binary files differ
diff --git a/configs/platform-rpi2/firmware/fixup_db.dat b/configs/platform-rpi2/firmware/fixup_db.dat
deleted file mode 100644
index 29ca0ad..0000000
--- a/configs/platform-rpi2/firmware/fixup_db.dat
+++ /dev/null
Binary files differ
diff --git a/configs/platform-rpi2/firmware/fixup_x.dat b/configs/platform-rpi2/firmware/fixup_x.dat
deleted file mode 100644
index f3a2394..0000000
--- a/configs/platform-rpi2/firmware/fixup_x.dat
+++ /dev/null
Binary files differ
diff --git a/configs/platform-rpi2/firmware/start.elf b/configs/platform-rpi2/firmware/start.elf
deleted file mode 100644
index 36b321e..0000000
--- a/configs/platform-rpi2/firmware/start.elf
+++ /dev/null
Binary files differ
diff --git a/configs/platform-rpi2/firmware/start_cd.elf b/configs/platform-rpi2/firmware/start_cd.elf
deleted file mode 100644
index 46d621d..0000000
--- a/configs/platform-rpi2/firmware/start_cd.elf
+++ /dev/null
Binary files differ
diff --git a/configs/platform-rpi2/firmware/start_db.elf b/configs/platform-rpi2/firmware/start_db.elf
deleted file mode 100644
index c6e5f7d..0000000
--- a/configs/platform-rpi2/firmware/start_db.elf
+++ /dev/null
Binary files differ
diff --git a/configs/platform-rpi2/firmware/start_x.elf b/configs/platform-rpi2/firmware/start_x.elf
deleted file mode 100644
index 111b531..0000000
--- a/configs/platform-rpi2/firmware/start_x.elf
+++ /dev/null
Binary files differ
diff --git a/configs/platform-rpi2/kernelconfig b/configs/platform-rpi2/kernelconfig
deleted file mode 100644
index f9defa8..0000000
--- a/configs/platform-rpi2/kernelconfig
+++ /dev/null
@@ -1,2818 +0,0 @@
-#
-# Automatically generated file; DO NOT EDIT.
-# Linux/arm 4.4.0 Kernel Configuration
-#
-CONFIG_ARM=y
-CONFIG_ARM_HAS_SG_CHAIN=y
-CONFIG_MIGHT_HAVE_PCI=y
-CONFIG_SYS_SUPPORTS_APM_EMULATION=y
-CONFIG_HAVE_PROC_CPU=y
-CONFIG_STACKTRACE_SUPPORT=y
-CONFIG_LOCKDEP_SUPPORT=y
-CONFIG_TRACE_IRQFLAGS_SUPPORT=y
-CONFIG_RWSEM_XCHGADD_ALGORITHM=y
-CONFIG_FIX_EARLYCON_MEM=y
-CONFIG_GENERIC_HWEIGHT=y
-CONFIG_GENERIC_CALIBRATE_DELAY=y
-CONFIG_NEED_DMA_MAP_STATE=y
-CONFIG_ARCH_SUPPORTS_UPROBES=y
-CONFIG_VECTORS_BASE=0xffff0000
-CONFIG_ARM_PATCH_PHYS_VIRT=y
-CONFIG_GENERIC_BUG=y
-CONFIG_PGTABLE_LEVELS=2
-CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
-CONFIG_IRQ_WORK=y
-CONFIG_BUILDTIME_EXTABLE_SORT=y
-
-#
-# General setup
-#
-CONFIG_INIT_ENV_ARG_LIMIT=32
-CONFIG_CROSS_COMPILE=""
-# CONFIG_COMPILE_TEST is not set
-CONFIG_LOCALVERSION=""
-# CONFIG_LOCALVERSION_AUTO is not set
-CONFIG_HAVE_KERNEL_GZIP=y
-CONFIG_HAVE_KERNEL_LZMA=y
-CONFIG_HAVE_KERNEL_XZ=y
-CONFIG_HAVE_KERNEL_LZO=y
-CONFIG_HAVE_KERNEL_LZ4=y
-CONFIG_KERNEL_GZIP=y
-# CONFIG_KERNEL_LZMA is not set
-# CONFIG_KERNEL_XZ is not set
-# CONFIG_KERNEL_LZO is not set
-# CONFIG_KERNEL_LZ4 is not set
-CONFIG_DEFAULT_HOSTNAME="(none)"
-CONFIG_SWAP=y
-CONFIG_SYSVIPC=y
-CONFIG_SYSVIPC_SYSCTL=y
-# CONFIG_POSIX_MQUEUE is not set
-CONFIG_CROSS_MEMORY_ATTACH=y
-CONFIG_FHANDLE=y
-CONFIG_USELIB=y
-# CONFIG_AUDIT is not set
-CONFIG_HAVE_ARCH_AUDITSYSCALL=y
-
-#
-# IRQ subsystem
-#
-CONFIG_GENERIC_IRQ_PROBE=y
-CONFIG_GENERIC_IRQ_SHOW=y
-CONFIG_GENERIC_IRQ_SHOW_LEVEL=y
-CONFIG_HARDIRQS_SW_RESEND=y
-CONFIG_IRQ_DOMAIN=y
-CONFIG_HANDLE_DOMAIN_IRQ=y
-# CONFIG_IRQ_DOMAIN_DEBUG is not set
-CONFIG_IRQ_FORCED_THREADING=y
-CONFIG_SPARSE_IRQ=y
-CONFIG_GENERIC_CLOCKEVENTS=y
-CONFIG_ARCH_HAS_TICK_BROADCAST=y
-CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
-
-#
-# Timers subsystem
-#
-CONFIG_TICK_ONESHOT=y
-CONFIG_NO_HZ_COMMON=y
-# CONFIG_HZ_PERIODIC is not set
-CONFIG_NO_HZ_IDLE=y
-# CONFIG_NO_HZ_FULL is not set
-CONFIG_NO_HZ=y
-CONFIG_HIGH_RES_TIMERS=y
-
-#
-# CPU/Task time and stats accounting
-#
-CONFIG_TICK_CPU_ACCOUNTING=y
-# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
-# CONFIG_IRQ_TIME_ACCOUNTING is not set
-CONFIG_BSD_PROCESS_ACCT=y
-CONFIG_BSD_PROCESS_ACCT_V3=y
-# CONFIG_TASKSTATS is not set
-
-#
-# RCU Subsystem
-#
-CONFIG_TREE_RCU=y
-# CONFIG_RCU_EXPERT is not set
-CONFIG_SRCU=y
-# CONFIG_TASKS_RCU is not set
-CONFIG_RCU_STALL_COMMON=y
-# CONFIG_TREE_RCU_TRACE is not set
-# CONFIG_RCU_EXPEDITE_BOOT is not set
-# CONFIG_BUILD_BIN2C is not set
-# CONFIG_IKCONFIG is not set
-CONFIG_LOG_BUF_SHIFT=18
-CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
-CONFIG_GENERIC_SCHED_CLOCK=y
-CONFIG_CGROUPS=y
-# CONFIG_CGROUP_DEBUG is not set
-CONFIG_CGROUP_FREEZER=y
-# CONFIG_CGROUP_PIDS is not set
-CONFIG_CGROUP_DEVICE=y
-CONFIG_CPUSETS=y
-CONFIG_PROC_PID_CPUSET=y
-CONFIG_CGROUP_CPUACCT=y
-# CONFIG_MEMCG is not set
-CONFIG_CGROUP_PERF=y
-CONFIG_CGROUP_SCHED=y
-CONFIG_FAIR_GROUP_SCHED=y
-CONFIG_CFS_BANDWIDTH=y
-CONFIG_RT_GROUP_SCHED=y
-# CONFIG_BLK_CGROUP is not set
-# CONFIG_CHECKPOINT_RESTORE is not set
-CONFIG_NAMESPACES=y
-CONFIG_UTS_NS=y
-CONFIG_IPC_NS=y
-# CONFIG_USER_NS is not set
-CONFIG_PID_NS=y
-CONFIG_NET_NS=y
-CONFIG_SCHED_AUTOGROUP=y
-# CONFIG_SYSFS_DEPRECATED is not set
-CONFIG_RELAY=y
-CONFIG_BLK_DEV_INITRD=y
-CONFIG_INITRAMFS_SOURCE=""
-CONFIG_RD_GZIP=y
-CONFIG_RD_BZIP2=y
-CONFIG_RD_LZMA=y
-CONFIG_RD_XZ=y
-CONFIG_RD_LZO=y
-CONFIG_RD_LZ4=y
-CONFIG_CC_OPTIMIZE_FOR_SIZE=y
-CONFIG_SYSCTL=y
-CONFIG_ANON_INODES=y
-CONFIG_HAVE_UID16=y
-CONFIG_BPF=y
-CONFIG_EXPERT=y
-CONFIG_UID16=y
-CONFIG_MULTIUSER=y
-# CONFIG_SGETMASK_SYSCALL is not set
-CONFIG_SYSFS_SYSCALL=y
-# CONFIG_SYSCTL_SYSCALL is not set
-CONFIG_KALLSYMS=y
-CONFIG_KALLSYMS_ALL=y
-CONFIG_PRINTK=y
-CONFIG_BUG=y
-CONFIG_ELF_CORE=y
-CONFIG_BASE_FULL=y
-CONFIG_FUTEX=y
-CONFIG_EPOLL=y
-CONFIG_SIGNALFD=y
-CONFIG_TIMERFD=y
-CONFIG_EVENTFD=y
-# CONFIG_BPF_SYSCALL is not set
-CONFIG_SHMEM=y
-CONFIG_AIO=y
-CONFIG_ADVISE_SYSCALLS=y
-# CONFIG_USERFAULTFD is not set
-CONFIG_MEMBARRIER=y
-CONFIG_EMBEDDED=y
-CONFIG_HAVE_PERF_EVENTS=y
-CONFIG_PERF_USE_VMALLOC=y
-
-#
-# Kernel Performance Events And Counters
-#
-CONFIG_PERF_EVENTS=y
-# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
-CONFIG_VM_EVENT_COUNTERS=y
-CONFIG_SLUB_DEBUG=y
-# CONFIG_COMPAT_BRK is not set
-# CONFIG_SLAB is not set
-CONFIG_SLUB=y
-# CONFIG_SLOB is not set
-CONFIG_SLUB_CPU_PARTIAL=y
-# CONFIG_SYSTEM_DATA_VERIFICATION is not set
-CONFIG_PROFILING=y
-CONFIG_TRACEPOINTS=y
-CONFIG_OPROFILE=y
-CONFIG_HAVE_OPROFILE=y
-# CONFIG_KPROBES is not set
-CONFIG_JUMP_LABEL=y
-# CONFIG_STATIC_KEYS_SELFTEST is not set
-# CONFIG_UPROBES is not set
-# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
-CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
-CONFIG_ARCH_USE_BUILTIN_BSWAP=y
-CONFIG_HAVE_KPROBES=y
-CONFIG_HAVE_KRETPROBES=y
-CONFIG_HAVE_OPTPROBES=y
-CONFIG_HAVE_ARCH_TRACEHOOK=y
-CONFIG_HAVE_DMA_ATTRS=y
-CONFIG_HAVE_DMA_CONTIGUOUS=y
-CONFIG_GENERIC_SMP_IDLE_THREAD=y
-CONFIG_GENERIC_IDLE_POLL_SETUP=y
-CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
-CONFIG_HAVE_CLK=y
-CONFIG_HAVE_DMA_API_DEBUG=y
-CONFIG_HAVE_HW_BREAKPOINT=y
-CONFIG_HAVE_PERF_REGS=y
-CONFIG_HAVE_PERF_USER_STACK_DUMP=y
-CONFIG_HAVE_ARCH_JUMP_LABEL=y
-CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
-CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
-CONFIG_SECCOMP_FILTER=y
-CONFIG_HAVE_CC_STACKPROTECTOR=y
-# CONFIG_CC_STACKPROTECTOR is not set
-CONFIG_CC_STACKPROTECTOR_NONE=y
-# CONFIG_CC_STACKPROTECTOR_REGULAR is not set
-# CONFIG_CC_STACKPROTECTOR_STRONG is not set
-CONFIG_HAVE_CONTEXT_TRACKING=y
-CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
-CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
-CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
-CONFIG_MODULES_USE_ELF_REL=y
-CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
-CONFIG_CLONE_BACKWARDS=y
-CONFIG_OLD_SIGSUSPEND3=y
-CONFIG_OLD_SIGACTION=y
-
-#
-# GCOV-based kernel profiling
-#
-# CONFIG_GCOV_KERNEL is not set
-CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
-CONFIG_HAVE_GENERIC_DMA_COHERENT=y
-CONFIG_SLABINFO=y
-CONFIG_RT_MUTEXES=y
-CONFIG_BASE_SMALL=0
-CONFIG_MODULES=y
-# CONFIG_MODULE_FORCE_LOAD is not set
-# CONFIG_MODULE_UNLOAD is not set
-# CONFIG_MODVERSIONS is not set
-# CONFIG_MODULE_SRCVERSION_ALL is not set
-# CONFIG_MODULE_SIG is not set
-# CONFIG_MODULE_COMPRESS is not set
-CONFIG_MODULES_TREE_LOOKUP=y
-CONFIG_BLOCK=y
-CONFIG_LBDAF=y
-CONFIG_BLK_DEV_BSG=y
-# CONFIG_BLK_DEV_BSGLIB is not set
-# CONFIG_BLK_DEV_INTEGRITY is not set
-# CONFIG_BLK_CMDLINE_PARSER is not set
-
-#
-# Partition Types
-#
-# CONFIG_PARTITION_ADVANCED is not set
-CONFIG_MSDOS_PARTITION=y
-CONFIG_EFI_PARTITION=y
-
-#
-# IO Schedulers
-#
-CONFIG_IOSCHED_NOOP=y
-CONFIG_IOSCHED_DEADLINE=y
-CONFIG_IOSCHED_CFQ=y
-# CONFIG_DEFAULT_DEADLINE is not set
-CONFIG_DEFAULT_CFQ=y
-# CONFIG_DEFAULT_NOOP is not set
-CONFIG_DEFAULT_IOSCHED="cfq"
-CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
-CONFIG_INLINE_READ_UNLOCK=y
-CONFIG_INLINE_READ_UNLOCK_IRQ=y
-CONFIG_INLINE_WRITE_UNLOCK=y
-CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
-CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
-CONFIG_MUTEX_SPIN_ON_OWNER=y
-CONFIG_RWSEM_SPIN_ON_OWNER=y
-CONFIG_LOCK_SPIN_ON_OWNER=y
-CONFIG_FREEZER=y
-
-#
-# System Type
-#
-CONFIG_MMU=y
-CONFIG_ARCH_MULTIPLATFORM=y
-# CONFIG_ARCH_REALVIEW is not set
-# CONFIG_ARCH_VERSATILE is not set
-# CONFIG_ARCH_CLPS711X is not set
-# CONFIG_ARCH_GEMINI is not set
-# CONFIG_ARCH_EBSA110 is not set
-# CONFIG_ARCH_EP93XX is not set
-# CONFIG_ARCH_FOOTBRIDGE is not set
-# CONFIG_ARCH_NETX is not set
-# CONFIG_ARCH_IOP13XX is not set
-# CONFIG_ARCH_IOP32X is not set
-# CONFIG_ARCH_IOP33X is not set
-# CONFIG_ARCH_IXP4XX is not set
-# CONFIG_ARCH_DOVE is not set
-# CONFIG_ARCH_MV78XX0 is not set
-# CONFIG_ARCH_ORION5X is not set
-# CONFIG_ARCH_MMP is not set
-# CONFIG_ARCH_KS8695 is not set
-# CONFIG_ARCH_W90X900 is not set
-# CONFIG_ARCH_LPC32XX is not set
-# CONFIG_ARCH_PXA is not set
-# CONFIG_ARCH_RPC is not set
-# CONFIG_ARCH_SA1100 is not set
-# CONFIG_ARCH_S3C24XX is not set
-# CONFIG_ARCH_S3C64XX is not set
-# CONFIG_ARCH_DAVINCI is not set
-# CONFIG_ARCH_OMAP1 is not set
-
-#
-# Multiple platform selection
-#
-
-#
-# CPU Core family selection
-#
-# CONFIG_ARCH_MULTI_V6 is not set
-CONFIG_ARCH_MULTI_V7=y
-CONFIG_ARCH_MULTI_V6_V7=y
-# CONFIG_ARCH_MULTI_CPU_AUTO is not set
-# CONFIG_ARCH_VIRT is not set
-# CONFIG_ARCH_MVEBU is not set
-# CONFIG_ARCH_ALPINE is not set
-# CONFIG_ARCH_AT91 is not set
-CONFIG_ARCH_BCM=y
-
-#
-# IPROC architected SoCs
-#
-# CONFIG_ARCH_BCM_CYGNUS is not set
-# CONFIG_ARCH_BCM_NSP is not set
-# CONFIG_ARCH_BCM_5301X is not set
-
-#
-# KONA architected SoCs
-#
-# CONFIG_ARCH_BCM_281XX is not set
-# CONFIG_ARCH_BCM_21664 is not set
-
-#
-# Other Architectures
-#
-CONFIG_ARCH_BCM2835=y
-# CONFIG_ARCH_BCM_63XX is not set
-# CONFIG_ARCH_BRCMSTB is not set
-# CONFIG_ARCH_BERLIN is not set
-# CONFIG_ARCH_DIGICOLOR is not set
-# CONFIG_ARCH_HIGHBANK is not set
-# CONFIG_ARCH_HISI is not set
-# CONFIG_ARCH_KEYSTONE is not set
-# CONFIG_ARCH_MESON is not set
-# CONFIG_ARCH_MXC is not set
-# CONFIG_ARCH_MEDIATEK is not set
-
-#
-# TI OMAP/AM/DM/DRA Family
-#
-# CONFIG_ARCH_OMAP3 is not set
-# CONFIG_ARCH_OMAP4 is not set
-# CONFIG_SOC_OMAP5 is not set
-# CONFIG_SOC_AM33XX is not set
-# CONFIG_SOC_AM43XX is not set
-# CONFIG_SOC_DRA7XX is not set
-# CONFIG_ARCH_QCOM is not set
-# CONFIG_ARCH_ROCKCHIP is not set
-# CONFIG_ARCH_SOCFPGA is not set
-# CONFIG_PLAT_SPEAR is not set
-# CONFIG_ARCH_STI is not set
-# CONFIG_ARCH_S5PV210 is not set
-# CONFIG_ARCH_EXYNOS is not set
-# CONFIG_ARCH_SHMOBILE_MULTI is not set
-# CONFIG_ARCH_SUNXI is not set
-# CONFIG_ARCH_SIRF is not set
-# CONFIG_ARCH_TEGRA is not set
-# CONFIG_ARCH_UNIPHIER is not set
-# CONFIG_ARCH_U8500 is not set
-# CONFIG_ARCH_VEXPRESS is not set
-# CONFIG_ARCH_WM8850 is not set
-# CONFIG_ARCH_ZX is not set
-# CONFIG_ARCH_ZYNQ is not set
-
-#
-# Processor Type
-#
-CONFIG_CPU_V7=y
-CONFIG_CPU_32v6K=y
-CONFIG_CPU_32v7=y
-CONFIG_CPU_ABRT_EV7=y
-CONFIG_CPU_PABRT_V7=y
-CONFIG_CPU_CACHE_V7=y
-CONFIG_CPU_CACHE_VIPT=y
-CONFIG_CPU_COPY_V6=y
-CONFIG_CPU_TLB_V7=y
-CONFIG_CPU_HAS_ASID=y
-CONFIG_CPU_CP15=y
-CONFIG_CPU_CP15_MMU=y
-
-#
-# Processor Features
-#
-# CONFIG_ARM_LPAE is not set
-# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
-CONFIG_ARM_THUMB=y
-# CONFIG_ARM_THUMBEE is not set
-CONFIG_ARM_VIRT_EXT=y
-CONFIG_SWP_EMULATE=y
-# CONFIG_CPU_ICACHE_DISABLE is not set
-# CONFIG_CPU_BPREDICT_DISABLE is not set
-CONFIG_KUSER_HELPERS=y
-# CONFIG_VDSO is not set
-CONFIG_OUTER_CACHE=y
-CONFIG_OUTER_CACHE_SYNC=y
-CONFIG_MIGHT_HAVE_CACHE_L2X0=y
-CONFIG_CACHE_L2X0=y
-# CONFIG_PL310_ERRATA_588369 is not set
-# CONFIG_PL310_ERRATA_727915 is not set
-# CONFIG_PL310_ERRATA_753970 is not set
-# CONFIG_PL310_ERRATA_769419 is not set
-CONFIG_ARM_L1_CACHE_SHIFT_6=y
-CONFIG_ARM_L1_CACHE_SHIFT=6
-CONFIG_ARM_DMA_MEM_BUFFERABLE=y
-CONFIG_ARM_HEAVY_MB=y
-# CONFIG_ARM_KERNMEM_PERMS is not set
-CONFIG_MULTI_IRQ_HANDLER=y
-# CONFIG_ARM_ERRATA_430973 is not set
-CONFIG_ARM_ERRATA_643719=y
-# CONFIG_ARM_ERRATA_720789 is not set
-# CONFIG_ARM_ERRATA_754322 is not set
-# CONFIG_ARM_ERRATA_754327 is not set
-# CONFIG_ARM_ERRATA_764369 is not set
-# CONFIG_ARM_ERRATA_775420 is not set
-# CONFIG_ARM_ERRATA_798181 is not set
-# CONFIG_ARM_ERRATA_773022 is not set
-
-#
-# Bus support
-#
-# CONFIG_PCI is not set
-# CONFIG_PCI_DOMAINS_GENERIC is not set
-# CONFIG_PCI_SYSCALL is not set
-# CONFIG_PCCARD is not set
-
-#
-# Kernel Features
-#
-CONFIG_HAVE_SMP=y
-CONFIG_SMP=y
-CONFIG_SMP_ON_UP=y
-CONFIG_ARM_CPU_TOPOLOGY=y
-# CONFIG_SCHED_MC is not set
-# CONFIG_SCHED_SMT is not set
-CONFIG_HAVE_ARM_ARCH_TIMER=y
-# CONFIG_MCPM is not set
-# CONFIG_BIG_LITTLE is not set
-# CONFIG_VMSPLIT_3G is not set
-# CONFIG_VMSPLIT_3G_OPT is not set
-CONFIG_VMSPLIT_2G=y
-# CONFIG_VMSPLIT_1G is not set
-CONFIG_PAGE_OFFSET=0x80000000
-CONFIG_NR_CPUS=4
-# CONFIG_HOTPLUG_CPU is not set
-# CONFIG_ARM_PSCI is not set
-CONFIG_ARCH_NR_GPIO=0
-# CONFIG_PREEMPT_NONE is not set
-CONFIG_PREEMPT_VOLUNTARY=y
-# CONFIG_PREEMPT is not set
-CONFIG_HZ_FIXED=0
-CONFIG_HZ_100=y
-# CONFIG_HZ_200 is not set
-# CONFIG_HZ_250 is not set
-# CONFIG_HZ_300 is not set
-# CONFIG_HZ_500 is not set
-# CONFIG_HZ_1000 is not set
-CONFIG_HZ=100
-CONFIG_SCHED_HRTICK=y
-# CONFIG_THUMB2_KERNEL is not set
-CONFIG_AEABI=y
-# CONFIG_OABI_COMPAT is not set
-# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
-# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
-CONFIG_HAVE_ARCH_PFN_VALID=y
-CONFIG_HIGHMEM=y
-CONFIG_HIGHPTE=y
-CONFIG_CPU_SW_DOMAIN_PAN=y
-CONFIG_HW_PERF_EVENTS=y
-CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
-CONFIG_ARM_MODULE_PLTS=y
-CONFIG_FLATMEM=y
-CONFIG_FLAT_NODE_MEM_MAP=y
-CONFIG_HAVE_MEMBLOCK=y
-CONFIG_NO_BOOTMEM=y
-# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set
-CONFIG_SPLIT_PTLOCK_CPUS=4
-CONFIG_COMPACTION=y
-CONFIG_MIGRATION=y
-# CONFIG_PHYS_ADDR_T_64BIT is not set
-CONFIG_ZONE_DMA_FLAG=0
-CONFIG_BOUNCE=y
-CONFIG_KSM=y
-CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
-CONFIG_CLEANCACHE=y
-# CONFIG_FRONTSWAP is not set
-# CONFIG_CMA is not set
-# CONFIG_ZPOOL is not set
-# CONFIG_ZBUD is not set
-# CONFIG_ZSMALLOC is not set
-# CONFIG_IDLE_PAGE_TRACKING is not set
-CONFIG_FORCE_MAX_ZONEORDER=11
-CONFIG_ALIGNMENT_TRAP=y
-# CONFIG_UACCESS_WITH_MEMCPY is not set
-CONFIG_SECCOMP=y
-CONFIG_SWIOTLB=y
-CONFIG_IOMMU_HELPER=y
-# CONFIG_XEN is not set
-
-#
-# Boot options
-#
-CONFIG_USE_OF=y
-CONFIG_ATAGS=y
-# CONFIG_DEPRECATED_PARAM_STRUCT is not set
-CONFIG_ZBOOT_ROM_TEXT=0
-CONFIG_ZBOOT_ROM_BSS=0
-# CONFIG_ARM_APPENDED_DTB is not set
-CONFIG_CMDLINE=""
-CONFIG_CRASH_DUMP=y
-CONFIG_AUTO_ZRELADDR=y
-
-#
-# CPU Power Management
-#
-
-#
-# CPU Frequency scaling
-#
-# CONFIG_CPU_FREQ is not set
-
-#
-# CPU Idle
-#
-# CONFIG_CPU_IDLE is not set
-# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
-
-#
-# Floating point emulation
-#
-
-#
-# At least one emulation must be selected
-#
-CONFIG_VFP=y
-CONFIG_VFPv3=y
-# CONFIG_NEON is not set
-
-#
-# Userspace binary formats
-#
-CONFIG_BINFMT_ELF=y
-# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
-CONFIG_BINFMT_SCRIPT=y
-# CONFIG_HAVE_AOUT is not set
-# CONFIG_BINFMT_MISC is not set
-CONFIG_COREDUMP=y
-
-#
-# Power management options
-#
-# CONFIG_SUSPEND is not set
-# CONFIG_HIBERNATION is not set
-CONFIG_PM=y
-# CONFIG_PM_DEBUG is not set
-# CONFIG_APM_EMULATION is not set
-CONFIG_PM_CLK=y
-CONFIG_PM_GENERIC_DOMAINS=y
-# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
-CONFIG_PM_GENERIC_DOMAINS_OF=y
-CONFIG_ARCH_SUSPEND_POSSIBLE=y
-# CONFIG_ARM_CPU_SUSPEND is not set
-CONFIG_ARCH_HIBERNATION_POSSIBLE=y
-CONFIG_NET=y
-CONFIG_NET_INGRESS=y
-
-#
-# Networking options
-#
-CONFIG_PACKET=y
-# CONFIG_PACKET_DIAG is not set
-CONFIG_UNIX=y
-# CONFIG_UNIX_DIAG is not set
-CONFIG_XFRM=y
-# CONFIG_XFRM_USER is not set
-# CONFIG_XFRM_SUB_POLICY is not set
-# CONFIG_XFRM_MIGRATE is not set
-# CONFIG_XFRM_STATISTICS is not set
-# CONFIG_NET_KEY is not set
-CONFIG_INET=y
-# CONFIG_IP_MULTICAST is not set
-# CONFIG_IP_ADVANCED_ROUTER is not set
-# CONFIG_IP_PNP is not set
-# CONFIG_NET_IPIP is not set
-# CONFIG_NET_IPGRE_DEMUX is not set
-CONFIG_NET_IP_TUNNEL=y
-# CONFIG_SYN_COOKIES is not set
-# CONFIG_NET_IPVTI is not set
-# CONFIG_NET_UDP_TUNNEL is not set
-# CONFIG_NET_FOU is not set
-# CONFIG_NET_FOU_IP_TUNNELS is not set
-# CONFIG_INET_AH is not set
-# CONFIG_INET_ESP is not set
-# CONFIG_INET_IPCOMP is not set
-# CONFIG_INET_XFRM_TUNNEL is not set
-CONFIG_INET_TUNNEL=y
-CONFIG_INET_XFRM_MODE_TRANSPORT=y
-CONFIG_INET_XFRM_MODE_TUNNEL=y
-CONFIG_INET_XFRM_MODE_BEET=y
-CONFIG_INET_LRO=y
-CONFIG_INET_DIAG=y
-CONFIG_INET_TCP_DIAG=y
-# CONFIG_INET_UDP_DIAG is not set
-# CONFIG_TCP_CONG_ADVANCED is not set
-CONFIG_TCP_CONG_CUBIC=y
-CONFIG_DEFAULT_TCP_CONG="cubic"
-# CONFIG_TCP_MD5SIG is not set
-CONFIG_IPV6=y
-# CONFIG_IPV6_ROUTER_PREF is not set
-# CONFIG_IPV6_OPTIMISTIC_DAD is not set
-# CONFIG_INET6_AH is not set
-# CONFIG_INET6_ESP is not set
-# CONFIG_INET6_IPCOMP is not set
-# CONFIG_IPV6_MIP6 is not set
-# CONFIG_IPV6_ILA is not set
-# CONFIG_INET6_XFRM_TUNNEL is not set
-# CONFIG_INET6_TUNNEL is not set
-CONFIG_INET6_XFRM_MODE_TRANSPORT=y
-CONFIG_INET6_XFRM_MODE_TUNNEL=y
-CONFIG_INET6_XFRM_MODE_BEET=y
-# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
-# CONFIG_IPV6_VTI is not set
-CONFIG_IPV6_SIT=y
-# CONFIG_IPV6_SIT_6RD is not set
-CONFIG_IPV6_NDISC_NODETYPE=y
-# CONFIG_IPV6_TUNNEL is not set
-# CONFIG_IPV6_GRE is not set
-# CONFIG_IPV6_MULTIPLE_TABLES is not set
-# CONFIG_IPV6_MROUTE is not set
-CONFIG_NETWORK_SECMARK=y
-# CONFIG_NET_PTP_CLASSIFY is not set
-# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
-CONFIG_NETFILTER=y
-# CONFIG_NETFILTER_DEBUG is not set
-CONFIG_NETFILTER_ADVANCED=y
-
-#
-# Core Netfilter Configuration
-#
-CONFIG_NETFILTER_INGRESS=y
-# CONFIG_NETFILTER_NETLINK_ACCT is not set
-# CONFIG_NETFILTER_NETLINK_QUEUE is not set
-# CONFIG_NETFILTER_NETLINK_LOG is not set
-# CONFIG_NF_CONNTRACK is not set
-# CONFIG_NF_TABLES is not set
-# CONFIG_NETFILTER_XTABLES is not set
-# CONFIG_IP_SET is not set
-# CONFIG_IP_VS is not set
-
-#
-# IP: Netfilter Configuration
-#
-# CONFIG_NF_DEFRAG_IPV4 is not set
-# CONFIG_NF_DUP_IPV4 is not set
-# CONFIG_NF_LOG_ARP is not set
-# CONFIG_NF_LOG_IPV4 is not set
-# CONFIG_NF_REJECT_IPV4 is not set
-# CONFIG_IP_NF_IPTABLES is not set
-# CONFIG_IP_NF_ARPTABLES is not set
-
-#
-# IPv6: Netfilter Configuration
-#
-# CONFIG_NF_DEFRAG_IPV6 is not set
-# CONFIG_NF_DUP_IPV6 is not set
-# CONFIG_NF_REJECT_IPV6 is not set
-# CONFIG_NF_LOG_IPV6 is not set
-# CONFIG_IP6_NF_IPTABLES is not set
-# CONFIG_IP_DCCP is not set
-# CONFIG_IP_SCTP is not set
-# CONFIG_RDS is not set
-# CONFIG_TIPC is not set
-# CONFIG_ATM is not set
-# CONFIG_L2TP is not set
-# CONFIG_BRIDGE is not set
-CONFIG_HAVE_NET_DSA=y
-# CONFIG_VLAN_8021Q is not set
-# CONFIG_DECNET is not set
-# CONFIG_LLC2 is not set
-# CONFIG_IPX is not set
-# CONFIG_ATALK is not set
-# CONFIG_X25 is not set
-# CONFIG_LAPB is not set
-# CONFIG_PHONET is not set
-# CONFIG_6LOWPAN is not set
-# CONFIG_IEEE802154 is not set
-# CONFIG_NET_SCHED is not set
-# CONFIG_DCB is not set
-# CONFIG_BATMAN_ADV is not set
-# CONFIG_OPENVSWITCH is not set
-# CONFIG_VSOCKETS is not set
-# CONFIG_NETLINK_MMAP is not set
-# CONFIG_NETLINK_DIAG is not set
-# CONFIG_MPLS is not set
-# CONFIG_HSR is not set
-# CONFIG_NET_SWITCHDEV is not set
-# CONFIG_NET_L3_MASTER_DEV is not set
-CONFIG_RPS=y
-CONFIG_RFS_ACCEL=y
-CONFIG_XPS=y
-# CONFIG_CGROUP_NET_PRIO is not set
-# CONFIG_CGROUP_NET_CLASSID is not set
-CONFIG_NET_RX_BUSY_POLL=y
-CONFIG_BQL=y
-# CONFIG_BPF_JIT is not set
-CONFIG_NET_FLOW_LIMIT=y
-
-#
-# Network testing
-#
-# CONFIG_NET_PKTGEN is not set
-# CONFIG_NET_DROP_MONITOR is not set
-# CONFIG_HAMRADIO is not set
-# CONFIG_CAN is not set
-# CONFIG_IRDA is not set
-# CONFIG_BT is not set
-# CONFIG_AF_RXRPC is not set
-CONFIG_WIRELESS=y
-CONFIG_CFG80211=y
-# CONFIG_NL80211_TESTMODE is not set
-# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
-# CONFIG_CFG80211_REG_DEBUG is not set
-# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
-CONFIG_CFG80211_DEFAULT_PS=y
-# CONFIG_CFG80211_DEBUGFS is not set
-# CONFIG_CFG80211_INTERNAL_REGDB is not set
-CONFIG_CFG80211_CRDA_SUPPORT=y
-# CONFIG_CFG80211_WEXT is not set
-# CONFIG_LIB80211 is not set
-CONFIG_MAC80211=y
-CONFIG_MAC80211_HAS_RC=y
-CONFIG_MAC80211_RC_MINSTREL=y
-CONFIG_MAC80211_RC_MINSTREL_HT=y
-# CONFIG_MAC80211_RC_MINSTREL_VHT is not set
-CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
-CONFIG_MAC80211_RC_DEFAULT="minstrel_ht"
-# CONFIG_MAC80211_MESH is not set
-# CONFIG_MAC80211_LEDS is not set
-# CONFIG_MAC80211_DEBUGFS is not set
-# CONFIG_MAC80211_MESSAGE_TRACING is not set
-# CONFIG_MAC80211_DEBUG_MENU is not set
-CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
-# CONFIG_WIMAX is not set
-# CONFIG_RFKILL is not set
-# CONFIG_NET_9P is not set
-# CONFIG_CAIF is not set
-# CONFIG_CEPH_LIB is not set
-# CONFIG_NFC is not set
-# CONFIG_LWTUNNEL is not set
-CONFIG_HAVE_BPF_JIT=y
-
-#
-# Device Drivers
-#
-CONFIG_ARM_AMBA=y
-# CONFIG_TEGRA_AHB is not set
-
-#
-# Generic Driver Options
-#
-CONFIG_UEVENT_HELPER=y
-CONFIG_UEVENT_HELPER_PATH=""
-CONFIG_DEVTMPFS=y
-CONFIG_DEVTMPFS_MOUNT=y
-# CONFIG_STANDALONE is not set
-CONFIG_PREVENT_FIRMWARE_BUILD=y
-CONFIG_FW_LOADER=y
-CONFIG_FIRMWARE_IN_KERNEL=y
-CONFIG_EXTRA_FIRMWARE=""
-# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
-CONFIG_ALLOW_DEV_COREDUMP=y
-# CONFIG_DEBUG_DRIVER is not set
-# CONFIG_DEBUG_DEVRES is not set
-# CONFIG_SYS_HYPERVISOR is not set
-# CONFIG_GENERIC_CPU_DEVICES is not set
-CONFIG_REGMAP=y
-CONFIG_REGMAP_I2C=y
-CONFIG_REGMAP_SPI=y
-CONFIG_REGMAP_MMIO=y
-# CONFIG_DMA_SHARED_BUFFER is not set
-
-#
-# Bus devices
-#
-CONFIG_ARM_CCI=y
-CONFIG_ARM_CCI_PMU=y
-# CONFIG_ARM_CCI400_PMU is not set
-CONFIG_ARM_CCI500_PMU=y
-# CONFIG_ARM_CCN is not set
-# CONFIG_BRCMSTB_GISB_ARB is not set
-# CONFIG_VEXPRESS_CONFIG is not set
-# CONFIG_CONNECTOR is not set
-# CONFIG_MTD is not set
-CONFIG_DTC=y
-CONFIG_OF=y
-# CONFIG_OF_UNITTEST is not set
-CONFIG_OF_FLATTREE=y
-CONFIG_OF_EARLY_FLATTREE=y
-CONFIG_OF_ADDRESS=y
-CONFIG_OF_IRQ=y
-CONFIG_OF_NET=y
-CONFIG_OF_MDIO=y
-CONFIG_OF_RESERVED_MEM=y
-# CONFIG_OF_OVERLAY is not set
-CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
-# CONFIG_PARPORT is not set
-CONFIG_BLK_DEV=y
-# CONFIG_BLK_DEV_NULL_BLK is not set
-# CONFIG_BLK_DEV_COW_COMMON is not set
-# CONFIG_BLK_DEV_LOOP is not set
-# CONFIG_BLK_DEV_DRBD is not set
-# CONFIG_BLK_DEV_NBD is not set
-# CONFIG_BLK_DEV_RAM is not set
-# CONFIG_CDROM_PKTCDVD is not set
-# CONFIG_ATA_OVER_ETH is not set
-# CONFIG_MG_DISK is not set
-# CONFIG_BLK_DEV_RBD is not set
-
-#
-# Misc devices
-#
-# CONFIG_SENSORS_LIS3LV02D is not set
-# CONFIG_AD525X_DPOT is not set
-# CONFIG_DUMMY_IRQ is not set
-# CONFIG_ICS932S401 is not set
-# CONFIG_ENCLOSURE_SERVICES is not set
-# CONFIG_APDS9802ALS is not set
-# CONFIG_ISL29003 is not set
-# CONFIG_ISL29020 is not set
-# CONFIG_SENSORS_TSL2550 is not set
-# CONFIG_SENSORS_BH1780 is not set
-# CONFIG_SENSORS_BH1770 is not set
-# CONFIG_SENSORS_APDS990X is not set
-# CONFIG_HMC6352 is not set
-# CONFIG_DS1682 is not set
-# CONFIG_TI_DAC7512 is not set
-# CONFIG_BMP085_I2C is not set
-# CONFIG_BMP085_SPI is not set
-# CONFIG_USB_SWITCH_FSA9480 is not set
-# CONFIG_LATTICE_ECP3_CONFIG is not set
-# CONFIG_SRAM is not set
-# CONFIG_C2PORT is not set
-
-#
-# EEPROM support
-#
-# CONFIG_EEPROM_AT24 is not set
-# CONFIG_EEPROM_AT25 is not set
-# CONFIG_EEPROM_LEGACY is not set
-# CONFIG_EEPROM_MAX6875 is not set
-# CONFIG_EEPROM_93CX6 is not set
-# CONFIG_EEPROM_93XX46 is not set
-
-#
-# Texas Instruments shared transport line discipline
-#
-# CONFIG_TI_ST is not set
-# CONFIG_SENSORS_LIS3_SPI is not set
-# CONFIG_SENSORS_LIS3_I2C is not set
-
-#
-# Altera FPGA firmware download module
-#
-# CONFIG_ALTERA_STAPL is not set
-
-#
-# Intel MIC Bus Driver
-#
-
-#
-# SCIF Bus Driver
-#
-
-#
-# Intel MIC Host Driver
-#
-
-#
-# Intel MIC Card Driver
-#
-
-#
-# SCIF Driver
-#
-
-#
-# Intel MIC Coprocessor State Management (COSM) Drivers
-#
-# CONFIG_ECHO is not set
-# CONFIG_CXL_BASE is not set
-# CONFIG_CXL_KERNEL_API is not set
-# CONFIG_CXL_EEH is not set
-
-#
-# SCSI device support
-#
-CONFIG_SCSI_MOD=y
-# CONFIG_RAID_ATTRS is not set
-CONFIG_SCSI=y
-CONFIG_SCSI_DMA=y
-# CONFIG_SCSI_NETLINK is not set
-# CONFIG_SCSI_MQ_DEFAULT is not set
-CONFIG_SCSI_PROC_FS=y
-
-#
-# SCSI support type (disk, tape, CD-ROM)
-#
-CONFIG_BLK_DEV_SD=y
-# CONFIG_CHR_DEV_ST is not set
-# CONFIG_CHR_DEV_OSST is not set
-# CONFIG_BLK_DEV_SR is not set
-# CONFIG_CHR_DEV_SG is not set
-# CONFIG_CHR_DEV_SCH is not set
-CONFIG_SCSI_CONSTANTS=y
-# CONFIG_SCSI_LOGGING is not set
-CONFIG_SCSI_SCAN_ASYNC=y
-
-#
-# SCSI Transports
-#
-# CONFIG_SCSI_SPI_ATTRS is not set
-# CONFIG_SCSI_FC_ATTRS is not set
-# CONFIG_SCSI_ISCSI_ATTRS is not set
-# CONFIG_SCSI_SAS_ATTRS is not set
-# CONFIG_SCSI_SAS_LIBSAS is not set
-# CONFIG_SCSI_SRP_ATTRS is not set
-CONFIG_SCSI_LOWLEVEL=y
-# CONFIG_ISCSI_TCP is not set
-# CONFIG_ISCSI_BOOT_SYSFS is not set
-# CONFIG_SCSI_UFSHCD is not set
-# CONFIG_SCSI_DEBUG is not set
-# CONFIG_SCSI_DH is not set
-# CONFIG_SCSI_OSD_INITIATOR is not set
-# CONFIG_ATA is not set
-# CONFIG_MD is not set
-# CONFIG_TARGET_CORE is not set
-CONFIG_NETDEVICES=y
-CONFIG_MII=y
-CONFIG_NET_CORE=y
-# CONFIG_BONDING is not set
-# CONFIG_DUMMY is not set
-# CONFIG_EQUALIZER is not set
-# CONFIG_NET_TEAM is not set
-# CONFIG_MACVLAN is not set
-# CONFIG_IPVLAN is not set
-# CONFIG_VXLAN is not set
-# CONFIG_NETCONSOLE is not set
-# CONFIG_NETPOLL is not set
-# CONFIG_NET_POLL_CONTROLLER is not set
-# CONFIG_TUN is not set
-# CONFIG_TUN_VNET_CROSS_LE is not set
-# CONFIG_VETH is not set
-# CONFIG_NLMON is not set
-
-#
-# CAIF transport drivers
-#
-
-#
-# Distributed Switch Architecture drivers
-#
-# CONFIG_NET_DSA_MV88E6XXX is not set
-# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
-CONFIG_ETHERNET=y
-# CONFIG_ALTERA_TSE is not set
-CONFIG_NET_VENDOR_ARC=y
-# CONFIG_ARC_EMAC is not set
-# CONFIG_NET_VENDOR_AURORA is not set
-CONFIG_NET_CADENCE=y
-# CONFIG_MACB is not set
-CONFIG_NET_VENDOR_BROADCOM=y
-# CONFIG_B44 is not set
-# CONFIG_BCMGENET is not set
-# CONFIG_SYSTEMPORT is not set
-CONFIG_NET_VENDOR_CIRRUS=y
-# CONFIG_CS89x0 is not set
-# CONFIG_DM9000 is not set
-# CONFIG_DNET is not set
-CONFIG_NET_VENDOR_EZCHIP=y
-# CONFIG_EZCHIP_NPS_MANAGEMENT_ENET is not set
-CONFIG_NET_VENDOR_FARADAY=y
-# CONFIG_FTMAC100 is not set
-# CONFIG_FTGMAC100 is not set
-CONFIG_NET_VENDOR_HISILICON=y
-# CONFIG_HIX5HD2_GMAC is not set
-# CONFIG_HIP04_ETH is not set
-# CONFIG_HNS is not set
-# CONFIG_HNS_DSAF is not set
-# CONFIG_HNS_ENET is not set
-CONFIG_NET_VENDOR_INTEL=y
-CONFIG_NET_VENDOR_I825XX=y
-CONFIG_NET_VENDOR_MARVELL=y
-# CONFIG_MVMDIO is not set
-CONFIG_NET_VENDOR_MICREL=y
-# CONFIG_KS8842 is not set
-# CONFIG_KS8851 is not set
-# CONFIG_KS8851_MLL is not set
-CONFIG_NET_VENDOR_MICROCHIP=y
-# CONFIG_ENC28J60 is not set
-# CONFIG_ENCX24J600 is not set
-CONFIG_NET_VENDOR_NATSEMI=y
-CONFIG_NET_VENDOR_8390=y
-# CONFIG_AX88796 is not set
-# CONFIG_ETHOC is not set
-CONFIG_NET_VENDOR_QUALCOMM=y
-# CONFIG_QCA7000 is not set
-CONFIG_NET_VENDOR_RENESAS=y
-CONFIG_NET_VENDOR_ROCKER=y
-CONFIG_NET_VENDOR_SAMSUNG=y
-# CONFIG_SXGBE_ETH is not set
-CONFIG_NET_VENDOR_SEEQ=y
-CONFIG_NET_VENDOR_SMSC=y
-# CONFIG_SMC91X is not set
-# CONFIG_SMC911X is not set
-# CONFIG_SMSC911X is not set
-CONFIG_NET_VENDOR_STMICRO=y
-# CONFIG_STMMAC_ETH is not set
-CONFIG_NET_VENDOR_SYNOPSYS=y
-# CONFIG_SYNOPSYS_DWC_ETH_QOS is not set
-CONFIG_NET_VENDOR_VIA=y
-# CONFIG_VIA_RHINE is not set
-# CONFIG_VIA_VELOCITY is not set
-CONFIG_NET_VENDOR_WIZNET=y
-# CONFIG_WIZNET_W5100 is not set
-# CONFIG_WIZNET_W5300 is not set
-CONFIG_PHYLIB=y
-
-#
-# MII PHY device drivers
-#
-# CONFIG_AQUANTIA_PHY is not set
-# CONFIG_AT803X_PHY is not set
-# CONFIG_AMD_PHY is not set
-# CONFIG_MARVELL_PHY is not set
-# CONFIG_DAVICOM_PHY is not set
-# CONFIG_QSEMI_PHY is not set
-# CONFIG_LXT_PHY is not set
-# CONFIG_CICADA_PHY is not set
-# CONFIG_VITESSE_PHY is not set
-# CONFIG_TERANETICS_PHY is not set
-# CONFIG_SMSC_PHY is not set
-# CONFIG_BROADCOM_PHY is not set
-# CONFIG_BCM7XXX_PHY is not set
-# CONFIG_BCM87XX_PHY is not set
-# CONFIG_ICPLUS_PHY is not set
-# CONFIG_REALTEK_PHY is not set
-# CONFIG_NATIONAL_PHY is not set
-# CONFIG_STE10XP is not set
-# CONFIG_LSI_ET1011C_PHY is not set
-# CONFIG_MICREL_PHY is not set
-# CONFIG_DP83848_PHY is not set
-# CONFIG_DP83867_PHY is not set
-# CONFIG_MICROCHIP_PHY is not set
-# CONFIG_FIXED_PHY is not set
-# CONFIG_MDIO_BITBANG is not set
-# CONFIG_MDIO_BUS_MUX_GPIO is not set
-# CONFIG_MDIO_BUS_MUX_MMIOREG is not set
-# CONFIG_MDIO_BCM_UNIMAC is not set
-# CONFIG_MICREL_KS8995MA is not set
-# CONFIG_PPP is not set
-# CONFIG_SLIP is not set
-CONFIG_USB_NET_DRIVERS=y
-# CONFIG_USB_CATC is not set
-# CONFIG_USB_KAWETH is not set
-# CONFIG_USB_PEGASUS is not set
-# CONFIG_USB_RTL8150 is not set
-# CONFIG_USB_RTL8152 is not set
-# CONFIG_USB_LAN78XX is not set
-CONFIG_USB_USBNET=y
-# CONFIG_USB_NET_AX8817X is not set
-# CONFIG_USB_NET_AX88179_178A is not set
-# CONFIG_USB_NET_CDCETHER is not set
-# CONFIG_USB_NET_CDC_EEM is not set
-# CONFIG_USB_NET_CDC_NCM is not set
-# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set
-# CONFIG_USB_NET_CDC_MBIM is not set
-# CONFIG_USB_NET_DM9601 is not set
-# CONFIG_USB_NET_SR9700 is not set
-# CONFIG_USB_NET_SR9800 is not set
-# CONFIG_USB_NET_SMSC75XX is not set
-CONFIG_USB_NET_SMSC95XX=y
-# CONFIG_USB_NET_GL620A is not set
-# CONFIG_USB_NET_NET1080 is not set
-# CONFIG_USB_NET_PLUSB is not set
-# CONFIG_USB_NET_MCS7830 is not set
-# CONFIG_USB_NET_RNDIS_HOST is not set
-# CONFIG_USB_NET_CDC_SUBSET is not set
-# CONFIG_USB_NET_ZAURUS is not set
-# CONFIG_USB_NET_CX82310_ETH is not set
-# CONFIG_USB_NET_KALMIA is not set
-# CONFIG_USB_NET_QMI_WWAN is not set
-# CONFIG_USB_NET_INT51X1 is not set
-# CONFIG_USB_IPHETH is not set
-# CONFIG_USB_SIERRA_NET is not set
-# CONFIG_USB_NET_CH9200 is not set
-CONFIG_WLAN=y
-# CONFIG_LIBERTAS_THINFIRM is not set
-# CONFIG_AT76C50X_USB is not set
-# CONFIG_USB_ZD1201 is not set
-# CONFIG_USB_NET_RNDIS_WLAN is not set
-# CONFIG_RTL8187 is not set
-# CONFIG_MAC80211_HWSIM is not set
-# CONFIG_ATH_CARDS is not set
-# CONFIG_B43 is not set
-# CONFIG_B43LEGACY is not set
-# CONFIG_BRCMSMAC is not set
-# CONFIG_BRCMFMAC is not set
-# CONFIG_HOSTAP is not set
-# CONFIG_LIBERTAS is not set
-# CONFIG_P54_COMMON is not set
-# CONFIG_RT2X00 is not set
-# CONFIG_WL_MEDIATEK is not set
-CONFIG_RTL_CARDS=y
-# CONFIG_RTL8192CU is not set
-# CONFIG_RTL8XXXU is not set
-# CONFIG_WL_TI is not set
-# CONFIG_ZD1211RW is not set
-# CONFIG_MWIFIEX is not set
-# CONFIG_CW1200 is not set
-# CONFIG_RSI_91X is not set
-
-#
-# Enable WiMAX (Networking options) to see the WiMAX drivers
-#
-# CONFIG_WAN is not set
-# CONFIG_ISDN is not set
-# CONFIG_NVM is not set
-
-#
-# Input device support
-#
-CONFIG_INPUT=y
-CONFIG_INPUT_LEDS=y
-# CONFIG_INPUT_FF_MEMLESS is not set
-# CONFIG_INPUT_POLLDEV is not set
-# CONFIG_INPUT_SPARSEKMAP is not set
-# CONFIG_INPUT_MATRIXKMAP is not set
-
-#
-# Userland interfaces
-#
-CONFIG_INPUT_MOUSEDEV=y
-CONFIG_INPUT_MOUSEDEV_PSAUX=y
-CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
-CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
-# CONFIG_INPUT_JOYDEV is not set
-CONFIG_INPUT_EVDEV=y
-# CONFIG_INPUT_EVBUG is not set
-
-#
-# Input Device Drivers
-#
-CONFIG_INPUT_KEYBOARD=y
-# CONFIG_KEYBOARD_ADP5588 is not set
-# CONFIG_KEYBOARD_ADP5589 is not set
-CONFIG_KEYBOARD_ATKBD=y
-# CONFIG_KEYBOARD_QT1070 is not set
-# CONFIG_KEYBOARD_QT2160 is not set
-# CONFIG_KEYBOARD_LKKBD is not set
-# CONFIG_KEYBOARD_GPIO is not set
-# CONFIG_KEYBOARD_GPIO_POLLED is not set
-# CONFIG_KEYBOARD_TCA6416 is not set
-# CONFIG_KEYBOARD_TCA8418 is not set
-# CONFIG_KEYBOARD_MATRIX is not set
-# CONFIG_KEYBOARD_LM8323 is not set
-# CONFIG_KEYBOARD_LM8333 is not set
-# CONFIG_KEYBOARD_MAX7359 is not set
-# CONFIG_KEYBOARD_MCS is not set
-# CONFIG_KEYBOARD_MPR121 is not set
-# CONFIG_KEYBOARD_NEWTON is not set
-# CONFIG_KEYBOARD_OPENCORES is not set
-# CONFIG_KEYBOARD_SAMSUNG is not set
-# CONFIG_KEYBOARD_STOWAWAY is not set
-# CONFIG_KEYBOARD_SUNKBD is not set
-# CONFIG_KEYBOARD_OMAP4 is not set
-# CONFIG_KEYBOARD_XTKBD is not set
-# CONFIG_KEYBOARD_CAP11XX is not set
-# CONFIG_KEYBOARD_BCM is not set
-CONFIG_INPUT_MOUSE=y
-CONFIG_MOUSE_PS2=y
-CONFIG_MOUSE_PS2_ALPS=y
-CONFIG_MOUSE_PS2_LOGIPS2PP=y
-CONFIG_MOUSE_PS2_SYNAPTICS=y
-CONFIG_MOUSE_PS2_CYPRESS=y
-CONFIG_MOUSE_PS2_TRACKPOINT=y
-# CONFIG_MOUSE_PS2_ELANTECH is not set
-# CONFIG_MOUSE_PS2_SENTELIC is not set
-# CONFIG_MOUSE_PS2_TOUCHKIT is not set
-CONFIG_MOUSE_PS2_FOCALTECH=y
-# CONFIG_MOUSE_SERIAL is not set
-# CONFIG_MOUSE_APPLETOUCH is not set
-# CONFIG_MOUSE_BCM5974 is not set
-# CONFIG_MOUSE_CYAPA is not set
-# CONFIG_MOUSE_ELAN_I2C is not set
-# CONFIG_MOUSE_VSXXXAA is not set
-# CONFIG_MOUSE_GPIO is not set
-# CONFIG_MOUSE_SYNAPTICS_I2C is not set
-# CONFIG_MOUSE_SYNAPTICS_USB is not set
-# CONFIG_INPUT_JOYSTICK is not set
-# CONFIG_INPUT_TABLET is not set
-# CONFIG_INPUT_TOUCHSCREEN is not set
-# CONFIG_INPUT_MISC is not set
-
-#
-# Hardware I/O ports
-#
-CONFIG_SERIO=y
-CONFIG_SERIO_SERPORT=y
-# CONFIG_SERIO_AMBAKMI is not set
-CONFIG_SERIO_LIBPS2=y
-# CONFIG_SERIO_RAW is not set
-# CONFIG_SERIO_ALTERA_PS2 is not set
-# CONFIG_SERIO_PS2MULT is not set
-# CONFIG_SERIO_ARC_PS2 is not set
-# CONFIG_SERIO_APBPS2 is not set
-# CONFIG_USERIO is not set
-# CONFIG_GAMEPORT is not set
-
-#
-# Character devices
-#
-CONFIG_TTY=y
-CONFIG_VT=y
-CONFIG_CONSOLE_TRANSLATIONS=y
-CONFIG_VT_CONSOLE=y
-CONFIG_HW_CONSOLE=y
-CONFIG_VT_HW_CONSOLE_BINDING=y
-CONFIG_UNIX98_PTYS=y
-# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
-# CONFIG_LEGACY_PTYS is not set
-# CONFIG_SERIAL_NONSTANDARD is not set
-# CONFIG_N_GSM is not set
-# CONFIG_TRACE_SINK is not set
-CONFIG_DEVMEM=y
-# CONFIG_DEVKMEM is not set
-
-#
-# Serial drivers
-#
-CONFIG_SERIAL_EARLYCON=y
-# CONFIG_SERIAL_8250 is not set
-
-#
-# Non-8250 serial port support
-#
-# CONFIG_SERIAL_AMBA_PL010 is not set
-CONFIG_SERIAL_AMBA_PL011=y
-CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
-# CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST is not set
-# CONFIG_SERIAL_KGDB_NMI is not set
-# CONFIG_SERIAL_MAX3100 is not set
-# CONFIG_SERIAL_MAX310X is not set
-# CONFIG_SERIAL_UARTLITE is not set
-CONFIG_SERIAL_CORE=y
-CONFIG_SERIAL_CORE_CONSOLE=y
-CONFIG_CONSOLE_POLL=y
-# CONFIG_SERIAL_SCCNXP is not set
-# CONFIG_SERIAL_SC16IS7XX is not set
-# CONFIG_SERIAL_BCM63XX is not set
-# CONFIG_SERIAL_ALTERA_JTAGUART is not set
-# CONFIG_SERIAL_ALTERA_UART is not set
-# CONFIG_SERIAL_IFX6X60 is not set
-# CONFIG_SERIAL_XILINX_PS_UART is not set
-# CONFIG_SERIAL_ARC is not set
-# CONFIG_SERIAL_FSL_LPUART is not set
-# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set
-# CONFIG_SERIAL_ST_ASC is not set
-# CONFIG_SERIAL_STM32 is not set
-CONFIG_TTY_PRINTK=y
-# CONFIG_HVC_DCC is not set
-# CONFIG_IPMI_HANDLER is not set
-CONFIG_HW_RANDOM=y
-# CONFIG_HW_RANDOM_TIMERIOMEM is not set
-CONFIG_HW_RANDOM_BCM2835=y
-# CONFIG_R3964 is not set
-# CONFIG_RAW_DRIVER is not set
-# CONFIG_TCG_TPM is not set
-# CONFIG_XILLYBUS is not set
-
-#
-# I2C support
-#
-CONFIG_I2C=y
-CONFIG_I2C_BOARDINFO=y
-CONFIG_I2C_COMPAT=y
-# CONFIG_I2C_CHARDEV is not set
-# CONFIG_I2C_MUX is not set
-CONFIG_I2C_HELPER_AUTO=y
-
-#
-# I2C Hardware Bus support
-#
-
-#
-# I2C system bus drivers (mostly embedded / system-on-chip)
-#
-CONFIG_I2C_BCM2835=y
-# CONFIG_I2C_CBUS_GPIO is not set
-# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
-# CONFIG_I2C_EMEV2 is not set
-# CONFIG_I2C_GPIO is not set
-# CONFIG_I2C_NOMADIK is not set
-# CONFIG_I2C_OCORES is not set
-# CONFIG_I2C_PCA_PLATFORM is not set
-# CONFIG_I2C_PXA_PCI is not set
-# CONFIG_I2C_RK3X is not set
-# CONFIG_I2C_SIMTEC is not set
-# CONFIG_I2C_XILINX is not set
-
-#
-# External I2C/SMBus adapter drivers
-#
-# CONFIG_I2C_DIOLAN_U2C is not set
-# CONFIG_I2C_PARPORT_LIGHT is not set
-# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
-# CONFIG_I2C_TAOS_EVM is not set
-# CONFIG_I2C_TINY_USB is not set
-
-#
-# Other I2C/SMBus bus drivers
-#
-# CONFIG_I2C_STUB is not set
-# CONFIG_I2C_SLAVE is not set
-# CONFIG_I2C_DEBUG_CORE is not set
-# CONFIG_I2C_DEBUG_ALGO is not set
-# CONFIG_I2C_DEBUG_BUS is not set
-CONFIG_SPI=y
-# CONFIG_SPI_DEBUG is not set
-CONFIG_SPI_MASTER=y
-
-#
-# SPI Master Controller Drivers
-#
-# CONFIG_SPI_ALTERA is not set
-CONFIG_SPI_BCM2835=y
-# CONFIG_SPI_BCM2835AUX is not set
-# CONFIG_SPI_BITBANG is not set
-# CONFIG_SPI_CADENCE is not set
-# CONFIG_SPI_GPIO is not set
-# CONFIG_SPI_FSL_SPI is not set
-# CONFIG_SPI_OC_TINY is not set
-# CONFIG_SPI_PL022 is not set
-# CONFIG_SPI_PXA2XX_PCI is not set
-# CONFIG_SPI_ROCKCHIP is not set
-# CONFIG_SPI_SC18IS602 is not set
-# CONFIG_SPI_XCOMM is not set
-# CONFIG_SPI_XILINX is not set
-# CONFIG_SPI_ZYNQMP_GQSPI is not set
-# CONFIG_SPI_DESIGNWARE is not set
-
-#
-# SPI Protocol Masters
-#
-# CONFIG_SPI_SPIDEV is not set
-# CONFIG_SPI_TLE62X0 is not set
-# CONFIG_SPMI is not set
-# CONFIG_HSI is not set
-
-#
-# PPS support
-#
-# CONFIG_PPS is not set
-
-#
-# PPS generators support
-#
-
-#
-# PTP clock support
-#
-# CONFIG_PTP_1588_CLOCK is not set
-
-#
-# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
-#
-CONFIG_PINCTRL=y
-
-#
-# Pin controllers
-#
-CONFIG_PINMUX=y
-CONFIG_PINCONF=y
-# CONFIG_DEBUG_PINCTRL is not set
-# CONFIG_PINCTRL_AMD is not set
-# CONFIG_PINCTRL_SINGLE is not set
-CONFIG_PINCTRL_BCM2835=y
-CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
-CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
-CONFIG_ARCH_REQUIRE_GPIOLIB=y
-CONFIG_GPIOLIB=y
-CONFIG_GPIO_DEVRES=y
-CONFIG_OF_GPIO=y
-# CONFIG_DEBUG_GPIO is not set
-CONFIG_GPIO_SYSFS=y
-
-#
-# Memory mapped GPIO drivers
-#
-# CONFIG_GPIO_74XX_MMIO is not set
-# CONFIG_GPIO_ALTERA is not set
-# CONFIG_GPIO_DWAPB is not set
-# CONFIG_GPIO_EM is not set
-# CONFIG_GPIO_GENERIC_PLATFORM is not set
-# CONFIG_GPIO_GRGPIO is not set
-# CONFIG_GPIO_PL061 is not set
-# CONFIG_GPIO_XILINX is not set
-# CONFIG_GPIO_ZEVIO is not set
-# CONFIG_GPIO_ZX is not set
-
-#
-# I2C GPIO expanders
-#
-# CONFIG_GPIO_ADP5588 is not set
-# CONFIG_GPIO_ADNP is not set
-# CONFIG_GPIO_MAX7300 is not set
-# CONFIG_GPIO_MAX732X is not set
-# CONFIG_GPIO_PCA953X is not set
-# CONFIG_GPIO_PCF857X is not set
-# CONFIG_GPIO_SX150X is not set
-
-#
-# MFD GPIO expanders
-#
-
-#
-# SPI GPIO expanders
-#
-# CONFIG_GPIO_74X164 is not set
-# CONFIG_GPIO_MAX7301 is not set
-# CONFIG_GPIO_MC33880 is not set
-
-#
-# SPI or I2C GPIO expanders
-#
-# CONFIG_GPIO_MCP23S08 is not set
-
-#
-# USB GPIO expanders
-#
-# CONFIG_W1 is not set
-# CONFIG_POWER_SUPPLY is not set
-# CONFIG_POWER_AVS is not set
-# CONFIG_HWMON is not set
-# CONFIG_THERMAL is not set
-CONFIG_WATCHDOG=y
-CONFIG_WATCHDOG_CORE=y
-# CONFIG_WATCHDOG_NOWAYOUT is not set
-
-#
-# Watchdog Device Drivers
-#
-# CONFIG_SOFT_WATCHDOG is not set
-# CONFIG_GPIO_WATCHDOG is not set
-# CONFIG_XILINX_WATCHDOG is not set
-# CONFIG_ARM_SP805_WATCHDOG is not set
-# CONFIG_CADENCE_WATCHDOG is not set
-# CONFIG_DW_WATCHDOG is not set
-# CONFIG_MAX63XX_WATCHDOG is not set
-CONFIG_BCM2835_WDT=y
-# CONFIG_BCM7038_WDT is not set
-# CONFIG_MEN_A21_WDT is not set
-
-#
-# USB-based Watchdog Cards
-#
-# CONFIG_USBPCWATCHDOG is not set
-CONFIG_SSB_POSSIBLE=y
-
-#
-# Sonics Silicon Backplane
-#
-# CONFIG_SSB is not set
-CONFIG_BCMA_POSSIBLE=y
-
-#
-# Broadcom specific AMBA
-#
-# CONFIG_BCMA is not set
-
-#
-# Multifunction device drivers
-#
-# CONFIG_MFD_CORE is not set
-# CONFIG_MFD_AS3711 is not set
-# CONFIG_MFD_AS3722 is not set
-# CONFIG_PMIC_ADP5520 is not set
-# CONFIG_MFD_AAT2870_CORE is not set
-# CONFIG_MFD_ATMEL_FLEXCOM is not set
-# CONFIG_MFD_ATMEL_HLCDC is not set
-# CONFIG_MFD_BCM590XX is not set
-# CONFIG_MFD_AXP20X is not set
-# CONFIG_MFD_CROS_EC is not set
-# CONFIG_MFD_ASIC3 is not set
-# CONFIG_PMIC_DA903X is not set
-# CONFIG_MFD_DA9052_SPI is not set
-# CONFIG_MFD_DA9052_I2C is not set
-# CONFIG_MFD_DA9055 is not set
-# CONFIG_MFD_DA9062 is not set
-# CONFIG_MFD_DA9063 is not set
-# CONFIG_MFD_DA9150 is not set
-# CONFIG_MFD_DLN2 is not set
-# CONFIG_MFD_MC13XXX_SPI is not set
-# CONFIG_MFD_MC13XXX_I2C is not set
-# CONFIG_MFD_HI6421_PMIC is not set
-# CONFIG_HTC_EGPIO is not set
-# CONFIG_HTC_PASIC3 is not set
-# CONFIG_HTC_I2CPLD is not set
-# CONFIG_INTEL_SOC_PMIC is not set
-# CONFIG_MFD_KEMPLD is not set
-# CONFIG_MFD_88PM800 is not set
-# CONFIG_MFD_88PM805 is not set
-# CONFIG_MFD_88PM860X is not set
-# CONFIG_MFD_MAX14577 is not set
-# CONFIG_MFD_MAX77686 is not set
-# CONFIG_MFD_MAX77693 is not set
-# CONFIG_MFD_MAX77843 is not set
-# CONFIG_MFD_MAX8907 is not set
-# CONFIG_MFD_MAX8925 is not set
-# CONFIG_MFD_MAX8997 is not set
-# CONFIG_MFD_MAX8998 is not set
-# CONFIG_MFD_MT6397 is not set
-# CONFIG_MFD_MENF21BMC is not set
-# CONFIG_EZX_PCAP is not set
-# CONFIG_MFD_VIPERBOARD is not set
-# CONFIG_MFD_RETU is not set
-# CONFIG_MFD_PCF50633 is not set
-# CONFIG_MFD_PM8921_CORE is not set
-# CONFIG_MFD_RT5033 is not set
-# CONFIG_MFD_RTSX_USB is not set
-# CONFIG_MFD_RC5T583 is not set
-# CONFIG_MFD_RK808 is not set
-# CONFIG_MFD_RN5T618 is not set
-# CONFIG_MFD_SEC_CORE is not set
-# CONFIG_MFD_SI476X_CORE is not set
-# CONFIG_MFD_SM501 is not set
-# CONFIG_MFD_SKY81452 is not set
-# CONFIG_MFD_SMSC is not set
-# CONFIG_ABX500_CORE is not set
-# CONFIG_MFD_STMPE is not set
-# CONFIG_MFD_SYSCON is not set
-# CONFIG_MFD_TI_AM335X_TSCADC is not set
-# CONFIG_MFD_LP3943 is not set
-# CONFIG_MFD_LP8788 is not set
-# CONFIG_MFD_PALMAS is not set
-# CONFIG_TPS6105X is not set
-# CONFIG_TPS65010 is not set
-# CONFIG_TPS6507X is not set
-# CONFIG_MFD_TPS65090 is not set
-# CONFIG_MFD_TPS65217 is not set
-# CONFIG_MFD_TPS65218 is not set
-# CONFIG_MFD_TPS6586X is not set
-# CONFIG_MFD_TPS65910 is not set
-# CONFIG_MFD_TPS65912 is not set
-# CONFIG_MFD_TPS65912_I2C is not set
-# CONFIG_MFD_TPS65912_SPI is not set
-# CONFIG_MFD_TPS80031 is not set
-# CONFIG_TWL4030_CORE is not set
-# CONFIG_TWL6040_CORE is not set
-# CONFIG_MFD_WL1273_CORE is not set
-# CONFIG_MFD_LM3533 is not set
-# CONFIG_MFD_TC3589X is not set
-# CONFIG_MFD_TMIO is not set
-# CONFIG_MFD_T7L66XB is not set
-# CONFIG_MFD_TC6387XB is not set
-# CONFIG_MFD_TC6393XB is not set
-# CONFIG_MFD_ARIZONA_I2C is not set
-# CONFIG_MFD_ARIZONA_SPI is not set
-# CONFIG_MFD_WM8400 is not set
-# CONFIG_MFD_WM831X_I2C is not set
-# CONFIG_MFD_WM831X_SPI is not set
-# CONFIG_MFD_WM8350_I2C is not set
-# CONFIG_MFD_WM8994 is not set
-# CONFIG_REGULATOR is not set
-# CONFIG_MEDIA_SUPPORT is not set
-
-#
-# Graphics support
-#
-# CONFIG_DRM is not set
-
-#
-# Frame buffer Devices
-#
-CONFIG_FB=y
-# CONFIG_FIRMWARE_EDID is not set
-CONFIG_FB_CMDLINE=y
-# CONFIG_FB_DDC is not set
-# CONFIG_FB_BOOT_VESA_SUPPORT is not set
-CONFIG_FB_CFB_FILLRECT=y
-CONFIG_FB_CFB_COPYAREA=y
-CONFIG_FB_CFB_IMAGEBLIT=y
-# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
-# CONFIG_FB_SYS_FILLRECT is not set
-# CONFIG_FB_SYS_COPYAREA is not set
-# CONFIG_FB_SYS_IMAGEBLIT is not set
-# CONFIG_FB_FOREIGN_ENDIAN is not set
-# CONFIG_FB_SYS_FOPS is not set
-# CONFIG_FB_SVGALIB is not set
-# CONFIG_FB_MACMODES is not set
-# CONFIG_FB_BACKLIGHT is not set
-# CONFIG_FB_MODE_HELPERS is not set
-# CONFIG_FB_TILEBLITTING is not set
-
-#
-# Frame buffer hardware drivers
-#
-# CONFIG_FB_ARMCLCD is not set
-# CONFIG_FB_OPENCORES is not set
-# CONFIG_FB_S1D13XXX is not set
-# CONFIG_FB_SMSCUFX is not set
-# CONFIG_FB_UDL is not set
-# CONFIG_FB_IBM_GXT4500 is not set
-# CONFIG_FB_VIRTUAL is not set
-# CONFIG_FB_METRONOME is not set
-# CONFIG_FB_BROADSHEET is not set
-# CONFIG_FB_AUO_K190X is not set
-CONFIG_FB_SIMPLE=y
-# CONFIG_FB_SSD1307 is not set
-# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
-# CONFIG_VGASTATE is not set
-
-#
-# Console display driver support
-#
-CONFIG_DUMMY_CONSOLE=y
-CONFIG_FRAMEBUFFER_CONSOLE=y
-CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
-# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
-# CONFIG_LOGO is not set
-CONFIG_SOUND=y
-# CONFIG_SOUND_OSS_CORE is not set
-CONFIG_SND=y
-CONFIG_SND_TIMER=y
-CONFIG_SND_PCM=y
-CONFIG_SND_DMAENGINE_PCM=y
-CONFIG_SND_JACK=y
-# CONFIG_SND_SEQUENCER is not set
-# CONFIG_SND_MIXER_OSS is not set
-# CONFIG_SND_PCM_OSS is not set
-CONFIG_SND_PCM_TIMER=y
-# CONFIG_SND_HRTIMER is not set
-# CONFIG_SND_DYNAMIC_MINORS is not set
-CONFIG_SND_SUPPORT_OLD_API=y
-CONFIG_SND_PROC_FS=y
-CONFIG_SND_VERBOSE_PROCFS=y
-# CONFIG_SND_VERBOSE_PRINTK is not set
-# CONFIG_SND_DEBUG is not set
-# CONFIG_SND_RAWMIDI_SEQ is not set
-# CONFIG_SND_OPL3_LIB_SEQ is not set
-# CONFIG_SND_OPL4_LIB_SEQ is not set
-# CONFIG_SND_SBAWE_SEQ is not set
-# CONFIG_SND_EMU10K1_SEQ is not set
-CONFIG_SND_DRIVERS=y
-# CONFIG_SND_DUMMY is not set
-# CONFIG_SND_ALOOP is not set
-# CONFIG_SND_MTPAV is not set
-# CONFIG_SND_SERIAL_U16550 is not set
-# CONFIG_SND_MPU401 is not set
-
-#
-# HD-Audio
-#
-CONFIG_SND_HDA_PREALLOC_SIZE=64
-CONFIG_SND_ARM=y
-# CONFIG_SND_ARMAACI is not set
-CONFIG_SND_SPI=y
-CONFIG_SND_USB=y
-# CONFIG_SND_USB_AUDIO is not set
-# CONFIG_SND_USB_UA101 is not set
-# CONFIG_SND_USB_CAIAQ is not set
-# CONFIG_SND_USB_6FIRE is not set
-# CONFIG_SND_USB_HIFACE is not set
-# CONFIG_SND_BCD2000 is not set
-# CONFIG_SND_USB_POD is not set
-# CONFIG_SND_USB_PODHD is not set
-# CONFIG_SND_USB_TONEPORT is not set
-# CONFIG_SND_USB_VARIAX is not set
-CONFIG_SND_SOC=y
-CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
-# CONFIG_SND_ATMEL_SOC is not set
-CONFIG_SND_BCM2835_SOC_I2S=y
-# CONFIG_SND_DESIGNWARE_I2S is not set
-
-#
-# SoC Audio for Freescale CPUs
-#
-
-#
-# Common SoC Audio options for Freescale CPUs:
-#
-# CONFIG_SND_SOC_FSL_ASRC is not set
-# CONFIG_SND_SOC_FSL_SAI is not set
-# CONFIG_SND_SOC_FSL_SSI is not set
-# CONFIG_SND_SOC_FSL_SPDIF is not set
-# CONFIG_SND_SOC_FSL_ESAI is not set
-# CONFIG_SND_SOC_IMX_AUDMUX is not set
-
-#
-# Allwinner SoC Audio support
-#
-# CONFIG_SND_SUN4I_CODEC is not set
-# CONFIG_SND_SOC_XTFPGA_I2S is not set
-CONFIG_SND_SOC_I2C_AND_SPI=y
-
-#
-# CODEC drivers
-#
-# CONFIG_SND_SOC_AC97_CODEC is not set
-# CONFIG_SND_SOC_ADAU1701 is not set
-# CONFIG_SND_SOC_AK4104 is not set
-# CONFIG_SND_SOC_AK4554 is not set
-# CONFIG_SND_SOC_AK4613 is not set
-# CONFIG_SND_SOC_AK4642 is not set
-# CONFIG_SND_SOC_AK5386 is not set
-# CONFIG_SND_SOC_ALC5623 is not set
-# CONFIG_SND_SOC_CS35L32 is not set
-# CONFIG_SND_SOC_CS42L51_I2C is not set
-# CONFIG_SND_SOC_CS42L52 is not set
-# CONFIG_SND_SOC_CS42L56 is not set
-# CONFIG_SND_SOC_CS42L73 is not set
-# CONFIG_SND_SOC_CS4265 is not set
-# CONFIG_SND_SOC_CS4270 is not set
-# CONFIG_SND_SOC_CS4271_I2C is not set
-# CONFIG_SND_SOC_CS4271_SPI is not set
-# CONFIG_SND_SOC_CS42XX8_I2C is not set
-# CONFIG_SND_SOC_CS4349 is not set
-# CONFIG_SND_SOC_ES8328 is not set
-# CONFIG_SND_SOC_GTM601 is not set
-# CONFIG_SND_SOC_PCM1681 is not set
-# CONFIG_SND_SOC_PCM1792A is not set
-# CONFIG_SND_SOC_PCM512x_I2C is not set
-# CONFIG_SND_SOC_PCM512x_SPI is not set
-# CONFIG_SND_SOC_RT5631 is not set
-# CONFIG_SND_SOC_RT5677_SPI is not set
-# CONFIG_SND_SOC_SGTL5000 is not set
-# CONFIG_SND_SOC_SIRF_AUDIO_CODEC is not set
-# CONFIG_SND_SOC_SPDIF is not set
-# CONFIG_SND_SOC_SSM2602_SPI is not set
-# CONFIG_SND_SOC_SSM2602_I2C is not set
-# CONFIG_SND_SOC_SSM4567 is not set
-# CONFIG_SND_SOC_STA32X is not set
-# CONFIG_SND_SOC_STA350 is not set
-# CONFIG_SND_SOC_STI_SAS is not set
-# CONFIG_SND_SOC_TAS2552 is not set
-# CONFIG_SND_SOC_TAS5086 is not set
-# CONFIG_SND_SOC_TAS571X is not set
-# CONFIG_SND_SOC_TFA9879 is not set
-# CONFIG_SND_SOC_TLV320AIC23_I2C is not set
-# CONFIG_SND_SOC_TLV320AIC23_SPI is not set
-# CONFIG_SND_SOC_TLV320AIC31XX is not set
-# CONFIG_SND_SOC_TLV320AIC3X is not set
-# CONFIG_SND_SOC_TS3A227E is not set
-# CONFIG_SND_SOC_WM8510 is not set
-# CONFIG_SND_SOC_WM8523 is not set
-# CONFIG_SND_SOC_WM8580 is not set
-# CONFIG_SND_SOC_WM8711 is not set
-# CONFIG_SND_SOC_WM8728 is not set
-# CONFIG_SND_SOC_WM8731 is not set
-# CONFIG_SND_SOC_WM8737 is not set
-# CONFIG_SND_SOC_WM8741 is not set
-# CONFIG_SND_SOC_WM8750 is not set
-# CONFIG_SND_SOC_WM8753 is not set
-# CONFIG_SND_SOC_WM8770 is not set
-# CONFIG_SND_SOC_WM8776 is not set
-# CONFIG_SND_SOC_WM8804_I2C is not set
-# CONFIG_SND_SOC_WM8804_SPI is not set
-# CONFIG_SND_SOC_WM8903 is not set
-# CONFIG_SND_SOC_WM8962 is not set
-# CONFIG_SND_SOC_WM8978 is not set
-# CONFIG_SND_SOC_TPA6130A2 is not set
-# CONFIG_SND_SIMPLE_CARD is not set
-# CONFIG_SOUND_PRIME is not set
-
-#
-# HID support
-#
-CONFIG_HID=y
-# CONFIG_HID_BATTERY_STRENGTH is not set
-# CONFIG_HIDRAW is not set
-# CONFIG_UHID is not set
-CONFIG_HID_GENERIC=y
-
-#
-# Special HID drivers
-#
-# CONFIG_HID_A4TECH is not set
-# CONFIG_HID_ACRUX is not set
-# CONFIG_HID_APPLE is not set
-# CONFIG_HID_APPLEIR is not set
-# CONFIG_HID_AUREAL is not set
-# CONFIG_HID_BELKIN is not set
-# CONFIG_HID_BETOP_FF is not set
-# CONFIG_HID_CHERRY is not set
-# CONFIG_HID_CHICONY is not set
-# CONFIG_HID_CORSAIR is not set
-# CONFIG_HID_PRODIKEYS is not set
-# CONFIG_HID_CP2112 is not set
-# CONFIG_HID_CYPRESS is not set
-# CONFIG_HID_DRAGONRISE is not set
-# CONFIG_HID_EMS_FF is not set
-# CONFIG_HID_ELECOM is not set
-# CONFIG_HID_ELO is not set
-# CONFIG_HID_EZKEY is not set
-# CONFIG_HID_GEMBIRD is not set
-# CONFIG_HID_GFRM is not set
-# CONFIG_HID_HOLTEK is not set
-# CONFIG_HID_GT683R is not set
-# CONFIG_HID_KEYTOUCH is not set
-# CONFIG_HID_KYE is not set
-# CONFIG_HID_UCLOGIC is not set
-# CONFIG_HID_WALTOP is not set
-# CONFIG_HID_GYRATION is not set
-# CONFIG_HID_ICADE is not set
-# CONFIG_HID_TWINHAN is not set
-# CONFIG_HID_KENSINGTON is not set
-# CONFIG_HID_LCPOWER is not set
-# CONFIG_HID_LENOVO is not set
-# CONFIG_HID_LOGITECH is not set
-# CONFIG_HID_MAGICMOUSE is not set
-# CONFIG_HID_MICROSOFT is not set
-# CONFIG_HID_MONTEREY is not set
-# CONFIG_HID_MULTITOUCH is not set
-# CONFIG_HID_NTRIG is not set
-# CONFIG_HID_ORTEK is not set
-# CONFIG_HID_PANTHERLORD is not set
-# CONFIG_HID_PENMOUNT is not set
-# CONFIG_HID_PETALYNX is not set
-# CONFIG_HID_PICOLCD is not set
-# CONFIG_HID_PLANTRONICS is not set
-# CONFIG_HID_PRIMAX is not set
-# CONFIG_HID_ROCCAT is not set
-# CONFIG_HID_SAITEK is not set
-# CONFIG_HID_SAMSUNG is not set
-# CONFIG_HID_SONY is not set
-# CONFIG_HID_SPEEDLINK is not set
-# CONFIG_HID_STEELSERIES is not set
-# CONFIG_HID_SUNPLUS is not set
-# CONFIG_HID_RMI is not set
-# CONFIG_HID_GREENASIA is not set
-# CONFIG_HID_SMARTJOYPLUS is not set
-# CONFIG_HID_TIVO is not set
-# CONFIG_HID_TOPSEED is not set
-# CONFIG_HID_THINGM is not set
-# CONFIG_HID_THRUSTMASTER is not set
-# CONFIG_HID_WACOM is not set
-# CONFIG_HID_WIIMOTE is not set
-# CONFIG_HID_XINMO is not set
-# CONFIG_HID_ZEROPLUS is not set
-# CONFIG_HID_ZYDACRON is not set
-# CONFIG_HID_SENSOR_HUB is not set
-
-#
-# USB HID support
-#
-CONFIG_USB_HID=y
-# CONFIG_HID_PID is not set
-# CONFIG_USB_HIDDEV is not set
-
-#
-# I2C HID support
-#
-# CONFIG_I2C_HID is not set
-CONFIG_USB_OHCI_LITTLE_ENDIAN=y
-CONFIG_USB_SUPPORT=y
-CONFIG_USB_COMMON=y
-CONFIG_USB_ARCH_HAS_HCD=y
-CONFIG_USB=y
-# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
-
-#
-# Miscellaneous USB options
-#
-CONFIG_USB_DEFAULT_PERSIST=y
-# CONFIG_USB_DYNAMIC_MINORS is not set
-# CONFIG_USB_OTG is not set
-# CONFIG_USB_OTG_WHITELIST is not set
-# CONFIG_USB_OTG_BLACKLIST_HUB is not set
-# CONFIG_USB_ULPI_BUS is not set
-# CONFIG_USB_MON is not set
-# CONFIG_USB_WUSB_CBAF is not set
-
-#
-# USB Host Controller Drivers
-#
-# CONFIG_USB_C67X00_HCD is not set
-# CONFIG_USB_XHCI_HCD is not set
-# CONFIG_USB_EHCI_HCD is not set
-# CONFIG_USB_OXU210HP_HCD is not set
-# CONFIG_USB_ISP116X_HCD is not set
-# CONFIG_USB_ISP1362_HCD is not set
-# CONFIG_USB_FOTG210_HCD is not set
-# CONFIG_USB_MAX3421_HCD is not set
-# CONFIG_USB_OHCI_HCD is not set
-# CONFIG_USB_SL811_HCD is not set
-# CONFIG_USB_R8A66597_HCD is not set
-# CONFIG_USB_HCD_TEST_MODE is not set
-
-#
-# USB Device Class drivers
-#
-# CONFIG_USB_ACM is not set
-# CONFIG_USB_PRINTER is not set
-# CONFIG_USB_WDM is not set
-# CONFIG_USB_TMC is not set
-
-#
-# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
-#
-
-#
-# also be needed; see USB_STORAGE Help for more info
-#
-# CONFIG_USB_STORAGE is not set
-
-#
-# USB Imaging devices
-#
-# CONFIG_USB_MDC800 is not set
-# CONFIG_USB_MICROTEK is not set
-# CONFIG_USBIP_CORE is not set
-# CONFIG_USB_MUSB_HDRC is not set
-# CONFIG_USB_DWC3 is not set
-CONFIG_USB_DWC2=y
-CONFIG_USB_DWC2_HOST=y
-
-#
-# Gadget/Dual-role mode requires USB Gadget support to be enabled
-#
-# CONFIG_USB_DWC2_DEBUG is not set
-# CONFIG_USB_DWC2_TRACK_MISSED_SOFS is not set
-# CONFIG_USB_ISP1760 is not set
-
-#
-# USB port drivers
-#
-# CONFIG_USB_SERIAL is not set
-
-#
-# USB Miscellaneous drivers
-#
-# CONFIG_USB_EMI62 is not set
-# CONFIG_USB_EMI26 is not set
-# CONFIG_USB_ADUTUX is not set
-# CONFIG_USB_SEVSEG is not set
-# CONFIG_USB_RIO500 is not set
-# CONFIG_USB_LEGOTOWER is not set
-# CONFIG_USB_LCD is not set
-# CONFIG_USB_LED is not set
-# CONFIG_USB_CYPRESS_CY7C63 is not set
-# CONFIG_USB_CYTHERM is not set
-# CONFIG_USB_IDMOUSE is not set
-# CONFIG_USB_FTDI_ELAN is not set
-# CONFIG_USB_APPLEDISPLAY is not set
-# CONFIG_USB_LD is not set
-# CONFIG_USB_TRANCEVIBRATOR is not set
-# CONFIG_USB_IOWARRIOR is not set
-# CONFIG_USB_TEST is not set
-# CONFIG_USB_EHSET_TEST_FIXTURE is not set
-# CONFIG_USB_ISIGHTFW is not set
-# CONFIG_USB_YUREX is not set
-# CONFIG_USB_EZUSB_FX2 is not set
-# CONFIG_USB_HSIC_USB3503 is not set
-# CONFIG_USB_LINK_LAYER_TEST is not set
-# CONFIG_USB_CHAOSKEY is not set
-
-#
-# USB Physical Layer drivers
-#
-# CONFIG_USB_PHY is not set
-# CONFIG_NOP_USB_XCEIV is not set
-# CONFIG_AM335X_PHY_USB is not set
-# CONFIG_USB_GPIO_VBUS is not set
-# CONFIG_USB_ISP1301 is not set
-# CONFIG_USB_ULPI is not set
-# CONFIG_USB_GADGET is not set
-# CONFIG_USB_LED_TRIG is not set
-# CONFIG_UWB is not set
-CONFIG_MMC=y
-# CONFIG_MMC_DEBUG is not set
-
-#
-# MMC/SD/SDIO Card Drivers
-#
-CONFIG_MMC_BLOCK=y
-CONFIG_MMC_BLOCK_MINORS=8
-CONFIG_MMC_BLOCK_BOUNCE=y
-# CONFIG_SDIO_UART is not set
-# CONFIG_MMC_TEST is not set
-
-#
-# MMC/SD/SDIO Host Controller Drivers
-#
-# CONFIG_MMC_ARMMMCI is not set
-CONFIG_MMC_SDHCI=y
-CONFIG_MMC_SDHCI_IO_ACCESSORS=y
-CONFIG_MMC_SDHCI_PLTFM=y
-# CONFIG_MMC_SDHCI_OF_ARASAN is not set
-# CONFIG_MMC_SDHCI_OF_AT91 is not set
-CONFIG_MMC_SDHCI_BCM2835=y
-# CONFIG_MMC_SDHCI_F_SDH30 is not set
-# CONFIG_MMC_DW is not set
-# CONFIG_MMC_VUB300 is not set
-# CONFIG_MMC_USHC is not set
-# CONFIG_MMC_USDHI6ROL0 is not set
-# CONFIG_MMC_MTK is not set
-# CONFIG_MEMSTICK is not set
-CONFIG_NEW_LEDS=y
-CONFIG_LEDS_CLASS=y
-# CONFIG_LEDS_CLASS_FLASH is not set
-
-#
-# LED drivers
-#
-# CONFIG_LEDS_BCM6328 is not set
-# CONFIG_LEDS_BCM6358 is not set
-# CONFIG_LEDS_LM3530 is not set
-# CONFIG_LEDS_LM3642 is not set
-# CONFIG_LEDS_PCA9532 is not set
-CONFIG_LEDS_GPIO=y
-# CONFIG_LEDS_LP3944 is not set
-# CONFIG_LEDS_LP5521 is not set
-# CONFIG_LEDS_LP5523 is not set
-# CONFIG_LEDS_LP5562 is not set
-# CONFIG_LEDS_LP8501 is not set
-# CONFIG_LEDS_LP8860 is not set
-# CONFIG_LEDS_PCA955X is not set
-# CONFIG_LEDS_PCA963X is not set
-# CONFIG_LEDS_DAC124S085 is not set
-# CONFIG_LEDS_PWM is not set
-# CONFIG_LEDS_BD2802 is not set
-# CONFIG_LEDS_LT3593 is not set
-# CONFIG_LEDS_TCA6507 is not set
-# CONFIG_LEDS_TLC591XX is not set
-# CONFIG_LEDS_LM355x is not set
-
-#
-# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)
-#
-# CONFIG_LEDS_BLINKM is not set
-
-#
-# LED Triggers
-#
-CONFIG_LEDS_TRIGGERS=y
-# CONFIG_LEDS_TRIGGER_TIMER is not set
-# CONFIG_LEDS_TRIGGER_ONESHOT is not set
-CONFIG_LEDS_TRIGGER_HEARTBEAT=y
-# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
-# CONFIG_LEDS_TRIGGER_CPU is not set
-CONFIG_LEDS_TRIGGER_GPIO=y
-# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
-
-#
-# iptables trigger is under Netfilter config (LED target)
-#
-# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
-# CONFIG_LEDS_TRIGGER_CAMERA is not set
-# CONFIG_ACCESSIBILITY is not set
-CONFIG_EDAC_ATOMIC_SCRUB=y
-CONFIG_EDAC_SUPPORT=y
-# CONFIG_EDAC is not set
-CONFIG_RTC_LIB=y
-# CONFIG_RTC_CLASS is not set
-CONFIG_DMADEVICES=y
-# CONFIG_DMADEVICES_DEBUG is not set
-
-#
-# DMA Devices
-#
-CONFIG_DMA_ENGINE=y
-CONFIG_DMA_VIRTUAL_CHANNELS=y
-CONFIG_DMA_OF=y
-# CONFIG_AMBA_PL08X is not set
-CONFIG_DMA_BCM2835=y
-# CONFIG_FSL_EDMA is not set
-# CONFIG_INTEL_IDMA64 is not set
-# CONFIG_NBPFAXI_DMA is not set
-# CONFIG_PL330_DMA is not set
-# CONFIG_DW_DMAC is not set
-
-#
-# DMA Clients
-#
-# CONFIG_ASYNC_TX_DMA is not set
-# CONFIG_DMATEST is not set
-# CONFIG_AUXDISPLAY is not set
-# CONFIG_UIO is not set
-# CONFIG_VIRT_DRIVERS is not set
-
-#
-# Virtio drivers
-#
-# CONFIG_VIRTIO_MMIO is not set
-
-#
-# Microsoft Hyper-V guest support
-#
-CONFIG_STAGING=y
-# CONFIG_PRISM2_USB is not set
-# CONFIG_COMEDI is not set
-# CONFIG_RTLLIB is not set
-# CONFIG_R8712U is not set
-# CONFIG_R8188EU is not set
-# CONFIG_VT6656 is not set
-
-#
-# Speakup console speech
-#
-# CONFIG_SPEAKUP is not set
-# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set
-# CONFIG_STAGING_MEDIA is not set
-
-#
-# Android
-#
-# CONFIG_STAGING_BOARD is not set
-# CONFIG_WIMAX_GDM72XX is not set
-# CONFIG_LTE_GDM724X is not set
-# CONFIG_LUSTRE_FS is not set
-# CONFIG_DGAP is not set
-# CONFIG_GS_FPGABOOT is not set
-# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
-# CONFIG_FB_TFT is not set
-# CONFIG_MOST is not set
-# CONFIG_CHROME_PLATFORMS is not set
-CONFIG_CLKDEV_LOOKUP=y
-CONFIG_HAVE_CLK_PREPARE=y
-CONFIG_COMMON_CLK=y
-
-#
-# Common Clock Framework
-#
-# CONFIG_COMMON_CLK_SI5351 is not set
-# CONFIG_COMMON_CLK_SI514 is not set
-# CONFIG_COMMON_CLK_SI570 is not set
-# CONFIG_COMMON_CLK_CDCE925 is not set
-# CONFIG_CLK_QORIQ is not set
-# CONFIG_COMMON_CLK_PWM is not set
-# CONFIG_COMMON_CLK_PXA is not set
-# CONFIG_COMMON_CLK_CDCE706 is not set
-
-#
-# Hardware Spinlock drivers
-#
-
-#
-# Clock Source drivers
-#
-CONFIG_CLKSRC_OF=y
-CONFIG_CLKSRC_PROBE=y
-CONFIG_CLKSRC_MMIO=y
-CONFIG_ARM_ARCH_TIMER=y
-CONFIG_ARM_ARCH_TIMER_EVTSTREAM=y
-CONFIG_ARM_TIMER_SP804=y
-# CONFIG_ATMEL_PIT is not set
-# CONFIG_SH_TIMER_CMT is not set
-# CONFIG_SH_TIMER_MTU2 is not set
-# CONFIG_SH_TIMER_TMU is not set
-# CONFIG_EM_TIMER_STI is not set
-CONFIG_MAILBOX=y
-# CONFIG_ARM_MHU is not set
-# CONFIG_PL320_MBOX is not set
-# CONFIG_ALTERA_MBOX is not set
-CONFIG_BCM2835_MBOX=y
-# CONFIG_MAILBOX_TEST is not set
-# CONFIG_IOMMU_SUPPORT is not set
-
-#
-# Remoteproc drivers
-#
-# CONFIG_STE_MODEM_RPROC is not set
-
-#
-# Rpmsg drivers
-#
-
-#
-# SOC (System On Chip) specific Drivers
-#
-CONFIG_RASPBERRYPI_POWER=y
-# CONFIG_SOC_BRCMSTB is not set
-# CONFIG_SUNXI_SRAM is not set
-# CONFIG_SOC_TI is not set
-# CONFIG_PM_DEVFREQ is not set
-# CONFIG_EXTCON is not set
-# CONFIG_MEMORY is not set
-# CONFIG_IIO is not set
-CONFIG_PWM=y
-CONFIG_PWM_SYSFS=y
-CONFIG_PWM_BCM2835=y
-# CONFIG_PWM_FSL_FTM is not set
-# CONFIG_PWM_PCA9685 is not set
-CONFIG_IRQCHIP=y
-# CONFIG_IPACK_BUS is not set
-# CONFIG_RESET_CONTROLLER is not set
-# CONFIG_FMC is not set
-
-#
-# PHY Subsystem
-#
-# CONFIG_GENERIC_PHY is not set
-# CONFIG_PHY_PXA_28NM_HSIC is not set
-# CONFIG_PHY_PXA_28NM_USB2 is not set
-# CONFIG_BCM_KONA_USB2_PHY is not set
-# CONFIG_PHY_SAMSUNG_USB2 is not set
-# CONFIG_POWERCAP is not set
-# CONFIG_MCB is not set
-
-#
-# Performance monitor support
-#
-CONFIG_ARM_PMU=y
-# CONFIG_RAS is not set
-
-#
-# Android
-#
-# CONFIG_ANDROID is not set
-# CONFIG_NVMEM is not set
-# CONFIG_STM is not set
-# CONFIG_STM_DUMMY is not set
-# CONFIG_STM_SOURCE_CONSOLE is not set
-# CONFIG_INTEL_TH is not set
-
-#
-# FPGA Configuration Support
-#
-# CONFIG_FPGA is not set
-
-#
-# Firmware Drivers
-#
-# CONFIG_FIRMWARE_MEMMAP is not set
-CONFIG_RASPBERRYPI_FIRMWARE=y
-
-#
-# File systems
-#
-CONFIG_DCACHE_WORD_ACCESS=y
-CONFIG_EXT2_FS=y
-CONFIG_EXT2_FS_XATTR=y
-CONFIG_EXT2_FS_POSIX_ACL=y
-# CONFIG_EXT2_FS_SECURITY is not set
-CONFIG_EXT3_FS=y
-CONFIG_EXT3_FS_POSIX_ACL=y
-# CONFIG_EXT3_FS_SECURITY is not set
-CONFIG_EXT4_FS=y
-CONFIG_EXT4_FS_POSIX_ACL=y
-# CONFIG_EXT4_FS_SECURITY is not set
-# CONFIG_EXT4_ENCRYPTION is not set
-# CONFIG_EXT4_DEBUG is not set
-CONFIG_JBD2=y
-# CONFIG_JBD2_DEBUG is not set
-CONFIG_FS_MBCACHE=y
-# CONFIG_REISERFS_FS is not set
-# CONFIG_JFS_FS is not set
-# CONFIG_XFS_FS is not set
-# CONFIG_GFS2_FS is not set
-# CONFIG_BTRFS_FS is not set
-# CONFIG_NILFS2_FS is not set
-# CONFIG_F2FS_FS is not set
-CONFIG_FS_POSIX_ACL=y
-CONFIG_EXPORTFS=y
-CONFIG_FILE_LOCKING=y
-CONFIG_FSNOTIFY=y
-CONFIG_DNOTIFY=y
-CONFIG_INOTIFY_USER=y
-CONFIG_FANOTIFY=y
-# CONFIG_QUOTA is not set
-# CONFIG_QUOTACTL is not set
-# CONFIG_AUTOFS4_FS is not set
-# CONFIG_FUSE_FS is not set
-# CONFIG_OVERLAY_FS is not set
-
-#
-# Caches
-#
-# CONFIG_FSCACHE is not set
-
-#
-# CD-ROM/DVD Filesystems
-#
-# CONFIG_ISO9660_FS is not set
-# CONFIG_UDF_FS is not set
-
-#
-# DOS/FAT/NT Filesystems
-#
-CONFIG_FAT_FS=y
-CONFIG_MSDOS_FS=y
-CONFIG_VFAT_FS=y
-CONFIG_FAT_DEFAULT_CODEPAGE=437
-CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
-# CONFIG_NTFS_FS is not set
-
-#
-# Pseudo filesystems
-#
-CONFIG_PROC_FS=y
-CONFIG_PROC_VMCORE=y
-CONFIG_PROC_SYSCTL=y
-CONFIG_PROC_PAGE_MONITOR=y
-# CONFIG_PROC_CHILDREN is not set
-CONFIG_KERNFS=y
-CONFIG_SYSFS=y
-CONFIG_TMPFS=y
-CONFIG_TMPFS_POSIX_ACL=y
-CONFIG_TMPFS_XATTR=y
-# CONFIG_HUGETLB_PAGE is not set
-# CONFIG_CONFIGFS_FS is not set
-# CONFIG_MISC_FILESYSTEMS is not set
-CONFIG_NETWORK_FILESYSTEMS=y
-CONFIG_NFS_FS=y
-CONFIG_NFS_V2=y
-CONFIG_NFS_V3=y
-# CONFIG_NFS_V3_ACL is not set
-# CONFIG_NFS_V4 is not set
-# CONFIG_NFS_SWAP is not set
-CONFIG_NFSD=y
-# CONFIG_NFSD_V3 is not set
-# CONFIG_NFSD_V4 is not set
-CONFIG_GRACE_PERIOD=y
-CONFIG_LOCKD=y
-CONFIG_LOCKD_V4=y
-CONFIG_NFS_COMMON=y
-CONFIG_SUNRPC=y
-# CONFIG_SUNRPC_DEBUG is not set
-# CONFIG_CEPH_FS is not set
-# CONFIG_CIFS is not set
-# CONFIG_NCP_FS is not set
-# CONFIG_CODA_FS is not set
-# CONFIG_AFS_FS is not set
-CONFIG_NLS=y
-CONFIG_NLS_DEFAULT="iso8859-1"
-CONFIG_NLS_CODEPAGE_437=y
-# CONFIG_NLS_CODEPAGE_737 is not set
-# CONFIG_NLS_CODEPAGE_775 is not set
-# CONFIG_NLS_CODEPAGE_850 is not set
-# CONFIG_NLS_CODEPAGE_852 is not set
-# CONFIG_NLS_CODEPAGE_855 is not set
-# CONFIG_NLS_CODEPAGE_857 is not set
-# CONFIG_NLS_CODEPAGE_860 is not set
-# CONFIG_NLS_CODEPAGE_861 is not set
-# CONFIG_NLS_CODEPAGE_862 is not set
-# CONFIG_NLS_CODEPAGE_863 is not set
-# CONFIG_NLS_CODEPAGE_864 is not set
-# CONFIG_NLS_CODEPAGE_865 is not set
-# CONFIG_NLS_CODEPAGE_866 is not set
-# CONFIG_NLS_CODEPAGE_869 is not set
-# CONFIG_NLS_CODEPAGE_936 is not set
-# CONFIG_NLS_CODEPAGE_950 is not set
-# CONFIG_NLS_CODEPAGE_932 is not set
-# CONFIG_NLS_CODEPAGE_949 is not set
-# CONFIG_NLS_CODEPAGE_874 is not set
-# CONFIG_NLS_ISO8859_8 is not set
-# CONFIG_NLS_CODEPAGE_1250 is not set
-# CONFIG_NLS_CODEPAGE_1251 is not set
-CONFIG_NLS_ASCII=y
-CONFIG_NLS_ISO8859_1=y
-# CONFIG_NLS_ISO8859_2 is not set
-# CONFIG_NLS_ISO8859_3 is not set
-# CONFIG_NLS_ISO8859_4 is not set
-# CONFIG_NLS_ISO8859_5 is not set
-# CONFIG_NLS_ISO8859_6 is not set
-# CONFIG_NLS_ISO8859_7 is not set
-# CONFIG_NLS_ISO8859_9 is not set
-# CONFIG_NLS_ISO8859_13 is not set
-# CONFIG_NLS_ISO8859_14 is not set
-# CONFIG_NLS_ISO8859_15 is not set
-# CONFIG_NLS_KOI8_R is not set
-# CONFIG_NLS_KOI8_U is not set
-# CONFIG_NLS_MAC_ROMAN is not set
-# CONFIG_NLS_MAC_CELTIC is not set
-# CONFIG_NLS_MAC_CENTEURO is not set
-# CONFIG_NLS_MAC_CROATIAN is not set
-# CONFIG_NLS_MAC_CYRILLIC is not set
-# CONFIG_NLS_MAC_GAELIC is not set
-# CONFIG_NLS_MAC_GREEK is not set
-# CONFIG_NLS_MAC_ICELAND is not set
-# CONFIG_NLS_MAC_INUIT is not set
-# CONFIG_NLS_MAC_ROMANIAN is not set
-# CONFIG_NLS_MAC_TURKISH is not set
-CONFIG_NLS_UTF8=y
-
-#
-# Kernel hacking
-#
-
-#
-# printk and dmesg options
-#
-CONFIG_PRINTK_TIME=y
-CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
-CONFIG_BOOT_PRINTK_DELAY=y
-# CONFIG_DYNAMIC_DEBUG is not set
-
-#
-# Compile-time checks and compiler options
-#
-CONFIG_DEBUG_INFO=y
-# CONFIG_DEBUG_INFO_REDUCED is not set
-# CONFIG_DEBUG_INFO_SPLIT is not set
-# CONFIG_DEBUG_INFO_DWARF4 is not set
-# CONFIG_GDB_SCRIPTS is not set
-# CONFIG_ENABLE_WARN_DEPRECATED is not set
-# CONFIG_ENABLE_MUST_CHECK is not set
-CONFIG_FRAME_WARN=1024
-# CONFIG_STRIP_ASM_SYMS is not set
-# CONFIG_READABLE_ASM is not set
-CONFIG_UNUSED_SYMBOLS=y
-# CONFIG_PAGE_OWNER is not set
-CONFIG_DEBUG_FS=y
-# CONFIG_HEADERS_CHECK is not set
-# CONFIG_DEBUG_SECTION_MISMATCH is not set
-CONFIG_SECTION_MISMATCH_WARN_ONLY=y
-CONFIG_FRAME_POINTER=y
-# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
-CONFIG_MAGIC_SYSRQ=y
-CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
-CONFIG_DEBUG_KERNEL=y
-
-#
-# Memory Debugging
-#
-# CONFIG_PAGE_EXTENSION is not set
-# CONFIG_DEBUG_PAGEALLOC is not set
-# CONFIG_DEBUG_OBJECTS is not set
-# CONFIG_SLUB_DEBUG_ON is not set
-# CONFIG_SLUB_STATS is not set
-CONFIG_HAVE_DEBUG_KMEMLEAK=y
-# CONFIG_DEBUG_KMEMLEAK is not set
-# CONFIG_DEBUG_STACK_USAGE is not set
-# CONFIG_DEBUG_VM is not set
-CONFIG_DEBUG_MEMORY_INIT=y
-# CONFIG_DEBUG_PER_CPU_MAPS is not set
-# CONFIG_DEBUG_HIGHMEM is not set
-# CONFIG_DEBUG_SHIRQ is not set
-
-#
-# Debug Lockups and Hangs
-#
-CONFIG_LOCKUP_DETECTOR=y
-# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
-CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
-CONFIG_DETECT_HUNG_TASK=y
-CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
-# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
-CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
-# CONFIG_PANIC_ON_OOPS is not set
-CONFIG_PANIC_ON_OOPS_VALUE=0
-CONFIG_PANIC_TIMEOUT=0
-CONFIG_SCHED_DEBUG=y
-# CONFIG_SCHED_INFO is not set
-# CONFIG_SCHEDSTATS is not set
-# CONFIG_SCHED_STACK_END_CHECK is not set
-# CONFIG_DEBUG_TIMEKEEPING is not set
-# CONFIG_TIMER_STATS is not set
-
-#
-# Lock Debugging (spinlocks, mutexes, etc...)
-#
-# CONFIG_DEBUG_RT_MUTEXES is not set
-# CONFIG_DEBUG_SPINLOCK is not set
-# CONFIG_DEBUG_MUTEXES is not set
-# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
-# CONFIG_DEBUG_LOCK_ALLOC is not set
-# CONFIG_PROVE_LOCKING is not set
-# CONFIG_LOCK_STAT is not set
-# CONFIG_DEBUG_ATOMIC_SLEEP is not set
-# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
-# CONFIG_LOCK_TORTURE_TEST is not set
-CONFIG_STACKTRACE=y
-# CONFIG_DEBUG_KOBJECT is not set
-CONFIG_DEBUG_BUGVERBOSE=y
-# CONFIG_DEBUG_LIST is not set
-# CONFIG_DEBUG_PI_LIST is not set
-# CONFIG_DEBUG_SG is not set
-# CONFIG_DEBUG_NOTIFIERS is not set
-# CONFIG_DEBUG_CREDENTIALS is not set
-
-#
-# RCU Debugging
-#
-# CONFIG_PROVE_RCU is not set
-# CONFIG_SPARSE_RCU_POINTER is not set
-# CONFIG_TORTURE_TEST is not set
-# CONFIG_RCU_TORTURE_TEST is not set
-CONFIG_RCU_CPU_STALL_TIMEOUT=21
-# CONFIG_RCU_TRACE is not set
-# CONFIG_RCU_EQS_DEBUG is not set
-# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
-# CONFIG_NOTIFIER_ERROR_INJECTION is not set
-# CONFIG_FAULT_INJECTION is not set
-CONFIG_NOP_TRACER=y
-CONFIG_HAVE_FUNCTION_TRACER=y
-CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
-CONFIG_HAVE_DYNAMIC_FTRACE=y
-CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
-CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
-CONFIG_HAVE_C_RECORDMCOUNT=y
-CONFIG_TRACER_MAX_TRACE=y
-CONFIG_TRACE_CLOCK=y
-CONFIG_RING_BUFFER=y
-CONFIG_EVENT_TRACING=y
-CONFIG_CONTEXT_SWITCH_TRACER=y
-CONFIG_RING_BUFFER_ALLOW_SWAP=y
-CONFIG_TRACING=y
-CONFIG_GENERIC_TRACER=y
-CONFIG_TRACING_SUPPORT=y
-CONFIG_FTRACE=y
-CONFIG_FUNCTION_TRACER=y
-CONFIG_FUNCTION_GRAPH_TRACER=y
-# CONFIG_IRQSOFF_TRACER is not set
-CONFIG_SCHED_TRACER=y
-# CONFIG_FTRACE_SYSCALLS is not set
-CONFIG_TRACER_SNAPSHOT=y
-# CONFIG_TRACER_SNAPSHOT_PER_CPU_SWAP is not set
-CONFIG_BRANCH_PROFILE_NONE=y
-# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
-# CONFIG_PROFILE_ALL_BRANCHES is not set
-CONFIG_STACK_TRACER=y
-# CONFIG_BLK_DEV_IO_TRACE is not set
-# CONFIG_UPROBE_EVENT is not set
-# CONFIG_PROBE_EVENTS is not set
-CONFIG_DYNAMIC_FTRACE=y
-CONFIG_FUNCTION_PROFILER=y
-CONFIG_FTRACE_MCOUNT_RECORD=y
-# CONFIG_FTRACE_STARTUP_TEST is not set
-# CONFIG_TRACEPOINT_BENCHMARK is not set
-# CONFIG_RING_BUFFER_BENCHMARK is not set
-# CONFIG_RING_BUFFER_STARTUP_TEST is not set
-# CONFIG_TRACE_ENUM_MAP_FILE is not set
-CONFIG_TRACING_EVENTS_GPIO=y
-
-#
-# Runtime Testing
-#
-# CONFIG_LKDTM is not set
-# CONFIG_TEST_LIST_SORT is not set
-# CONFIG_BACKTRACE_SELF_TEST is not set
-# CONFIG_RBTREE_TEST is not set
-# CONFIG_INTERVAL_TREE_TEST is not set
-# CONFIG_PERCPU_TEST is not set
-# CONFIG_ATOMIC64_SELFTEST is not set
-# CONFIG_TEST_HEXDUMP is not set
-# CONFIG_TEST_STRING_HELPERS is not set
-CONFIG_TEST_KSTRTOX=y
-# CONFIG_TEST_PRINTF is not set
-# CONFIG_TEST_RHASHTABLE is not set
-# CONFIG_DMA_API_DEBUG is not set
-# CONFIG_TEST_LKM is not set
-# CONFIG_TEST_USER_COPY is not set
-# CONFIG_TEST_BPF is not set
-# CONFIG_TEST_FIRMWARE is not set
-# CONFIG_TEST_UDELAY is not set
-# CONFIG_MEMTEST is not set
-# CONFIG_TEST_STATIC_KEYS is not set
-# CONFIG_SAMPLES is not set
-CONFIG_HAVE_ARCH_KGDB=y
-CONFIG_KGDB=y
-CONFIG_KGDB_SERIAL_CONSOLE=y
-# CONFIG_KGDB_TESTS is not set
-CONFIG_KGDB_KDB=y
-CONFIG_KDB_DEFAULT_ENABLE=0x1
-# CONFIG_KDB_KEYBOARD is not set
-CONFIG_KDB_CONTINUE_CATASTROPHIC=0
-# CONFIG_ARM_PTDUMP is not set
-CONFIG_STRICT_DEVMEM=y
-CONFIG_ARM_UNWIND=y
-CONFIG_OLD_MCOUNT=y
-# CONFIG_DEBUG_USER is not set
-CONFIG_DEBUG_LL=y
-CONFIG_DEBUG_BCM2836=y
-# CONFIG_DEBUG_ICEDCC is not set
-# CONFIG_DEBUG_SEMIHOSTING is not set
-# CONFIG_DEBUG_LL_UART_8250 is not set
-# CONFIG_DEBUG_LL_UART_PL01X is not set
-CONFIG_DEBUG_LL_INCLUDE="debug/pl01x.S"
-CONFIG_DEBUG_UART_PL01X=y
-# CONFIG_DEBUG_UART_8250 is not set
-# CONFIG_DEBUG_UART_BCM63XX is not set
-CONFIG_DEBUG_UART_PHYS=0x3f201000
-CONFIG_DEBUG_UART_VIRT=0xf0201000
-CONFIG_DEBUG_UNCOMPRESS=y
-CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
-CONFIG_EARLY_PRINTK=y
-# CONFIG_PID_IN_CONTEXTIDR is not set
-# CONFIG_DEBUG_SET_MODULE_RONX is not set
-# CONFIG_CORESIGHT is not set
-
-#
-# Security options
-#
-# CONFIG_KEYS is not set
-# CONFIG_SECURITY_DMESG_RESTRICT is not set
-# CONFIG_SECURITY is not set
-# CONFIG_SECURITYFS is not set
-CONFIG_DEFAULT_SECURITY_DAC=y
-CONFIG_DEFAULT_SECURITY=""
-CONFIG_CRYPTO=y
-
-#
-# Crypto core or helper
-#
-CONFIG_CRYPTO_ALGAPI=y
-CONFIG_CRYPTO_ALGAPI2=y
-CONFIG_CRYPTO_AEAD=y
-CONFIG_CRYPTO_AEAD2=y
-CONFIG_CRYPTO_BLKCIPHER=y
-CONFIG_CRYPTO_BLKCIPHER2=y
-CONFIG_CRYPTO_HASH=y
-CONFIG_CRYPTO_HASH2=y
-CONFIG_CRYPTO_RNG=y
-CONFIG_CRYPTO_RNG2=y
-CONFIG_CRYPTO_RNG_DEFAULT=y
-CONFIG_CRYPTO_PCOMP2=y
-CONFIG_CRYPTO_AKCIPHER2=y
-# CONFIG_CRYPTO_RSA is not set
-CONFIG_CRYPTO_MANAGER=y
-CONFIG_CRYPTO_MANAGER2=y
-# CONFIG_CRYPTO_USER is not set
-CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
-CONFIG_CRYPTO_GF128MUL=y
-CONFIG_CRYPTO_NULL=y
-CONFIG_CRYPTO_NULL2=y
-# CONFIG_CRYPTO_PCRYPT is not set
-CONFIG_CRYPTO_WORKQUEUE=y
-# CONFIG_CRYPTO_CRYPTD is not set
-# CONFIG_CRYPTO_MCRYPTD is not set
-CONFIG_CRYPTO_AUTHENC=y
-# CONFIG_CRYPTO_TEST is not set
-
-#
-# Authenticated Encryption with Associated Data
-#
-CONFIG_CRYPTO_CCM=y
-CONFIG_CRYPTO_GCM=y
-# CONFIG_CRYPTO_CHACHA20POLY1305 is not set
-CONFIG_CRYPTO_SEQIV=y
-CONFIG_CRYPTO_ECHAINIV=m
-
-#
-# Block modes
-#
-# CONFIG_CRYPTO_CBC is not set
-CONFIG_CRYPTO_CTR=y
-# CONFIG_CRYPTO_CTS is not set
-CONFIG_CRYPTO_ECB=m
-# CONFIG_CRYPTO_LRW is not set
-# CONFIG_CRYPTO_PCBC is not set
-# CONFIG_CRYPTO_XTS is not set
-# CONFIG_CRYPTO_KEYWRAP is not set
-
-#
-# Hash modes
-#
-CONFIG_CRYPTO_CMAC=m
-CONFIG_CRYPTO_HMAC=y
-# CONFIG_CRYPTO_XCBC is not set
-# CONFIG_CRYPTO_VMAC is not set
-
-#
-# Digest
-#
-CONFIG_CRYPTO_CRC32C=y
-# CONFIG_CRYPTO_CRC32 is not set
-# CONFIG_CRYPTO_CRCT10DIF is not set
-CONFIG_CRYPTO_GHASH=y
-# CONFIG_CRYPTO_POLY1305 is not set
-# CONFIG_CRYPTO_MD4 is not set
-# CONFIG_CRYPTO_MD5 is not set
-# CONFIG_CRYPTO_MICHAEL_MIC is not set
-# CONFIG_CRYPTO_RMD128 is not set
-# CONFIG_CRYPTO_RMD160 is not set
-# CONFIG_CRYPTO_RMD256 is not set
-# CONFIG_CRYPTO_RMD320 is not set
-# CONFIG_CRYPTO_SHA1 is not set
-CONFIG_CRYPTO_SHA256=y
-# CONFIG_CRYPTO_SHA512 is not set
-# CONFIG_CRYPTO_TGR192 is not set
-# CONFIG_CRYPTO_WP512 is not set
-
-#
-# Ciphers
-#
-CONFIG_CRYPTO_AES=y
-# CONFIG_CRYPTO_ANUBIS is not set
-CONFIG_CRYPTO_ARC4=y
-# CONFIG_CRYPTO_BLOWFISH is not set
-# CONFIG_CRYPTO_CAMELLIA is not set
-# CONFIG_CRYPTO_CAST5 is not set
-# CONFIG_CRYPTO_CAST6 is not set
-# CONFIG_CRYPTO_DES is not set
-# CONFIG_CRYPTO_FCRYPT is not set
-# CONFIG_CRYPTO_KHAZAD is not set
-# CONFIG_CRYPTO_SALSA20 is not set
-# CONFIG_CRYPTO_CHACHA20 is not set
-# CONFIG_CRYPTO_SEED is not set
-# CONFIG_CRYPTO_SERPENT is not set
-# CONFIG_CRYPTO_TEA is not set
-# CONFIG_CRYPTO_TWOFISH is not set
-
-#
-# Compression
-#
-# CONFIG_CRYPTO_DEFLATE is not set
-# CONFIG_CRYPTO_ZLIB is not set
-# CONFIG_CRYPTO_LZO is not set
-# CONFIG_CRYPTO_842 is not set
-# CONFIG_CRYPTO_LZ4 is not set
-# CONFIG_CRYPTO_LZ4HC is not set
-
-#
-# Random Number Generation
-#
-CONFIG_CRYPTO_ANSI_CPRNG=y
-CONFIG_CRYPTO_DRBG_MENU=y
-CONFIG_CRYPTO_DRBG_HMAC=y
-# CONFIG_CRYPTO_DRBG_HASH is not set
-# CONFIG_CRYPTO_DRBG_CTR is not set
-CONFIG_CRYPTO_DRBG=y
-CONFIG_CRYPTO_JITTERENTROPY=y
-# CONFIG_CRYPTO_USER_API_HASH is not set
-# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
-# CONFIG_CRYPTO_USER_API_RNG is not set
-# CONFIG_CRYPTO_USER_API_AEAD is not set
-CONFIG_CRYPTO_HW=y
-
-#
-# Certificates for signature checking
-#
-# CONFIG_ARM_CRYPTO is not set
-CONFIG_BINARY_PRINTF=y
-
-#
-# Library routines
-#
-CONFIG_BITREVERSE=y
-CONFIG_HAVE_ARCH_BITREVERSE=y
-CONFIG_RATIONAL=y
-CONFIG_GENERIC_STRNCPY_FROM_USER=y
-CONFIG_GENERIC_STRNLEN_USER=y
-CONFIG_GENERIC_NET_UTILS=y
-CONFIG_GENERIC_PCI_IOMAP=y
-CONFIG_GENERIC_IO=y
-CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
-CONFIG_CRC_CCITT=y
-CONFIG_CRC16=y
-# CONFIG_CRC_T10DIF is not set
-# CONFIG_CRC_ITU_T is not set
-CONFIG_CRC32=y
-# CONFIG_CRC32_SELFTEST is not set
-CONFIG_CRC32_SLICEBY8=y
-# CONFIG_CRC32_SLICEBY4 is not set
-# CONFIG_CRC32_SARWATE is not set
-# CONFIG_CRC32_BIT is not set
-# CONFIG_CRC7 is not set
-# CONFIG_LIBCRC32C is not set
-# CONFIG_CRC8 is not set
-# CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set
-# CONFIG_RANDOM32_SELFTEST is not set
-CONFIG_ZLIB_INFLATE=y
-CONFIG_LZO_COMPRESS=y
-CONFIG_LZO_DECOMPRESS=y
-CONFIG_LZ4_DECOMPRESS=y
-CONFIG_XZ_DEC=y
-CONFIG_XZ_DEC_X86=y
-CONFIG_XZ_DEC_POWERPC=y
-CONFIG_XZ_DEC_IA64=y
-# CONFIG_XZ_DEC_ARM is not set
-# CONFIG_XZ_DEC_ARMTHUMB is not set
-CONFIG_XZ_DEC_SPARC=y
-CONFIG_XZ_DEC_BCJ=y
-# CONFIG_XZ_DEC_TEST is not set
-CONFIG_DECOMPRESS_GZIP=y
-CONFIG_DECOMPRESS_BZIP2=y
-CONFIG_DECOMPRESS_LZMA=y
-CONFIG_DECOMPRESS_XZ=y
-CONFIG_DECOMPRESS_LZO=y
-CONFIG_DECOMPRESS_LZ4=y
-CONFIG_GENERIC_ALLOCATOR=y
-CONFIG_HAS_IOMEM=y
-CONFIG_HAS_IOPORT_MAP=y
-CONFIG_HAS_DMA=y
-CONFIG_CPU_RMAP=y
-CONFIG_DQL=y
-CONFIG_NLATTR=y
-CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
-# CONFIG_CORDIC is not set
-# CONFIG_DDR is not set
-CONFIG_LIBFDT=y
-CONFIG_FONT_SUPPORT=y
-# CONFIG_FONTS is not set
-CONFIG_FONT_8x8=y
-CONFIG_FONT_8x16=y
-# CONFIG_SG_SPLIT is not set
-CONFIG_ARCH_HAS_SG_CHAIN=y
-# CONFIG_VIRTUALIZATION is not set
diff --git a/configs/platform-rpi2/patches/barebox-2015.12.0/0001-memtest-fix-missing-arguments-in-help-string.patch b/configs/platform-rpi2/patches/barebox-2015.12.0/0001-memtest-fix-missing-arguments-in-help-string.patch
deleted file mode 100644
index 6e82e8d..0000000
--- a/configs/platform-rpi2/patches/barebox-2015.12.0/0001-memtest-fix-missing-arguments-in-help-string.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 07c89829ef06fbb72611abc5baf3189484e60946 Mon Sep 17 00:00:00 2001
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Sat, 19 Dec 2015 13:45:00 +0100
-Subject: [PATCH 1/7] memtest: fix missing arguments in help string
-
-This patch adds some missing arguments in help string of memtest.
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- commands/memtest.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/commands/memtest.c b/commands/memtest.c
-index d784a5c..99d4864 100644
---- a/commands/memtest.c
-+++ b/commands/memtest.c
-@@ -191,7 +191,7 @@ BAREBOX_CMD_HELP_END
- BAREBOX_CMD_START(memtest)
- .cmd = do_memtest,
- BAREBOX_CMD_DESC("extensive memory test")
-- BAREBOX_CMD_OPTS("[-ib]")
-+ BAREBOX_CMD_OPTS("[-ibcut]")
- BAREBOX_CMD_GROUP(CMD_GRP_MEM)
- BAREBOX_CMD_HELP(cmd_memtest_help)
- BAREBOX_CMD_END
---
-2.6.1
-
diff --git a/configs/platform-rpi2/patches/barebox-2015.12.0/0002-led-add-missing-includes.patch b/configs/platform-rpi2/patches/barebox-2015.12.0/0002-led-add-missing-includes.patch
deleted file mode 100644
index 9ab2543..0000000
--- a/configs/platform-rpi2/patches/barebox-2015.12.0/0002-led-add-missing-includes.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 1c873527a04fa61f7a633e05249963820b12423f Mon Sep 17 00:00:00 2001
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Sat, 19 Dec 2015 13:47:28 +0100
-Subject: [PATCH 2/7] led: add missing includes
-
-The led header use some parts which are missing when include the this
-header. This patch adds them.
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- include/led.h | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/include/led.h b/include/led.h
-index ddf8d90..000267c 100644
---- a/include/led.h
-+++ b/include/led.h
-@@ -1,7 +1,10 @@
- #ifndef __LED_H
- #define __LED_H
-
-+#include <linux/list.h>
-+
- #include <errno.h>
-+#include <of.h>
-
- struct led {
- void (*set)(struct led *, unsigned int value);
---
-2.6.1
-
diff --git a/configs/platform-rpi2/patches/barebox-2015.12.0/0003-arm-bcm2835-fix-indentation.patch b/configs/platform-rpi2/patches/barebox-2015.12.0/0003-arm-bcm2835-fix-indentation.patch
deleted file mode 100644
index eb02b4c..0000000
--- a/configs/platform-rpi2/patches/barebox-2015.12.0/0003-arm-bcm2835-fix-indentation.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From b0cac7ce4686c0f64439523b763eda145467de48 Mon Sep 17 00:00:00 2001
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Sat, 19 Dec 2015 16:43:40 +0100
-Subject: [PATCH 3/7] arm: bcm2835: fix indentation
-
-This patch fix indentation in core.h of mach-bcm2835.
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/mach-bcm2835/include/mach/core.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/arch/arm/mach-bcm2835/include/mach/core.h b/arch/arm/mach-bcm2835/include/mach/core.h
-index 477ecb9..b0bed80 100644
---- a/arch/arm/mach-bcm2835/include/mach/core.h
-+++ b/arch/arm/mach-bcm2835/include/mach/core.h
-@@ -24,7 +24,7 @@ void bcm2835_add_device_sdram(u32 size);
- static void inline bcm2835_register_mci(void)
- {
- add_generic_device("bcm2835_mci", 0, NULL, BCM2835_EMMC_BASE, 0xFC,
-- IORESOURCE_MEM, NULL);
-+ IORESOURCE_MEM, NULL);
- }
-
- static void inline bcm2835_register_fb(void)
---
-2.6.1
-
diff --git a/configs/platform-rpi2/patches/barebox-2015.12.0/0004-bcm2835-introduce-mach-bcm283x.patch b/configs/platform-rpi2/patches/barebox-2015.12.0/0004-bcm2835-introduce-mach-bcm283x.patch
deleted file mode 100644
index 23e9e63..0000000
--- a/configs/platform-rpi2/patches/barebox-2015.12.0/0004-bcm2835-introduce-mach-bcm283x.patch
+++ /dev/null
@@ -1,410 +0,0 @@
-From fa60af981cc8662dcba5340dc847a9ecc2ef0af0 Mon Sep 17 00:00:00 2001
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Sat, 19 Dec 2015 14:02:35 +0100
-Subject: [PATCH 4/7] bcm2835: introduce mach-bcm283x
-
-This patch changes the most part of mach-bcm2835 to mach-bcm283x. This
-prepares to add RPi2 support which is a bcm2836. This patch changes the
-Kconfig entry namens to BCM283X for drivers only. These drivers should
-working the same in bcm2836.
-
-While updating defconfig I added LED support/trigger option.
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/Kconfig | 18 +++---
- arch/arm/Makefile | 2 +-
- arch/arm/configs/rpi_defconfig | 70 ++++++++++++----------
- arch/arm/{mach-bcm2835 => mach-bcm283x}/Kconfig | 5 +-
- arch/arm/{mach-bcm2835 => mach-bcm283x}/Makefile | 0
- arch/arm/{mach-bcm2835 => mach-bcm283x}/core.c | 0
- .../include/mach/core.h | 0
- .../include/mach/debug_ll.h | 0
- .../include/mach/mbox.h | 0
- .../include/mach/platform.h | 0
- .../include/mach/wd.h | 0
- arch/arm/{mach-bcm2835 => mach-bcm283x}/mbox.c | 0
- drivers/clocksource/Kconfig | 4 +-
- drivers/clocksource/Makefile | 2 +-
- drivers/gpio/Kconfig | 6 +-
- drivers/gpio/Makefile | 2 +-
- drivers/mci/Kconfig | 6 +-
- drivers/mci/Makefile | 2 +-
- drivers/regulator/Kconfig | 4 +-
- drivers/regulator/Makefile | 2 +-
- drivers/video/Kconfig | 8 +--
- drivers/video/Makefile | 2 +-
- 22 files changed, 71 insertions(+), 62 deletions(-)
- rename arch/arm/{mach-bcm2835 => mach-bcm283x}/Kconfig (70%)
- rename arch/arm/{mach-bcm2835 => mach-bcm283x}/Makefile (100%)
- rename arch/arm/{mach-bcm2835 => mach-bcm283x}/core.c (100%)
- rename arch/arm/{mach-bcm2835 => mach-bcm283x}/include/mach/core.h (100%)
- rename arch/arm/{mach-bcm2835 => mach-bcm283x}/include/mach/debug_ll.h (100%)
- rename arch/arm/{mach-bcm2835 => mach-bcm283x}/include/mach/mbox.h (100%)
- rename arch/arm/{mach-bcm2835 => mach-bcm283x}/include/mach/platform.h (100%)
- rename arch/arm/{mach-bcm2835 => mach-bcm283x}/include/mach/wd.h (100%)
- rename arch/arm/{mach-bcm2835 => mach-bcm283x}/mbox.c (100%)
-
-diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
-index 9f4d8e9..4e7c1fd 100644
---- a/arch/arm/Kconfig
-+++ b/arch/arm/Kconfig
-@@ -22,6 +22,15 @@ config ARM_USE_COMPRESSED_DTB
- select UNCOMPRESS
- select LZO_DECOMPRESS
-
-+config ARCH_BCM283X
-+ bool
-+ select GPIOLIB
-+ select CLKDEV_LOOKUP
-+ select COMMON_CLK
-+ select CLOCKSOURCE_BCM283X
-+ select ARM_AMBA
-+ select HAS_DEBUG_LL
-+
- menu "System Type"
-
- config BUILTIN_DTB
-@@ -52,13 +61,8 @@ config ARCH_AT91
-
- config ARCH_BCM2835
- bool "Broadcom BCM2835 boards"
-- select GPIOLIB
-+ select ARCH_BCM283X
- select CPU_ARM1176
-- select CLKDEV_LOOKUP
-- select COMMON_CLK
-- select CLOCKSOURCE_BCM2835
-- select ARM_AMBA
-- select HAS_DEBUG_LL
-
- config ARCH_CLPS711X
- bool "Cirrus Logic EP711x/EP721x/EP731x"
-@@ -251,7 +255,7 @@ endchoice
-
- source arch/arm/cpu/Kconfig
- source arch/arm/mach-at91/Kconfig
--source arch/arm/mach-bcm2835/Kconfig
-+source arch/arm/mach-bcm283x/Kconfig
- source arch/arm/mach-clps711x/Kconfig
- source arch/arm/mach-davinci/Kconfig
- source arch/arm/mach-digic/Kconfig
-diff --git a/arch/arm/Makefile b/arch/arm/Makefile
-index cae05ff..9ce16b9 100644
---- a/arch/arm/Makefile
-+++ b/arch/arm/Makefile
-@@ -57,7 +57,7 @@ AFLAGS += -include asm/unified.h -msoft-float $(AFLAGS_THUMB2)
- # Machine directory name. This list is sorted alphanumerically
- # by CONFIG_* macro name.
- machine-$(CONFIG_ARCH_AT91) := at91
--machine-$(CONFIG_ARCH_BCM2835) := bcm2835
-+machine-$(CONFIG_ARCH_BCM283X) := bcm283x
- machine-$(CONFIG_ARCH_CLPS711X) := clps711x
- machine-$(CONFIG_ARCH_DAVINCI) := davinci
- machine-$(CONFIG_ARCH_DIGIC) := digic
-diff --git a/arch/arm/configs/rpi_defconfig b/arch/arm/configs/rpi_defconfig
-index 25770a0..f7b5910 100644
---- a/arch/arm/configs/rpi_defconfig
-+++ b/arch/arm/configs/rpi_defconfig
-@@ -6,7 +6,6 @@ CONFIG_MMU=y
- CONFIG_MALLOC_TLSF=y
- CONFIG_KALLSYMS=y
- CONFIG_PROMPT="R-Pi> "
--CONFIG_LONGHELP=y
- CONFIG_HUSH_FANCY_PROMPT=y
- CONFIG_CMDLINE_EDITING=y
- CONFIG_AUTO_COMPLETE=y
-@@ -14,52 +13,57 @@ CONFIG_MENU=y
- CONFIG_BLSPEC=y
- CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
- CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/raspberry-pi/env"
--CONFIG_CMD_EDIT=y
--CONFIG_CMD_SLEEP=y
--CONFIG_CMD_MSLEEP=y
--CONFIG_CMD_SAVEENV=y
--CONFIG_CMD_EXPORT=y
--CONFIG_CMD_PRINTENV=y
--CONFIG_CMD_READLINE=y
--CONFIG_CMD_LET=y
--CONFIG_CMD_MENU=y
--CONFIG_CMD_MENU_MANAGEMENT=y
--CONFIG_CMD_LOGIN=y
--CONFIG_CMD_PASSWD=y
--CONFIG_CMD_TIME=y
--CONFIG_CMD_LN=y
--CONFIG_CMD_FILETYPE=y
--CONFIG_CMD_ECHO_E=y
--CONFIG_CMD_LOADB=y
--CONFIG_CMD_LOADY=y
--CONFIG_CMD_MEMINFO=y
-+CONFIG_LONGHELP=y
- CONFIG_CMD_IOMEM=y
--CONFIG_CMD_MM=y
--CONFIG_CMD_CRC=y
--CONFIG_CMD_CRC_CMP=y
--CONFIG_CMD_MD5SUM=y
-+CONFIG_CMD_MEMINFO=y
- CONFIG_CMD_BOOTM_SHOW_TYPE=y
- CONFIG_CMD_BOOTM_VERBOSE=y
- CONFIG_CMD_BOOTM_INITRD=y
- CONFIG_CMD_BOOTM_OFTREE=y
--CONFIG_CMD_UIMAGE=y
--CONFIG_CMD_RESET=y
- CONFIG_CMD_GO=y
--CONFIG_CMD_OFTREE=y
--CONFIG_CMD_OF_PROPERTY=y
--CONFIG_CMD_OF_NODE=y
--CONFIG_CMD_TIMEOUT=y
-+CONFIG_CMD_LOADB=y
-+CONFIG_CMD_LOADY=y
-+CONFIG_CMD_RESET=y
-+CONFIG_CMD_UIMAGE=y
- CONFIG_CMD_PARTITION=y
-+CONFIG_CMD_EXPORT=y
-+CONFIG_CMD_PRINTENV=y
- CONFIG_CMD_MAGICVAR=y
- CONFIG_CMD_MAGICVAR_HELP=y
--CONFIG_CMD_GPIO=y
-+CONFIG_CMD_SAVEENV=y
-+CONFIG_CMD_FILETYPE=y
-+CONFIG_CMD_LN=y
-+CONFIG_CMD_MD5SUM=y
- CONFIG_CMD_UNCOMPRESS=y
-+CONFIG_CMD_LET=y
-+CONFIG_CMD_MSLEEP=y
-+CONFIG_CMD_SLEEP=y
-+CONFIG_CMD_ECHO_E=y
-+CONFIG_CMD_EDIT=y
-+CONFIG_CMD_LOGIN=y
-+CONFIG_CMD_MENU=y
-+CONFIG_CMD_MENU_MANAGEMENT=y
-+CONFIG_CMD_PASSWD=y
-+CONFIG_CMD_READLINE=y
-+CONFIG_CMD_TIMEOUT=y
-+CONFIG_CMD_CRC=y
-+CONFIG_CMD_CRC_CMP=y
-+CONFIG_CMD_MM=y
- CONFIG_CMD_CLK=y
- CONFIG_CMD_DETECT=y
-+CONFIG_CMD_GPIO=y
-+CONFIG_CMD_OF_NODE=y
-+CONFIG_CMD_OF_PROPERTY=y
-+CONFIG_CMD_OFTREE=y
-+CONFIG_CMD_TIME=y
- CONFIG_SERIAL_AMBA_PL011=y
- CONFIG_MCI=y
--CONFIG_MCI_BCM2835=y
--CONFIG_GPIO_BCM2835=y
-+CONFIG_MCI_BCM283X=y
-+CONFIG_LED=y
-+CONFIG_LED_GPIO=y
-+CONFIG_LED_TRIGGERS=y
-+CONFIG_GPIO_BCM283X=y
-+CONFIG_REGULATOR=y
- CONFIG_FS_EXT4=y
- CONFIG_FS_FAT=y
- CONFIG_FS_FAT_WRITE=y
-diff --git a/arch/arm/mach-bcm2835/Kconfig b/arch/arm/mach-bcm283x/Kconfig
-similarity index 70%
-rename from arch/arm/mach-bcm2835/Kconfig
-rename to arch/arm/mach-bcm283x/Kconfig
-index 134ad9b..f4a7e67 100644
---- a/arch/arm/mach-bcm2835/Kconfig
-+++ b/arch/arm/mach-bcm283x/Kconfig
-@@ -1,14 +1,15 @@
--if ARCH_BCM2835
-+if ARCH_BCM283X
-
- config ARCH_TEXT_BASE
- hex
-- default 0x04000000 if MACH_RPI
-+ default 0x04000000
-
- choice
- prompt "Broadcom Board type"
-
- config MACH_RPI
- bool "RaspberryPi (BCM2835/ARM1176JZF-S)"
-+ depends on ARCH_BCM2835
-
- endchoice
-
-diff --git a/arch/arm/mach-bcm2835/Makefile b/arch/arm/mach-bcm283x/Makefile
-similarity index 100%
-rename from arch/arm/mach-bcm2835/Makefile
-rename to arch/arm/mach-bcm283x/Makefile
-diff --git a/arch/arm/mach-bcm2835/core.c b/arch/arm/mach-bcm283x/core.c
-similarity index 100%
-rename from arch/arm/mach-bcm2835/core.c
-rename to arch/arm/mach-bcm283x/core.c
-diff --git a/arch/arm/mach-bcm2835/include/mach/core.h b/arch/arm/mach-bcm283x/include/mach/core.h
-similarity index 100%
-rename from arch/arm/mach-bcm2835/include/mach/core.h
-rename to arch/arm/mach-bcm283x/include/mach/core.h
-diff --git a/arch/arm/mach-bcm2835/include/mach/debug_ll.h b/arch/arm/mach-bcm283x/include/mach/debug_ll.h
-similarity index 100%
-rename from arch/arm/mach-bcm2835/include/mach/debug_ll.h
-rename to arch/arm/mach-bcm283x/include/mach/debug_ll.h
-diff --git a/arch/arm/mach-bcm2835/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h
-similarity index 100%
-rename from arch/arm/mach-bcm2835/include/mach/mbox.h
-rename to arch/arm/mach-bcm283x/include/mach/mbox.h
-diff --git a/arch/arm/mach-bcm2835/include/mach/platform.h b/arch/arm/mach-bcm283x/include/mach/platform.h
-similarity index 100%
-rename from arch/arm/mach-bcm2835/include/mach/platform.h
-rename to arch/arm/mach-bcm283x/include/mach/platform.h
-diff --git a/arch/arm/mach-bcm2835/include/mach/wd.h b/arch/arm/mach-bcm283x/include/mach/wd.h
-similarity index 100%
-rename from arch/arm/mach-bcm2835/include/mach/wd.h
-rename to arch/arm/mach-bcm283x/include/mach/wd.h
-diff --git a/arch/arm/mach-bcm2835/mbox.c b/arch/arm/mach-bcm283x/mbox.c
-similarity index 100%
-rename from arch/arm/mach-bcm2835/mbox.c
-rename to arch/arm/mach-bcm283x/mbox.c
-diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
-index 598edc9..3fb09fb 100644
---- a/drivers/clocksource/Kconfig
-+++ b/drivers/clocksource/Kconfig
-@@ -6,9 +6,9 @@ config ARM_SMP_TWD
- bool
- depends on ARM && CPU_V7
-
--config CLOCKSOURCE_BCM2835
-+config CLOCKSOURCE_BCM283X
- bool
-- depends on ARCH_BCM2835
-+ depends on ARCH_BCM283X
-
- config CLOCKSOURCE_CLPS711X
- bool
-diff --git a/drivers/clocksource/Makefile b/drivers/clocksource/Makefile
-index f5f5141..4eb1656 100644
---- a/drivers/clocksource/Makefile
-+++ b/drivers/clocksource/Makefile
-@@ -1,6 +1,6 @@
- obj-$(CONFIG_AMBA_SP804) += amba-sp804.o
- obj-$(CONFIG_ARM_SMP_TWD) += arm_smp_twd.o
--obj-$(CONFIG_CLOCKSOURCE_BCM2835) += bcm2835.o
-+obj-$(CONFIG_CLOCKSOURCE_BCM283X) += bcm2835.o
- obj-$(CONFIG_CLOCKSOURCE_CLPS711X) += clps711x.o
- obj-$(CONFIG_CLOCKSOURCE_DIGIC) += digic.o
- obj-$(CONFIG_CLOCKSOURCE_MVEBU) += mvebu.o
-diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
-index 9cb2261..d839d7a 100644
---- a/drivers/gpio/Kconfig
-+++ b/drivers/gpio/Kconfig
-@@ -21,9 +21,9 @@ config GPIO_74164
- shift registers. This driver can be used to provide access
- to more gpio outputs.
-
--config GPIO_BCM2835
-- bool "GPIO support for BCM2835"
-- depends on ARCH_BCM2835
-+config GPIO_BCM283X
-+ bool "GPIO support for BCM283X"
-+ depends on ARCH_BCM283X
-
- config GPIO_CLPS711X
- bool "GPIO support for CLPS711X"
-diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile
-index f39e8da..8767eed 100644
---- a/drivers/gpio/Makefile
-+++ b/drivers/gpio/Makefile
-@@ -2,7 +2,7 @@ obj-$(CONFIG_GPIOLIB) += gpiolib.o
-
- obj-$(CONFIG_GPIO_74164) += gpio-74164.o
- obj-$(CONFIG_MACH_MIPS_ATH79) += gpio-ath79.o
--obj-$(CONFIG_GPIO_BCM2835) += gpio-bcm2835.o
-+obj-$(CONFIG_GPIO_BCM283X) += gpio-bcm2835.o
- obj-$(CONFIG_GPIO_DAVINCI) += gpio-davinci.o
- obj-$(CONFIG_GPIO_CLPS711X) += gpio-clps711x.o
- obj-$(CONFIG_GPIO_DIGIC) += gpio-digic.o
-diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig
-index ebd8da9..0f3504c 100644
---- a/drivers/mci/Kconfig
-+++ b/drivers/mci/Kconfig
-@@ -62,9 +62,9 @@ config MCI_S3C
- Enable this entry to add support to read and write SD cards on a
- Samsung S3C24xx based system.
-
--config MCI_BCM2835
-- bool "MCI support for BCM2835"
-- depends on ARCH_BCM2835
-+config MCI_BCM283X
-+ bool "MCI support for BCM283X"
-+ depends on ARCH_BCM283X
-
- config MCI_IMX
- bool "i.MX"
-diff --git a/drivers/mci/Makefile b/drivers/mci/Makefile
-index 1e8443c..88ec456 100644
---- a/drivers/mci/Makefile
-+++ b/drivers/mci/Makefile
-@@ -1,6 +1,6 @@
- obj-$(CONFIG_MCI) += mci-core.o
- obj-$(CONFIG_MCI_ATMEL) += atmel_mci.o
--obj-$(CONFIG_MCI_BCM2835) += mci-bcm2835.o
-+obj-$(CONFIG_MCI_BCM283X) += mci-bcm2835.o
- obj-$(CONFIG_MCI_IMX) += imx.o
- obj-$(CONFIG_MCI_IMX_ESDHC) += imx-esdhc.o
- obj-$(CONFIG_MCI_MXS) += mxs.o
-diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
-index 05c3f48..4b41252 100644
---- a/drivers/regulator/Kconfig
-+++ b/drivers/regulator/Kconfig
-@@ -11,9 +11,9 @@ config REGULATOR_FIXED
- This enables a simple fixed regulator. It is used for regulators
- which are not software controllable or controllable via gpio.
-
--config REGULATOR_BCM2835
-+config REGULATOR_BCM283X
- bool
-- depends on ARCH_BCM2835
-+ depends on ARCH_BCM283X
- default y
-
- endif
-diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile
-index d663c16..a8dd9bd 100644
---- a/drivers/regulator/Makefile
-+++ b/drivers/regulator/Makefile
-@@ -1,3 +1,3 @@
- obj-$(CONFIG_REGULATOR) += core.o
- obj-$(CONFIG_REGULATOR_FIXED) += fixed.o
--obj-$(CONFIG_REGULATOR_BCM2835) += bcm2835.o
-+obj-$(CONFIG_REGULATOR_BCM283X) += bcm2835.o
-diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
-index eabd246..7ff67e5 100644
---- a/drivers/video/Kconfig
-+++ b/drivers/video/Kconfig
-@@ -82,11 +82,11 @@ config DRIVER_VIDEO_PXA
- Add support for the frame buffer device found on the PXA270
- CPU.
-
--config DRIVER_VIDEO_BCM2835
-- bool "BCM2835 framebuffer driver"
-- depends on ARCH_BCM2835
-+config DRIVER_VIDEO_BCM283X
-+ bool "BCM283X framebuffer driver"
-+ depends on ARCH_BCM283X
- help
-- Add support for the BCM2835/VideoCore frame buffer device.
-+ Add support for the BCM283X/VideoCore frame buffer device.
-
- source drivers/video/imx-ipu-v3/Kconfig
-
-diff --git a/drivers/video/Makefile b/drivers/video/Makefile
-index 57e4864..a64fc5f 100644
---- a/drivers/video/Makefile
-+++ b/drivers/video/Makefile
-@@ -17,6 +17,6 @@ obj-$(CONFIG_DRIVER_VIDEO_S3C24XX) += s3c24xx.o
- obj-$(CONFIG_DRIVER_VIDEO_PXA) += pxa.o
- obj-$(CONFIG_DRIVER_VIDEO_SDL) += sdl.o
- obj-$(CONFIG_DRIVER_VIDEO_OMAP) += omap.o
--obj-$(CONFIG_DRIVER_VIDEO_BCM2835) += bcm2835.o
-+obj-$(CONFIG_DRIVER_VIDEO_BCM283X) += bcm2835.o
- obj-$(CONFIG_DRIVER_VIDEO_SIMPLEFB) += simplefb.o
- obj-$(CONFIG_DRIVER_VIDEO_IMX_IPUV3) += imx-ipu-v3/
---
-2.6.1
-
diff --git a/configs/platform-rpi2/patches/barebox-2015.12.0/0005-bcm283x-mbox-align-to-cachesize.patch b/configs/platform-rpi2/patches/barebox-2015.12.0/0005-bcm283x-mbox-align-to-cachesize.patch
deleted file mode 100644
index 226f168..0000000
--- a/configs/platform-rpi2/patches/barebox-2015.12.0/0005-bcm283x-mbox-align-to-cachesize.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From c5d1d027d987ee5b325cc4618221f2d3461dd968 Mon Sep 17 00:00:00 2001
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Sat, 19 Dec 2015 14:09:47 +0100
-Subject: [PATCH 5/7] bcm283x: mbox: align to cachesize
-
-This patch change the align of mbox stack resource to 32. The reason is
-that I had some experience with bcm2836 and the mbox implementation,
-after setting the align to 64(on bcm2836) the issues was gone.
-
-I found these values inside the u-boot implementation, they use 32
-(bcm2835) and 64 (bcm2836).
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/mach-bcm283x/include/mach/mbox.h | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h
-index 4c3fd77..09b31f2 100644
---- a/arch/arm/mach-bcm283x/include/mach/mbox.h
-+++ b/arch/arm/mach-bcm283x/include/mach/mbox.h
-@@ -73,8 +73,10 @@ struct bcm2835_mbox_hdr {
- #define BCM2835_MBOX_REQ_CODE 0
- #define BCM2835_MBOX_RESP_CODE_SUCCESS 0x80000000
-
-+#define BCM2835_CACHELINE_SIZE 32
-+
- #define BCM2835_MBOX_STACK_ALIGN(type, name) \
-- STACK_ALIGN_ARRAY(type, name, 1, BCM2835_CHAN_MASK + 1)
-+ STACK_ALIGN_ARRAY(type, name, 1, BCM2835_CACHELINE_SIZE)
-
- #define BCM2835_MBOX_INIT_HDR(_m_) { \
- memset((_m_), 0, sizeof(*(_m_))); \
---
-2.6.1
-
diff --git a/configs/platform-rpi2/patches/barebox-2015.12.0/0006-rpi-sync-revision-detection-with-u-boot.patch b/configs/platform-rpi2/patches/barebox-2015.12.0/0006-rpi-sync-revision-detection-with-u-boot.patch
deleted file mode 100644
index 417c38c..0000000
--- a/configs/platform-rpi2/patches/barebox-2015.12.0/0006-rpi-sync-revision-detection-with-u-boot.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 3cf2e6bdfaf871ea6eeb3f9b81ad3332d9413b80 Mon Sep 17 00:00:00 2001
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Sat, 19 Dec 2015 14:34:32 +0100
-Subject: [PATCH 6/7] rpi: sync revision detection with u-boot
-
-This patch adds parts from u-boot code for doing RPi revision detection
-and take care about the "warranty bit". I got this bit on my RPi2.
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/boards/raspberry-pi/rpi.c | 15 +++++++++++++++
- 1 file changed, 15 insertions(+)
-
-diff --git a/arch/arm/boards/raspberry-pi/rpi.c b/arch/arm/boards/raspberry-pi/rpi.c
-index f9406d4..faf48a5 100644
---- a/arch/arm/boards/raspberry-pi/rpi.c
-+++ b/arch/arm/boards/raspberry-pi/rpi.c
-@@ -203,7 +203,22 @@ static void rpi_get_board_rev(void)
- return;
- }
-
-+ /* Comments from u-boot:
-+ * For details of old-vs-new scheme, see:
-+ * https://github.com/pimoroni/RPi.version/blob/master/RPi/version.py
-+ * http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=99293&p=690282
-+ * (a few posts down)
-+ *
-+ * For the RPi 1, bit 24 is the "warranty bit", so we mask off just the
-+ * lower byte to use as the board rev:
-+ * http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=98367&start=250
-+ * http://www.raspberrypi.org/forums/viewtopic.php?f=31&t=20594
-+ */
- rpi_board_rev = msg->get_board_rev.body.resp.rev;
-+ if (rpi_board_rev & 0x800000)
-+ rpi_board_rev = (rpi_board_rev >> 4) & 0xff;
-+ else
-+ rpi_board_rev &= 0xff;
- if (rpi_board_rev >= ARRAY_SIZE(models)) {
- printf("RPI: Board rev %u outside known range\n",
- rpi_board_rev);
---
-2.6.1
-
diff --git a/configs/platform-rpi2/patches/barebox-2015.12.0/0007-arm-bcm283x-add-rpi2-support.patch b/configs/platform-rpi2/patches/barebox-2015.12.0/0007-arm-bcm283x-add-rpi2-support.patch
deleted file mode 100644
index 7df2600..0000000
--- a/configs/platform-rpi2/patches/barebox-2015.12.0/0007-arm-bcm283x-add-rpi2-support.patch
+++ /dev/null
@@ -1,909 +0,0 @@
-From b79e3958076358ad84e279a9cd8464decb6ac1c5 Mon Sep 17 00:00:00 2001
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Sat, 19 Dec 2015 14:24:53 +0100
-Subject: [PATCH 7/7] arm: bcm283x: add rpi2 support
-
-This patch adds Raspberry Pi 2 support in barebox. The features should
-be the same like the current RPi status in barebox.
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/Kconfig | 5 +
- arch/arm/boards/Makefile | 2 +-
- arch/arm/boards/raspberry-pi/Makefile | 2 +
- arch/arm/boards/raspberry-pi/rpi-common.c | 294 ++++++++++++++++++++++++++
- arch/arm/boards/raspberry-pi/rpi.c | 292 +------------------------
- arch/arm/boards/raspberry-pi/rpi.h | 28 +++
- arch/arm/boards/raspberry-pi/rpi2.c | 21 ++
- arch/arm/configs/rpi2_defconfig | 72 +++++++
- arch/arm/mach-bcm283x/Kconfig | 9 +
- arch/arm/mach-bcm283x/include/mach/mbox.h | 9 +-
- arch/arm/mach-bcm283x/include/mach/platform.h | 9 +
- 11 files changed, 453 insertions(+), 290 deletions(-)
- create mode 100644 arch/arm/boards/raspberry-pi/rpi-common.c
- create mode 100644 arch/arm/boards/raspberry-pi/rpi.h
- create mode 100644 arch/arm/boards/raspberry-pi/rpi2.c
- create mode 100644 arch/arm/configs/rpi2_defconfig
-
-diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
-index 4e7c1fd..71d4336 100644
---- a/arch/arm/Kconfig
-+++ b/arch/arm/Kconfig
-@@ -64,6 +64,11 @@ config ARCH_BCM2835
- select ARCH_BCM283X
- select CPU_ARM1176
-
-+config ARCH_BCM2836
-+ bool "Broadcom BCM2836 boards"
-+ select ARCH_BCM283X
-+ select CPU_V7
-+
- config ARCH_CLPS711X
- bool "Cirrus Logic EP711x/EP721x/EP731x"
- select CLKDEV_LOOKUP
-diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
-index 2e58f15..1029e8f 100644
---- a/arch/arm/boards/Makefile
-+++ b/arch/arm/boards/Makefile
-@@ -95,7 +95,7 @@ obj-$(CONFIG_MACH_QIL_A9260) += qil-a926x/
- obj-$(CONFIG_MACH_QIL_A9G20) += qil-a926x/
- obj-$(CONFIG_MACH_RADXA_ROCK) += radxa-rock/
- obj-$(CONFIG_MACH_REALQ7) += datamodul-edm-qmx6/
--obj-$(CONFIG_MACH_RPI) += raspberry-pi/
-+obj-$(CONFIG_MACH_RPI_COMMON) += raspberry-pi/
- obj-$(CONFIG_MACH_SABRELITE) += freescale-mx6-sabrelite/
- obj-$(CONFIG_MACH_SABRESD) += freescale-mx6-sabresd/
- obj-$(CONFIG_MACH_FREESCALE_IMX6SX_SABRESDB) += freescale-mx6sx-sabresdb/
-diff --git a/arch/arm/boards/raspberry-pi/Makefile b/arch/arm/boards/raspberry-pi/Makefile
-index 978383a..7a3d7de 100644
---- a/arch/arm/boards/raspberry-pi/Makefile
-+++ b/arch/arm/boards/raspberry-pi/Makefile
-@@ -1,2 +1,4 @@
-+obj-$(CONFIG_MACH_RPI_COMMON) += rpi-common.o
- obj-$(CONFIG_MACH_RPI) += rpi.o
-+obj-$(CONFIG_MACH_RPI2) += rpi2.o
- lwl-y += lowlevel.o
-diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c b/arch/arm/boards/raspberry-pi/rpi-common.c
-new file mode 100644
-index 0000000..0e17587
---- /dev/null
-+++ b/arch/arm/boards/raspberry-pi/rpi-common.c
-@@ -0,0 +1,294 @@
-+/*
-+ * Copyright (C) 2009 Carlo Caione <carlo@carlocaione.org>
-+ *
-+ * This program is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU General Public License as
-+ * published by the Free Software Foundation; either version 2 of
-+ * the License, or (at your option) any later version.
-+ *
-+ * This program is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ * GNU General Public License for more details.
-+ *
-+ */
-+
-+#include <common.h>
-+#include <init.h>
-+#include <fs.h>
-+#include <linux/stat.h>
-+#include <linux/clk.h>
-+#include <linux/clkdev.h>
-+#include <envfs.h>
-+#include <malloc.h>
-+#include <gpio.h>
-+#include <net.h>
-+#include <led.h>
-+#include <asm/armlinux.h>
-+#include <generated/mach-types.h>
-+
-+#include <mach/core.h>
-+#include <mach/mbox.h>
-+
-+#include "rpi.h"
-+
-+struct msg_get_arm_mem {
-+ struct bcm2835_mbox_hdr hdr;
-+ struct bcm2835_mbox_tag_get_arm_mem get_arm_mem;
-+ u32 end_tag;
-+};
-+
-+struct msg_get_clock_rate {
-+ struct bcm2835_mbox_hdr hdr;
-+ struct bcm2835_mbox_tag_get_clock_rate get_clock_rate;
-+ u32 end_tag;
-+};
-+
-+struct msg_get_board_rev {
-+ struct bcm2835_mbox_hdr hdr;
-+ struct bcm2835_mbox_tag_get_board_rev get_board_rev;
-+ u32 end_tag;
-+};
-+
-+struct msg_get_mac_address {
-+ struct bcm2835_mbox_hdr hdr;
-+ struct bcm2835_mbox_tag_get_mac_address get_mac_address;
-+ u32 end_tag;
-+};
-+
-+static int rpi_get_arm_mem(u32 *size)
-+{
-+ BCM2835_MBOX_STACK_ALIGN(struct msg_get_arm_mem, msg);
-+ int ret;
-+
-+ BCM2835_MBOX_INIT_HDR(msg);
-+ BCM2835_MBOX_INIT_TAG(&msg->get_arm_mem, GET_ARM_MEMORY);
-+
-+ ret = bcm2835_mbox_call_prop(BCM2835_MBOX_PROP_CHAN, &msg->hdr);
-+ if (ret)
-+ return ret;
-+
-+ *size = msg->get_arm_mem.body.resp.mem_size;
-+
-+ return 0;
-+}
-+
-+static int rpi_register_clkdev(u32 clock_id, const char *name)
-+{
-+ BCM2835_MBOX_STACK_ALIGN(struct msg_get_clock_rate, msg);
-+ struct clk *clk;
-+ int ret;
-+
-+ BCM2835_MBOX_INIT_HDR(msg);
-+ BCM2835_MBOX_INIT_TAG(&msg->get_clock_rate, GET_CLOCK_RATE);
-+ msg->get_clock_rate.body.req.clock_id = clock_id;
-+
-+ ret = bcm2835_mbox_call_prop(BCM2835_MBOX_PROP_CHAN, &msg->hdr);
-+ if (ret)
-+ return ret;
-+
-+ clk = clk_fixed(name, msg->get_clock_rate.body.resp.rate_hz);
-+ if (IS_ERR(clk))
-+ return PTR_ERR(clk);
-+
-+ if (!clk_register_clkdev(clk, NULL, name))
-+ return -ENODEV;
-+
-+ return 0;
-+}
-+
-+void rpi_set_usbethaddr(void)
-+{
-+ BCM2835_MBOX_STACK_ALIGN(struct msg_get_mac_address, msg);
-+ int ret;
-+
-+ BCM2835_MBOX_INIT_HDR(msg);
-+ BCM2835_MBOX_INIT_TAG(&msg->get_mac_address, GET_MAC_ADDRESS);
-+
-+ ret = bcm2835_mbox_call_prop(BCM2835_MBOX_PROP_CHAN, &msg->hdr);
-+ if (ret) {
-+ printf("bcm2835: Could not query MAC address\n");
-+ /* Ignore error; not critical */
-+ return;
-+ }
-+
-+ eth_register_ethaddr(0, msg->get_mac_address.body.resp.mac);
-+}
-+
-+struct gpio_led rpi_leds[] = {
-+ {
-+ .gpio = -EINVAL,
-+ .led = {
-+ .name = "ACT",
-+ },
-+ }, {
-+ .gpio = -EINVAL,
-+ .led = {
-+ .name = "PWR",
-+ },
-+ },
-+};
-+
-+void rpi_add_led(void)
-+{
-+ int i;
-+ struct gpio_led *l;
-+
-+ for (i = 0; i < ARRAY_SIZE(rpi_leds); i++) {
-+ l = &rpi_leds[i];
-+
-+ if (gpio_is_valid(l->gpio))
-+ led_gpio_register(l);
-+ }
-+
-+ l = &rpi_leds[0];
-+ if (gpio_is_valid(l->gpio))
-+ led_set_trigger(LED_TRIGGER_HEARTBEAT, &l->led);
-+}
-+
-+void rpi_b_plus_init(void)
-+{
-+ rpi_leds[0].gpio = 47;
-+ rpi_leds[1].gpio = 35;
-+ rpi_set_usbethaddr();
-+}
-+
-+static int rpi_board_rev = 0;
-+
-+static void rpi_get_board_rev(void)
-+{
-+ int ret;
-+ char *name;
-+
-+ BCM2835_MBOX_STACK_ALIGN(struct msg_get_board_rev, msg);
-+ BCM2835_MBOX_INIT_HDR(msg);
-+ BCM2835_MBOX_INIT_TAG(&msg->get_board_rev, GET_BOARD_REV);
-+
-+ ret = bcm2835_mbox_call_prop(BCM2835_MBOX_PROP_CHAN, &msg->hdr);
-+ if (ret) {
-+ printf("bcm2835: Could not query board revision\n");
-+ /* Ignore error; not critical */
-+ return;
-+ }
-+
-+ /* Comments from u-boot:
-+ * For details of old-vs-new scheme, see:
-+ * https://github.com/pimoroni/RPi.version/blob/master/RPi/version.py
-+ * http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=99293&p=690282
-+ * (a few posts down)
-+ *
-+ * For the RPi 1, bit 24 is the "warranty bit", so we mask off just the
-+ * lower byte to use as the board rev:
-+ * http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=98367&start=250
-+ * http://www.raspberrypi.org/forums/viewtopic.php?f=31&t=20594
-+ */
-+ rpi_board_rev = msg->get_board_rev.body.resp.rev;
-+ if (rpi_board_rev & 0x800000)
-+ rpi_board_rev = (rpi_board_rev >> 4) & 0xff;
-+ else
-+ rpi_board_rev &= 0xff;
-+ if (rpi_board_rev >= rpi_models_size) {
-+ printf("RPI: Board rev %u outside known range\n",
-+ rpi_board_rev);
-+ goto unknown_rev;
-+ }
-+
-+ if (!rpi_models[rpi_board_rev].name) {
-+ printf("RPI: Board rev %u unknown\n", rpi_board_rev);
-+ goto unknown_rev;
-+ }
-+
-+ if (!rpi_board_rev)
-+ goto unknown_rev;
-+
-+ name = asprintf("RaspberryPi %s %s", rpi_models[rpi_board_rev].name,
-+ rpi_model_string);
-+ barebox_set_model(name);
-+ free(name);
-+
-+ return;
-+
-+unknown_rev:
-+ rpi_board_rev = 0;
-+ name = asprintf("RaspberryPi %s", rpi_model_string);
-+ barebox_set_model(name);
-+ free(name);
-+}
-+
-+static void rpi_model_init(void)
-+{
-+ if (!rpi_models[rpi_board_rev].init)
-+ return;
-+
-+ rpi_models[rpi_board_rev].init();
-+ rpi_add_led();
-+}
-+
-+static int rpi_mem_init(void)
-+{
-+ u32 size = 0;
-+ int ret;
-+
-+ ret = rpi_get_arm_mem(&size);
-+ if (ret)
-+ printf("could not query ARM memory size\n");
-+
-+ bcm2835_add_device_sdram(size);
-+
-+ return ret;
-+}
-+mem_initcall(rpi_mem_init);
-+
-+static int rpi_console_init(void)
-+{
-+ rpi_get_board_rev();
-+ barebox_set_hostname("rpi");
-+
-+ bcm2835_register_uart();
-+ return 0;
-+}
-+console_initcall(rpi_console_init);
-+
-+static int rpi_clock_init(void)
-+{
-+ rpi_register_clkdev(BCM2835_MBOX_CLOCK_ID_EMMC, "bcm2835_mci0");
-+ return 0;
-+}
-+postconsole_initcall(rpi_clock_init);
-+
-+static int rpi_env_init(void)
-+{
-+ struct stat s;
-+ const char *diskdev = "/dev/disk0.0";
-+ int ret;
-+
-+ device_detect_by_name("mci0");
-+
-+ ret = stat(diskdev, &s);
-+ if (ret) {
-+ printf("no %s. using default env\n", diskdev);
-+ return 0;
-+ }
-+
-+ mkdir("/boot", 0666);
-+ ret = mount(diskdev, "fat", "/boot", NULL);
-+ if (ret) {
-+ printf("failed to mount %s\n", diskdev);
-+ return 0;
-+ }
-+
-+ default_environment_path_set("/boot/barebox.env");
-+
-+ return 0;
-+}
-+
-+static int rpi_devices_init(void)
-+{
-+ rpi_model_init();
-+ bcm2835_register_mci();
-+ bcm2835_register_fb();
-+ armlinux_set_architecture(MACH_TYPE_BCM2708);
-+ rpi_env_init();
-+ return 0;
-+}
-+late_initcall(rpi_devices_init);
-diff --git a/arch/arm/boards/raspberry-pi/rpi.c b/arch/arm/boards/raspberry-pi/rpi.c
-index faf48a5..dd2ad7f 100644
---- a/arch/arm/boards/raspberry-pi/rpi.c
-+++ b/arch/arm/boards/raspberry-pi/rpi.c
-@@ -13,161 +13,17 @@
- *
- */
-
--#include <common.h>
--#include <init.h>
--#include <fs.h>
--#include <linux/stat.h>
--#include <linux/clk.h>
--#include <linux/clkdev.h>
--#include <envfs.h>
--#include <malloc.h>
--#include <gpio.h>
--#include <net.h>
--#include <led.h>
--#include <asm/armlinux.h>
--#include <generated/mach-types.h>
--
--#include <mach/core.h>
--#include <mach/mbox.h>
--
--struct msg_get_arm_mem {
-- struct bcm2835_mbox_hdr hdr;
-- struct bcm2835_mbox_tag_get_arm_mem get_arm_mem;
-- u32 end_tag;
--};
--
--struct msg_get_clock_rate {
-- struct bcm2835_mbox_hdr hdr;
-- struct bcm2835_mbox_tag_get_clock_rate get_clock_rate;
-- u32 end_tag;
--};
--
--struct msg_get_board_rev {
-- struct bcm2835_mbox_hdr hdr;
-- struct bcm2835_mbox_tag_get_board_rev get_board_rev;
-- u32 end_tag;
--};
--
--struct msg_get_mac_address {
-- struct bcm2835_mbox_hdr hdr;
-- struct bcm2835_mbox_tag_get_mac_address get_mac_address;
-- u32 end_tag;
--};
--
--static int rpi_get_arm_mem(u32 *size)
--{
-- BCM2835_MBOX_STACK_ALIGN(struct msg_get_arm_mem, msg);
-- int ret;
--
-- BCM2835_MBOX_INIT_HDR(msg);
-- BCM2835_MBOX_INIT_TAG(&msg->get_arm_mem, GET_ARM_MEMORY);
--
-- ret = bcm2835_mbox_call_prop(BCM2835_MBOX_PROP_CHAN, &msg->hdr);
-- if (ret)
-- return ret;
--
-- *size = msg->get_arm_mem.body.resp.mem_size;
--
-- return 0;
--}
--
--static int rpi_register_clkdev(u32 clock_id, const char *name)
--{
-- BCM2835_MBOX_STACK_ALIGN(struct msg_get_clock_rate, msg);
-- struct clk *clk;
-- int ret;
--
-- BCM2835_MBOX_INIT_HDR(msg);
-- BCM2835_MBOX_INIT_TAG(&msg->get_clock_rate, GET_CLOCK_RATE);
-- msg->get_clock_rate.body.req.clock_id = clock_id;
--
-- ret = bcm2835_mbox_call_prop(BCM2835_MBOX_PROP_CHAN, &msg->hdr);
-- if (ret)
-- return ret;
--
-- clk = clk_fixed(name, msg->get_clock_rate.body.resp.rate_hz);
-- if (IS_ERR(clk))
-- return PTR_ERR(clk);
--
-- if (!clk_register_clkdev(clk, NULL, name))
-- return -ENODEV;
--
-- return 0;
--}
--
--static void rpi_set_usbethaddr(void)
--{
-- BCM2835_MBOX_STACK_ALIGN(struct msg_get_mac_address, msg);
-- int ret;
--
-- BCM2835_MBOX_INIT_HDR(msg);
-- BCM2835_MBOX_INIT_TAG(&msg->get_mac_address, GET_MAC_ADDRESS);
--
-- ret = bcm2835_mbox_call_prop(BCM2835_MBOX_PROP_CHAN, &msg->hdr);
-- if (ret) {
-- printf("bcm2835: Could not query MAC address\n");
-- /* Ignore error; not critical */
-- return;
-- }
--
-- eth_register_ethaddr(0, msg->get_mac_address.body.resp.mac);
--}
--
--static struct gpio_led leds[] = {
-- {
-- .gpio = -EINVAL,
-- .led = {
-- .name = "ACT",
-- },
-- }, {
-- .gpio = -EINVAL,
-- .led = {
-- .name = "PWR",
-- },
-- },
--};
--
--static void rpi_add_led(void)
--{
-- int i;
-- struct gpio_led *l;
--
-- for (i = 0; i < ARRAY_SIZE(leds); i++) {
-- l = &leds[i];
--
-- if (gpio_is_valid(l->gpio))
-- led_gpio_register(l);
-- }
--
-- l = &leds[0];
-- if (gpio_is_valid(l->gpio))
-- led_set_trigger(LED_TRIGGER_HEARTBEAT, &l->led);
--}
--
--static void rpi_b_plus_init(void)
--{
-- leds[0].gpio = 47;
-- leds[1].gpio = 35;
-- rpi_set_usbethaddr();
--}
-+#include "rpi.h"
-
- static void rpi_b_init(void)
- {
-- leds[0].gpio = 16;
-- leds[0].active_low = 1;
-+ rpi_leds[0].gpio = 16;
-+ rpi_leds[0].active_low = 1;
- rpi_set_usbethaddr();
- }
-
--#define RPI_MODEL(_id, _name, _init) \
-- [_id] = { \
-- .name = _name,\
-- .init = _init,\
-- }
- /* See comments in mbox.h for data source */
--static const struct {
-- const char *name;
-- void (*init)(void);
--} models[] = {
-+const struct rpi_model rpi_models[] = {
- RPI_MODEL(0, "Unknown model", NULL),
- RPI_MODEL(BCM2835_BOARD_REV_B_I2C0_2, "Model B (no P5)", rpi_b_init),
- RPI_MODEL(BCM2835_BOARD_REV_B_I2C0_3, "Model B (no P5)", rpi_b_init),
-@@ -184,141 +40,5 @@ static const struct {
- RPI_MODEL(BCM2835_BOARD_REV_CM, "Compute Module", NULL),
- RPI_MODEL(BCM2835_BOARD_REV_A_PLUS, "Model A+", NULL),
- };
--
--static int rpi_board_rev = 0;
--
--static void rpi_get_board_rev(void)
--{
-- int ret;
-- char *name;
--
-- BCM2835_MBOX_STACK_ALIGN(struct msg_get_board_rev, msg);
-- BCM2835_MBOX_INIT_HDR(msg);
-- BCM2835_MBOX_INIT_TAG(&msg->get_board_rev, GET_BOARD_REV);
--
-- ret = bcm2835_mbox_call_prop(BCM2835_MBOX_PROP_CHAN, &msg->hdr);
-- if (ret) {
-- printf("bcm2835: Could not query board revision\n");
-- /* Ignore error; not critical */
-- return;
-- }
--
-- /* Comments from u-boot:
-- * For details of old-vs-new scheme, see:
-- * https://github.com/pimoroni/RPi.version/blob/master/RPi/version.py
-- * http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=99293&p=690282
-- * (a few posts down)
-- *
-- * For the RPi 1, bit 24 is the "warranty bit", so we mask off just the
-- * lower byte to use as the board rev:
-- * http://www.raspberrypi.org/forums/viewtopic.php?f=63&t=98367&start=250
-- * http://www.raspberrypi.org/forums/viewtopic.php?f=31&t=20594
-- */
-- rpi_board_rev = msg->get_board_rev.body.resp.rev;
-- if (rpi_board_rev & 0x800000)
-- rpi_board_rev = (rpi_board_rev >> 4) & 0xff;
-- else
-- rpi_board_rev &= 0xff;
-- if (rpi_board_rev >= ARRAY_SIZE(models)) {
-- printf("RPI: Board rev %u outside known range\n",
-- rpi_board_rev);
-- goto unknown_rev;
-- }
--
-- if (!models[rpi_board_rev].name) {
-- printf("RPI: Board rev %u unknown\n", rpi_board_rev);
-- goto unknown_rev;
-- }
--
-- if (!rpi_board_rev)
-- goto unknown_rev;
--
-- name = asprintf("RaspberryPi %s (BCM2835/ARM1176JZF-S)",
-- models[rpi_board_rev].name);
-- barebox_set_model(name);
-- free(name);
--
-- return;
--
--unknown_rev:
-- rpi_board_rev = 0;
-- barebox_set_model("RaspberryPi (BCM2835/ARM1176JZF-S)");
--}
--
--static void rpi_model_init(void)
--{
-- if (!models[rpi_board_rev].init)
-- return;
--
-- models[rpi_board_rev].init();
-- rpi_add_led();
--}
--
--static int rpi_mem_init(void)
--{
-- u32 size = 0;
-- int ret;
--
-- ret = rpi_get_arm_mem(&size);
-- if (ret)
-- printf("could not query ARM memory size\n");
--
-- bcm2835_add_device_sdram(size);
--
-- return ret;
--}
--mem_initcall(rpi_mem_init);
--
--static int rpi_console_init(void)
--{
-- rpi_get_board_rev();
-- barebox_set_hostname("rpi");
--
-- bcm2835_register_uart();
-- return 0;
--}
--console_initcall(rpi_console_init);
--
--static int rpi_clock_init(void)
--{
-- rpi_register_clkdev(BCM2835_MBOX_CLOCK_ID_EMMC, "bcm2835_mci0");
-- return 0;
--}
--postconsole_initcall(rpi_clock_init);
--
--static int rpi_env_init(void)
--{
-- struct stat s;
-- const char *diskdev = "/dev/disk0.0";
-- int ret;
--
-- device_detect_by_name("mci0");
--
-- ret = stat(diskdev, &s);
-- if (ret) {
-- printf("no %s. using default env\n", diskdev);
-- return 0;
-- }
--
-- mkdir("/boot", 0666);
-- ret = mount(diskdev, "fat", "/boot", NULL);
-- if (ret) {
-- printf("failed to mount %s\n", diskdev);
-- return 0;
-- }
--
-- default_environment_path_set("/boot/barebox.env");
--
-- return 0;
--}
--
--static int rpi_devices_init(void)
--{
-- rpi_model_init();
-- bcm2835_register_mci();
-- bcm2835_register_fb();
-- armlinux_set_architecture(MACH_TYPE_BCM2708);
-- rpi_env_init();
-- return 0;
--}
--late_initcall(rpi_devices_init);
-+const size_t rpi_models_size = ARRAY_SIZE(rpi_models);
-+const char *rpi_model_string = "(BCM2835/ARM1176JZF-S)";
-diff --git a/arch/arm/boards/raspberry-pi/rpi.h b/arch/arm/boards/raspberry-pi/rpi.h
-new file mode 100644
-index 0000000..739cdee
---- /dev/null
-+++ b/arch/arm/boards/raspberry-pi/rpi.h
-@@ -0,0 +1,28 @@
-+#ifndef __ARCH_ARM_BOARDS_RPI_H__
-+#define __ARCH_ARM_BOARDS_RPI_H__
-+
-+#include <types.h>
-+#include <led.h>
-+
-+#include <mach/mbox.h>
-+
-+#define RPI_MODEL(_id, _name, _init) \
-+ [_id] = { \
-+ .name = _name,\
-+ .init = _init,\
-+ }
-+
-+struct rpi_model {
-+ const char *name;
-+ void (*init)(void);
-+};
-+
-+extern const struct rpi_model rpi_models[];
-+extern const size_t rpi_models_size;
-+extern const char *rpi_model_string;
-+extern struct gpio_led rpi_leds[];
-+
-+void rpi_b_plus_init(void);
-+void rpi_set_usbethaddr(void);
-+
-+#endif /* __ARCH_ARM_BOARDS_RPI_H__ */
-diff --git a/arch/arm/boards/raspberry-pi/rpi2.c b/arch/arm/boards/raspberry-pi/rpi2.c
-new file mode 100644
-index 0000000..2cfc06f
---- /dev/null
-+++ b/arch/arm/boards/raspberry-pi/rpi2.c
-@@ -0,0 +1,21 @@
-+/*
-+ * This program is free software; you can redistribute it and/or
-+ * modify it under the terms of the GNU General Public License as
-+ * published by the Free Software Foundation; either version 2 of
-+ * the License, or (at your option) any later version.
-+ *
-+ * This program is distributed in the hope that it will be useful,
-+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ * GNU General Public License for more details.
-+ *
-+ */
-+
-+#include "rpi.h"
-+
-+const struct rpi_model rpi_models[] = {
-+ RPI_MODEL(0, "Unknown model", NULL),
-+ RPI_MODEL(BCM2836_BOARD_REV_2_B, "2 Model B", rpi_b_plus_init),
-+};
-+const size_t rpi_models_size = ARRAY_SIZE(rpi_models);
-+const char *rpi_model_string = "(BCM2836/CORTEX-A7)";
-diff --git a/arch/arm/configs/rpi2_defconfig b/arch/arm/configs/rpi2_defconfig
-new file mode 100644
-index 0000000..81f821a
---- /dev/null
-+++ b/arch/arm/configs/rpi2_defconfig
-@@ -0,0 +1,72 @@
-+CONFIG_ARCH_BCM2836=y
-+CONFIG_AEABI=y
-+CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
-+CONFIG_ARM_UNWIND=y
-+CONFIG_MMU=y
-+CONFIG_MALLOC_TLSF=y
-+CONFIG_KALLSYMS=y
-+CONFIG_PROMPT="R-Pi> "
-+CONFIG_HUSH_FANCY_PROMPT=y
-+CONFIG_CMDLINE_EDITING=y
-+CONFIG_AUTO_COMPLETE=y
-+CONFIG_MENU=y
-+CONFIG_BLSPEC=y
-+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
-+CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/raspberry-pi/env"
-+CONFIG_LONGHELP=y
-+CONFIG_CMD_IOMEM=y
-+CONFIG_CMD_MEMINFO=y
-+CONFIG_CMD_BOOTM_SHOW_TYPE=y
-+CONFIG_CMD_BOOTM_VERBOSE=y
-+CONFIG_CMD_BOOTM_INITRD=y
-+CONFIG_CMD_BOOTM_OFTREE=y
-+CONFIG_CMD_GO=y
-+CONFIG_CMD_LOADB=y
-+CONFIG_CMD_LOADY=y
-+CONFIG_CMD_RESET=y
-+CONFIG_CMD_UIMAGE=y
-+CONFIG_CMD_PARTITION=y
-+CONFIG_CMD_EXPORT=y
-+CONFIG_CMD_PRINTENV=y
-+CONFIG_CMD_MAGICVAR=y
-+CONFIG_CMD_MAGICVAR_HELP=y
-+CONFIG_CMD_SAVEENV=y
-+CONFIG_CMD_FILETYPE=y
-+CONFIG_CMD_LN=y
-+CONFIG_CMD_MD5SUM=y
-+CONFIG_CMD_UNCOMPRESS=y
-+CONFIG_CMD_LET=y
-+CONFIG_CMD_MSLEEP=y
-+CONFIG_CMD_SLEEP=y
-+CONFIG_CMD_ECHO_E=y
-+CONFIG_CMD_EDIT=y
-+CONFIG_CMD_LOGIN=y
-+CONFIG_CMD_MENU=y
-+CONFIG_CMD_MENU_MANAGEMENT=y
-+CONFIG_CMD_PASSWD=y
-+CONFIG_CMD_READLINE=y
-+CONFIG_CMD_TIMEOUT=y
-+CONFIG_CMD_CRC=y
-+CONFIG_CMD_CRC_CMP=y
-+CONFIG_CMD_MM=y
-+CONFIG_CMD_CLK=y
-+CONFIG_CMD_DETECT=y
-+CONFIG_CMD_GPIO=y
-+CONFIG_CMD_OF_NODE=y
-+CONFIG_CMD_OF_PROPERTY=y
-+CONFIG_CMD_OFTREE=y
-+CONFIG_CMD_TIME=y
-+CONFIG_SERIAL_AMBA_PL011=y
-+CONFIG_MCI=y
-+CONFIG_MCI_BCM283X=y
-+CONFIG_LED=y
-+CONFIG_LED_GPIO=y
-+CONFIG_LED_TRIGGERS=y
-+CONFIG_GPIO_BCM283X=y
-+CONFIG_REGULATOR=y
-+CONFIG_FS_EXT4=y
-+CONFIG_FS_FAT=y
-+CONFIG_FS_FAT_WRITE=y
-+CONFIG_FS_FAT_LFN=y
-+CONFIG_DIGEST_SHA1_GENERIC=y
-+CONFIG_DIGEST_SHA256_GENERIC=y
-diff --git a/arch/arm/mach-bcm283x/Kconfig b/arch/arm/mach-bcm283x/Kconfig
-index f4a7e67..e861268 100644
---- a/arch/arm/mach-bcm283x/Kconfig
-+++ b/arch/arm/mach-bcm283x/Kconfig
-@@ -4,12 +4,21 @@ config ARCH_TEXT_BASE
- hex
- default 0x04000000
-
-+config MACH_RPI_COMMON
-+ bool
-+
- choice
- prompt "Broadcom Board type"
-
- config MACH_RPI
- bool "RaspberryPi (BCM2835/ARM1176JZF-S)"
- depends on ARCH_BCM2835
-+ select MACH_RPI_COMMON
-+
-+config MACH_RPI2
-+ bool "RaspberryPi 2 (BCM2836/CORTEX-A7)"
-+ depends on ARCH_BCM2836
-+ select MACH_RPI_COMMON
-
- endchoice
-
-diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mbox.h
-index 09b31f2..cd9ee1f 100644
---- a/arch/arm/mach-bcm283x/include/mach/mbox.h
-+++ b/arch/arm/mach-bcm283x/include/mach/mbox.h
-@@ -11,6 +11,8 @@
-
- #include <common.h>
-
-+#include <mach/platform.h>
-+
- /*
- * The BCM2835 SoC contains (at least) two CPUs; the VideoCore (a/k/a "GPU")
- * and the ARM CPU. The ARM CPU is often thought of as the main CPU.
-@@ -40,7 +42,7 @@
-
- /* Raw mailbox HW */
-
--#define BCM2835_MBOX_PHYSADDR 0x2000b880
-+#define BCM2835_MBOX_PHYSADDR (BCM2835_ARM_BASE + 0x880)
-
- struct bcm2835_mbox_regs {
- u32 read;
-@@ -73,8 +75,6 @@ struct bcm2835_mbox_hdr {
- #define BCM2835_MBOX_REQ_CODE 0
- #define BCM2835_MBOX_RESP_CODE_SUCCESS 0x80000000
-
--#define BCM2835_CACHELINE_SIZE 32
--
- #define BCM2835_MBOX_STACK_ALIGN(type, name) \
- STACK_ALIGN_ARRAY(type, name, 1, BCM2835_CACHELINE_SIZE)
-
-@@ -128,6 +128,9 @@ struct bcm2835_mbox_tag_hdr {
-
- #define BCM2835_MBOX_TAG_GET_BOARD_REV 0x00010002
-
-+/* RPi 2 */
-+#define BCM2836_BOARD_REV_2_B 0x4
-+
- /*
- * 0x2..0xf from:
- * http://raspberryalphaomega.org.uk/2013/02/06/automatic-raspberry-pi-board-revision-detection-model-a-b1-and-b2/
-diff --git a/arch/arm/mach-bcm283x/include/mach/platform.h b/arch/arm/mach-bcm283x/include/mach/platform.h
-index e55085a..3b73831 100644
---- a/arch/arm/mach-bcm283x/include/mach/platform.h
-+++ b/arch/arm/mach-bcm283x/include/mach/platform.h
-@@ -28,7 +28,16 @@
- * This file is manually generated.
- */
-
-+#ifdef CONFIG_ARCH_BCM2835
- #define BCM2835_PERI_BASE 0x20000000
-+#define BCM2835_CACHELINE_SIZE 32
-+#elif defined CONFIG_ARCH_BCM2836
-+#define BCM2835_PERI_BASE 0x3f000000
-+#define BCM2835_CACHELINE_SIZE 64
-+#else
-+#error "no CONFIG_ARCH_BCM283X defined"
-+#endif
-+
- #define BCM2835_ST_BASE (BCM2835_PERI_BASE + 0x3000) /* System Timer */
- #define BCM2835_DMA_BASE (BCM2835_PERI_BASE + 0x7000) /* DMA controller */
- #define BCM2835_ARM_BASE (BCM2835_PERI_BASE + 0xB000) /* BCM2708 ARM control block */
---
-2.6.1
-
diff --git a/configs/platform-rpi2/patches/barebox-2015.12.0/series b/configs/platform-rpi2/patches/barebox-2015.12.0/series
deleted file mode 100644
index 8be561e..0000000
--- a/configs/platform-rpi2/patches/barebox-2015.12.0/series
+++ /dev/null
@@ -1,7 +0,0 @@
-0001-memtest-fix-missing-arguments-in-help-string.patch
-0002-led-add-missing-includes.patch
-0003-arm-bcm2835-fix-indentation.patch
-0004-bcm2835-introduce-mach-bcm283x.patch
-0005-bcm283x-mbox-align-to-cachesize.patch
-0006-rpi-sync-revision-detection-with-u-boot.patch
-0007-arm-bcm283x-add-rpi2-support.patch
diff --git a/configs/platform-rpi2/patches/linux-4.4/0001-irq-bcm2836-Fix-initialization-of-the-LOCAL_IRQ_CNT-.patch b/configs/platform-rpi2/patches/linux-4.4/0001-irq-bcm2836-Fix-initialization-of-the-LOCAL_IRQ_CNT-.patch
deleted file mode 100644
index ac782ab..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0001-irq-bcm2836-Fix-initialization-of-the-LOCAL_IRQ_CNT-.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From: Eric Anholt <eric@anholt.net>
-Date: Wed, 16 Dec 2015 12:25:00 -0800
-Subject: [PATCH] irq: bcm2836: Fix initialization of the LOCAL_IRQ_CNT*IRQ
- timers
-
-The irqchip's register area includes the the setup for the timer's
-scaling factors, and for the platform we want a fixed configuration of
-these registers.
-
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- drivers/irqchip/irq-bcm2836.c | 26 ++++++++++++++++++++++++++
- 1 file changed, 26 insertions(+)
-
-diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
-index f68708281fcf..6ec125ef3607 100644
---- a/drivers/irqchip/irq-bcm2836.c
-+++ b/drivers/irqchip/irq-bcm2836.c
-@@ -21,6 +21,9 @@
- #include <linux/irqdomain.h>
- #include <asm/exception.h>
-
-+#define LOCAL_CONTROL 0x000
-+#define LOCAL_PRESCALER 0x008
-+
- /*
- * The low 2 bits identify the CPU that the GPU IRQ goes to, and the
- * next 2 bits identify the CPU that the GPU FIQ goes to.
-@@ -237,6 +240,27 @@ bcm2836_arm_irqchip_smp_init(void)
- #endif
- }
-
-+/*
-+ * The LOCAL_IRQ_CNT* timer firings are based off of the external
-+ * oscillator with some scaling. The firmware sets up CNTFRQ to
-+ * report 19.2Mhz, but doesn't set up the scaling registers.
-+ */
-+static void bcm2835_init_local_timer_frequency(void)
-+{
-+ /*
-+ * Set the timer to source from the 19.2Mhz crystal clock (bit
-+ * 8 unset), and only increment by 1 instead of 2 (bit 9
-+ * unset).
-+ */
-+ writel(0, intc.base + LOCAL_CONTROL);
-+
-+ /*
-+ * Set the timer prescaler to 1:1 (timer freq = input freq *
-+ * 2**31 / prescaler)
-+ */
-+ writel(0x80000000, intc.base + LOCAL_PRESCALER);
-+}
-+
- static int __init bcm2836_arm_irqchip_l1_intc_of_init(struct device_node *node,
- struct device_node *parent)
- {
-@@ -246,6 +270,8 @@ static int __init bcm2836_arm_irqchip_l1_intc_of_init(struct device_node *node,
- node->full_name);
- }
-
-+ bcm2835_init_local_timer_frequency();
-+
- intc.domain = irq_domain_add_linear(node, LAST_IRQ + 1,
- &bcm2836_arm_irqchip_intc_ops,
- NULL);
diff --git a/configs/platform-rpi2/patches/linux-4.4/0002-irq-bcm2836-Add-SMP-support-for-the-2836.patch b/configs/platform-rpi2/patches/linux-4.4/0002-irq-bcm2836-Add-SMP-support-for-the-2836.patch
deleted file mode 100644
index 2e25c68..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0002-irq-bcm2836-Add-SMP-support-for-the-2836.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From: Andrea Merello <andrea.merello@gmail.com>
-Date: Sun, 3 May 2015 01:03:11 +0200
-Subject: [PATCH] irq: bcm2836: Add SMP support for the 2836
-
-The firmware sets the secondaries spinning waiting for a non-NULL
-value to show up in the last IPI mailbox.
-
-The original SMP port from the downstream tree was done by Andrea, and
-Eric cleaned it up/rewrote it a few times from there.
-
-Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- drivers/irqchip/irq-bcm2836.c | 27 +++++++++++++++++++++++++--
- 1 file changed, 25 insertions(+), 2 deletions(-)
-
-diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
-index 6ec125ef3607..c5ef4dfb5bb0 100644
---- a/drivers/irqchip/irq-bcm2836.c
-+++ b/drivers/irqchip/irq-bcm2836.c
-@@ -53,14 +53,16 @@
- /* Same status bits as above, but for FIQ. */
- #define LOCAL_FIQ_PENDING0 0x070
- /*
-- * Mailbox0 write-to-set bits. There are 16 mailboxes, 4 per CPU, and
-+ * Mailbox write-to-set bits. There are 16 mailboxes, 4 per CPU, and
- * these bits are organized by mailbox number and then CPU number. We
- * use mailbox 0 for IPIs. The mailbox's interrupt is raised while
- * any bit is set.
- */
- #define LOCAL_MAILBOX0_SET0 0x080
--/* Mailbox0 write-to-clear bits. */
-+#define LOCAL_MAILBOX3_SET0 0x08c
-+/* Mailbox write-to-clear bits. */
- #define LOCAL_MAILBOX0_CLR0 0x0c0
-+#define LOCAL_MAILBOX3_CLR0 0x0cc
-
- #define LOCAL_IRQ_CNTPSIRQ 0
- #define LOCAL_IRQ_CNTPNSIRQ 1
-@@ -226,6 +228,26 @@ static const struct irq_domain_ops bcm2836_arm_irqchip_intc_ops = {
- .xlate = irq_domain_xlate_onecell
- };
-
-+#ifdef CONFIG_SMP
-+int __init bcm2836_smp_boot_secondary(unsigned int cpu,
-+ struct task_struct *idle)
-+{
-+ unsigned long secondary_startup_phys =
-+ (unsigned long)virt_to_phys((void *)secondary_startup);
-+
-+ dsb();
-+ writel(secondary_startup_phys,
-+ intc.base + LOCAL_MAILBOX3_SET0 + 16 * cpu);
-+
-+ return 0;
-+}
-+
-+static const struct smp_operations bcm2836_smp_ops __initconst = {
-+ .smp_boot_secondary = bcm2836_smp_boot_secondary,
-+};
-+
-+#endif
-+
- static void
- bcm2836_arm_irqchip_smp_init(void)
- {
-@@ -237,6 +259,7 @@ bcm2836_arm_irqchip_smp_init(void)
- register_cpu_notifier(&bcm2836_arm_irqchip_cpu_notifier);
-
- set_smp_cross_call(bcm2836_arm_irqchip_send_ipi);
-+ smp_set_ops(&bcm2836_smp_ops);
- #endif
- }
-
diff --git a/configs/platform-rpi2/patches/linux-4.4/0003-dt-bindings-Add-root-properties-for-Raspberry-Pi-2.patch b/configs/platform-rpi2/patches/linux-4.4/0003-dt-bindings-Add-root-properties-for-Raspberry-Pi-2.patch
deleted file mode 100644
index 062781e..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0003-dt-bindings-Add-root-properties-for-Raspberry-Pi-2.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From: Eric Anholt <eric@anholt.net>
-Date: Tue, 21 Apr 2015 09:42:21 -0700
-Subject: [PATCH] dt-bindings: Add root properties for Raspberry Pi 2
-
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt
-index c78576bb7729..11d3056dc2bd 100644
---- a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt
-+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt
-@@ -26,6 +26,10 @@ Raspberry Pi Model B+
- Required root node properties:
- compatible = "raspberrypi,model-b-plus", "brcm,bcm2835";
-
-+Raspberry Pi 2 Model B
-+Required root node properties:
-+compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
-+
- Raspberry Pi Compute Module
- Required root node properties:
- compatible = "raspberrypi,compute-module", "brcm,bcm2835";
diff --git a/configs/platform-rpi2/patches/linux-4.4/0004-ARM-bcm2835-Split-the-DT-for-peripherals-from-the-DT.patch b/configs/platform-rpi2/patches/linux-4.4/0004-ARM-bcm2835-Split-the-DT-for-peripherals-from-the-DT.patch
deleted file mode 100644
index 1d01eb3..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0004-ARM-bcm2835-Split-the-DT-for-peripherals-from-the-DT.patch
+++ /dev/null
@@ -1,444 +0,0 @@
-From: Eric Anholt <eric@anholt.net>
-Date: Wed, 16 Dec 2015 13:24:40 -0800
-Subject: [PATCH] ARM: bcm2835: Split the DT for peripherals from the DT for
- the CPU
-
-The set of peripherals remained constant across bcm2835 (Raspberry Pi
-1) and bcm2836 (Raspberry Pi 2), but the CPU was swapped out. Split
-the files so that we can include just peripheral setup in 2836.
-
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/boot/dts/bcm2835.dtsi | 194 +-------------------------------------
- arch/arm/boot/dts/bcm283x.dtsi | 209 +++++++++++++++++++++++++++++++++++++++++
- 2 files changed, 210 insertions(+), 193 deletions(-)
- create mode 100644 arch/arm/boot/dts/bcm283x.dtsi
-
-diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi
-index aef64de77495..b83b32639358 100644
---- a/arch/arm/boot/dts/bcm2835.dtsi
-+++ b/arch/arm/boot/dts/bcm2835.dtsi
-@@ -1,206 +1,14 @@
--#include <dt-bindings/pinctrl/bcm2835.h>
--#include <dt-bindings/clock/bcm2835.h>
--#include "skeleton.dtsi"
-+#include "bcm283x.dtsi"
-
- / {
- compatible = "brcm,bcm2835";
-- model = "BCM2835";
-- interrupt-parent = <&intc>;
--
-- chosen {
-- bootargs = "earlyprintk console=ttyAMA0";
-- };
-
- soc {
-- compatible = "simple-bus";
-- #address-cells = <1>;
-- #size-cells = <1>;
- ranges = <0x7e000000 0x20000000 0x02000000>;
- dma-ranges = <0x40000000 0x00000000 0x20000000>;
-
-- timer@7e003000 {
-- compatible = "brcm,bcm2835-system-timer";
-- reg = <0x7e003000 0x1000>;
-- interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
-- /* This could be a reference to BCM2835_CLOCK_TIMER,
-- * but we don't have the driver using the common clock
-- * support yet.
-- */
-- clock-frequency = <1000000>;
-- };
--
-- dma: dma@7e007000 {
-- compatible = "brcm,bcm2835-dma";
-- reg = <0x7e007000 0xf00>;
-- interrupts = <1 16>,
-- <1 17>,
-- <1 18>,
-- <1 19>,
-- <1 20>,
-- <1 21>,
-- <1 22>,
-- <1 23>,
-- <1 24>,
-- <1 25>,
-- <1 26>,
-- <1 27>,
-- <1 28>;
--
-- #dma-cells = <1>;
-- brcm,dma-channel-mask = <0x7f35>;
-- };
--
-- intc: interrupt-controller@7e00b200 {
-- compatible = "brcm,bcm2835-armctrl-ic";
-- reg = <0x7e00b200 0x200>;
-- interrupt-controller;
-- #interrupt-cells = <2>;
-- };
--
-- watchdog@7e100000 {
-- compatible = "brcm,bcm2835-pm-wdt";
-- reg = <0x7e100000 0x28>;
-- };
--
-- clocks: cprman@7e101000 {
-- compatible = "brcm,bcm2835-cprman";
-- #clock-cells = <1>;
-- reg = <0x7e101000 0x2000>;
--
-- /* CPRMAN derives everything from the platform's
-- * oscillator.
-- */
-- clocks = <&clk_osc>;
-- };
--
-- rng@7e104000 {
-- compatible = "brcm,bcm2835-rng";
-- reg = <0x7e104000 0x10>;
-- };
--
-- mailbox: mailbox@7e00b800 {
-- compatible = "brcm,bcm2835-mbox";
-- reg = <0x7e00b880 0x40>;
-- interrupts = <0 1>;
-- #mbox-cells = <0>;
-- };
--
-- gpio: gpio@7e200000 {
-- compatible = "brcm,bcm2835-gpio";
-- reg = <0x7e200000 0xb4>;
-- /*
-- * The GPIO IP block is designed for 3 banks of GPIOs.
-- * Each bank has a GPIO interrupt for itself.
-- * There is an overall "any bank" interrupt.
-- * In order, these are GIC interrupts 17, 18, 19, 20.
-- * Since the BCM2835 only has 2 banks, the 2nd bank
-- * interrupt output appears to be mirrored onto the
-- * 3rd bank's interrupt signal.
-- * So, a bank0 interrupt shows up on 17, 20, and
-- * a bank1 interrupt shows up on 18, 19, 20!
-- */
-- interrupts = <2 17>, <2 18>, <2 19>, <2 20>;
--
-- gpio-controller;
-- #gpio-cells = <2>;
--
-- interrupt-controller;
-- #interrupt-cells = <2>;
-- };
--
-- uart0: uart@7e201000 {
-- compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
-- reg = <0x7e201000 0x1000>;
-- interrupts = <2 25>;
-- clocks = <&clocks BCM2835_CLOCK_UART>,
-- <&clocks BCM2835_CLOCK_VPU>;
-- clock-names = "uartclk", "apb_pclk";
-- arm,primecell-periphid = <0x00241011>;
-- };
--
-- i2s: i2s@7e203000 {
-- compatible = "brcm,bcm2835-i2s";
-- reg = <0x7e203000 0x20>,
-- <0x7e101098 0x02>;
--
-- dmas = <&dma 2>,
-- <&dma 3>;
-- dma-names = "tx", "rx";
-- status = "disabled";
-- };
--
-- spi: spi@7e204000 {
-- compatible = "brcm,bcm2835-spi";
-- reg = <0x7e204000 0x1000>;
-- interrupts = <2 22>;
-- clocks = <&clocks BCM2835_CLOCK_VPU>;
-- #address-cells = <1>;
-- #size-cells = <0>;
-- status = "disabled";
-- };
--
-- i2c0: i2c@7e205000 {
-- compatible = "brcm,bcm2835-i2c";
-- reg = <0x7e205000 0x1000>;
-- interrupts = <2 21>;
-- clocks = <&clocks BCM2835_CLOCK_VPU>;
-- #address-cells = <1>;
-- #size-cells = <0>;
-- status = "disabled";
-- };
--
-- sdhci: sdhci@7e300000 {
-- compatible = "brcm,bcm2835-sdhci";
-- reg = <0x7e300000 0x100>;
-- interrupts = <2 30>;
-- clocks = <&clocks BCM2835_CLOCK_EMMC>;
-- status = "disabled";
-- };
--
-- i2c1: i2c@7e804000 {
-- compatible = "brcm,bcm2835-i2c";
-- reg = <0x7e804000 0x1000>;
-- interrupts = <2 21>;
-- clocks = <&clocks BCM2835_CLOCK_VPU>;
-- #address-cells = <1>;
-- #size-cells = <0>;
-- status = "disabled";
-- };
--
-- i2c2: i2c@7e805000 {
-- compatible = "brcm,bcm2835-i2c";
-- reg = <0x7e805000 0x1000>;
-- interrupts = <2 21>;
-- clocks = <&clocks BCM2835_CLOCK_VPU>;
-- #address-cells = <1>;
-- #size-cells = <0>;
-- status = "disabled";
-- };
--
-- usb@7e980000 {
-- compatible = "brcm,bcm2835-usb";
-- reg = <0x7e980000 0x10000>;
-- interrupts = <1 9>;
-- };
--
- arm-pmu {
- compatible = "arm,arm1176-pmu";
- };
- };
--
-- clocks {
-- compatible = "simple-bus";
-- #address-cells = <1>;
-- #size-cells = <0>;
--
-- /* The oscillator is the root of the clock tree. */
-- clk_osc: clock@3 {
-- compatible = "fixed-clock";
-- reg = <3>;
-- #clock-cells = <0>;
-- clock-output-names = "osc";
-- clock-frequency = <19200000>;
-- };
--
-- };
- };
-diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
-new file mode 100644
-index 000000000000..bf74e8afbe88
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm283x.dtsi
-@@ -0,0 +1,209 @@
-+#include <dt-bindings/pinctrl/bcm2835.h>
-+#include <dt-bindings/clock/bcm2835.h>
-+#include "skeleton.dtsi"
-+
-+/* This include file covers the common peripherals and configuration between
-+ * bcm2835 and bcm2836 implementations, leaving the CPU configuration to
-+ * bcm2835.dtsi and bcm2836.dtsi.
-+ */
-+
-+/ {
-+ compatible = "brcm,bcm2835";
-+ model = "BCM2835";
-+ interrupt-parent = <&intc>;
-+
-+ chosen {
-+ bootargs = "earlyprintk console=ttyAMA0";
-+ };
-+
-+ soc {
-+ compatible = "simple-bus";
-+ #address-cells = <1>;
-+ #size-cells = <1>;
-+
-+ timer@7e003000 {
-+ compatible = "brcm,bcm2835-system-timer";
-+ reg = <0x7e003000 0x1000>;
-+ interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
-+ /* This could be a reference to BCM2835_CLOCK_TIMER,
-+ * but we don't have the driver using the common clock
-+ * support yet.
-+ */
-+ clock-frequency = <1000000>;
-+ };
-+
-+ dma: dma@7e007000 {
-+ compatible = "brcm,bcm2835-dma";
-+ reg = <0x7e007000 0xf00>;
-+ interrupts = <1 16>,
-+ <1 17>,
-+ <1 18>,
-+ <1 19>,
-+ <1 20>,
-+ <1 21>,
-+ <1 22>,
-+ <1 23>,
-+ <1 24>,
-+ <1 25>,
-+ <1 26>,
-+ <1 27>,
-+ <1 28>;
-+
-+ #dma-cells = <1>;
-+ brcm,dma-channel-mask = <0x7f35>;
-+ };
-+
-+ intc: interrupt-controller@7e00b200 {
-+ compatible = "brcm,bcm2835-armctrl-ic";
-+ reg = <0x7e00b200 0x200>;
-+ interrupt-controller;
-+ #interrupt-cells = <2>;
-+ };
-+
-+ watchdog@7e100000 {
-+ compatible = "brcm,bcm2835-pm-wdt";
-+ reg = <0x7e100000 0x28>;
-+ };
-+
-+ clocks: cprman@7e101000 {
-+ compatible = "brcm,bcm2835-cprman";
-+ #clock-cells = <1>;
-+ reg = <0x7e101000 0x2000>;
-+
-+ /* CPRMAN derives everything from the platform's
-+ * oscillator.
-+ */
-+ clocks = <&clk_osc>;
-+ };
-+
-+ rng@7e104000 {
-+ compatible = "brcm,bcm2835-rng";
-+ reg = <0x7e104000 0x10>;
-+ };
-+
-+ mailbox: mailbox@7e00b800 {
-+ compatible = "brcm,bcm2835-mbox";
-+ reg = <0x7e00b880 0x40>;
-+ interrupts = <0 1>;
-+ #mbox-cells = <0>;
-+ };
-+
-+ gpio: gpio@7e200000 {
-+ compatible = "brcm,bcm2835-gpio";
-+ reg = <0x7e200000 0xb4>;
-+ /*
-+ * The GPIO IP block is designed for 3 banks of GPIOs.
-+ * Each bank has a GPIO interrupt for itself.
-+ * There is an overall "any bank" interrupt.
-+ * In order, these are GIC interrupts 17, 18, 19, 20.
-+ * Since the BCM2835 only has 2 banks, the 2nd bank
-+ * interrupt output appears to be mirrored onto the
-+ * 3rd bank's interrupt signal.
-+ * So, a bank0 interrupt shows up on 17, 20, and
-+ * a bank1 interrupt shows up on 18, 19, 20!
-+ */
-+ interrupts = <2 17>, <2 18>, <2 19>, <2 20>;
-+
-+ gpio-controller;
-+ #gpio-cells = <2>;
-+
-+ interrupt-controller;
-+ #interrupt-cells = <2>;
-+ };
-+
-+ uart0: uart@7e201000 {
-+ compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
-+ reg = <0x7e201000 0x1000>;
-+ interrupts = <2 25>;
-+ clocks = <&clocks BCM2835_CLOCK_UART>,
-+ <&clocks BCM2835_CLOCK_VPU>;
-+ clock-names = "uartclk", "apb_pclk";
-+ arm,primecell-periphid = <0x00241011>;
-+ };
-+
-+ i2s: i2s@7e203000 {
-+ compatible = "brcm,bcm2835-i2s";
-+ reg = <0x7e203000 0x20>,
-+ <0x7e101098 0x02>;
-+
-+ dmas = <&dma 2>,
-+ <&dma 3>;
-+ dma-names = "tx", "rx";
-+ status = "disabled";
-+ };
-+
-+ spi: spi@7e204000 {
-+ compatible = "brcm,bcm2835-spi";
-+ reg = <0x7e204000 0x1000>;
-+ interrupts = <2 22>;
-+ clocks = <&clocks BCM2835_CLOCK_VPU>;
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+ status = "disabled";
-+ };
-+
-+ i2c0: i2c@7e205000 {
-+ compatible = "brcm,bcm2835-i2c";
-+ reg = <0x7e205000 0x1000>;
-+ interrupts = <2 21>;
-+ clocks = <&clocks BCM2835_CLOCK_VPU>;
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+ status = "disabled";
-+ };
-+
-+ sdhci: sdhci@7e300000 {
-+ compatible = "brcm,bcm2835-sdhci";
-+ reg = <0x7e300000 0x100>;
-+ interrupts = <2 30>;
-+ clocks = <&clocks BCM2835_CLOCK_EMMC>;
-+ status = "disabled";
-+ };
-+
-+ i2c1: i2c@7e804000 {
-+ compatible = "brcm,bcm2835-i2c";
-+ reg = <0x7e804000 0x1000>;
-+ interrupts = <2 21>;
-+ clocks = <&clocks BCM2835_CLOCK_VPU>;
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+ status = "disabled";
-+ };
-+
-+ i2c2: i2c@7e805000 {
-+ compatible = "brcm,bcm2835-i2c";
-+ reg = <0x7e805000 0x1000>;
-+ interrupts = <2 21>;
-+ clocks = <&clocks BCM2835_CLOCK_VPU>;
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+ status = "disabled";
-+ };
-+
-+ usb@7e980000 {
-+ compatible = "brcm,bcm2835-usb";
-+ reg = <0x7e980000 0x10000>;
-+ interrupts = <1 9>;
-+ };
-+
-+ arm-pmu {
-+ compatible = "arm,arm1176-pmu";
-+ };
-+ };
-+
-+ clocks {
-+ compatible = "simple-bus";
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+
-+ /* The oscillator is the root of the clock tree. */
-+ clk_osc: clock@3 {
-+ compatible = "fixed-clock";
-+ reg = <3>;
-+ #clock-cells = <0>;
-+ clock-output-names = "osc";
-+ clock-frequency = <19200000>;
-+ };
-+
-+ };
-+};
diff --git a/configs/platform-rpi2/patches/linux-4.4/0005-ARM-bcm2835-Move-the-CPU-peripheral-include-out-of-c.patch b/configs/platform-rpi2/patches/linux-4.4/0005-ARM-bcm2835-Move-the-CPU-peripheral-include-out-of-c.patch
deleted file mode 100644
index 1a71a3f..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0005-ARM-bcm2835-Move-the-CPU-peripheral-include-out-of-c.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-From: Eric Anholt <eric@anholt.net>
-Date: Wed, 16 Dec 2015 14:43:52 -0800
-Subject: [PATCH] ARM: bcm2835: Move the CPU/peripheral include out of common
- RPi DT.
-
-For Raspberry Pi 2, we want to use the same general pin assignment
-bits, but need to use bcm2836.dtsi for the CPU instead.
-
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/boot/dts/bcm2835-rpi-a-plus.dts | 1 +
- arch/arm/boot/dts/bcm2835-rpi-b-plus.dts | 1 +
- arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts | 1 +
- arch/arm/boot/dts/bcm2835-rpi-b.dts | 1 +
- arch/arm/boot/dts/bcm2835-rpi.dtsi | 2 --
- 5 files changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
-index b2bff43b135c..228614ffff44 100644
---- a/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
-+++ b/arch/arm/boot/dts/bcm2835-rpi-a-plus.dts
-@@ -1,4 +1,5 @@
- /dts-v1/;
-+#include "bcm2835.dtsi"
- #include "bcm2835-rpi.dtsi"
-
- / {
-diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
-index 668442b1bda5..ef5405025223 100644
---- a/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
-+++ b/arch/arm/boot/dts/bcm2835-rpi-b-plus.dts
-@@ -1,4 +1,5 @@
- /dts-v1/;
-+#include "bcm2835.dtsi"
- #include "bcm2835-rpi.dtsi"
-
- / {
-diff --git a/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts b/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
-index eab8b5916e8a..86f1f2f598a7 100644
---- a/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
-+++ b/arch/arm/boot/dts/bcm2835-rpi-b-rev2.dts
-@@ -1,4 +1,5 @@
- /dts-v1/;
-+#include "bcm2835.dtsi"
- #include "bcm2835-rpi.dtsi"
-
- / {
-diff --git a/arch/arm/boot/dts/bcm2835-rpi-b.dts b/arch/arm/boot/dts/bcm2835-rpi-b.dts
-index ff6b2d1c6c90..4859e9d81b23 100644
---- a/arch/arm/boot/dts/bcm2835-rpi-b.dts
-+++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts
-@@ -1,4 +1,5 @@
- /dts-v1/;
-+#include "bcm2835.dtsi"
- #include "bcm2835-rpi.dtsi"
-
- / {
-diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
-index 3572f0367baf..3afb9fefe2d1 100644
---- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
-+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
-@@ -1,5 +1,3 @@
--#include "bcm2835.dtsi"
--
- / {
- memory {
- reg = <0 0x10000000>;
diff --git a/configs/platform-rpi2/patches/linux-4.4/0006-ARM-bcm2835-Add-devicetree-for-bcm2836-and-Raspberry.patch b/configs/platform-rpi2/patches/linux-4.4/0006-ARM-bcm2835-Add-devicetree-for-bcm2836-and-Raspberry.patch
deleted file mode 100644
index 9adf7a3..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0006-ARM-bcm2835-Add-devicetree-for-bcm2836-and-Raspberry.patch
+++ /dev/null
@@ -1,141 +0,0 @@
-From: Eric Anholt <eric@anholt.net>
-Date: Thu, 16 Apr 2015 15:26:45 -0700
-Subject: [PATCH] ARM: bcm2835: Add devicetree for bcm2836 and Raspberry Pi 2 B
-
-The Pi 2 B ends up like a Pi 1 B+, with the same peripherals and
-pinout, but the CPU and memory layout changed to use the 2836.
-
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/boot/dts/bcm2836-rpi-2-b.dts | 35 ++++++++++++++++
- arch/arm/boot/dts/bcm2836.dtsi | 78 +++++++++++++++++++++++++++++++++++
- 2 files changed, 113 insertions(+)
- create mode 100644 arch/arm/boot/dts/bcm2836-rpi-2-b.dts
- create mode 100644 arch/arm/boot/dts/bcm2836.dtsi
-
-diff --git a/arch/arm/boot/dts/bcm2836-rpi-2-b.dts b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts
-new file mode 100644
-index 000000000000..ff946661bd13
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm2836-rpi-2-b.dts
-@@ -0,0 +1,35 @@
-+/dts-v1/;
-+#include "bcm2836.dtsi"
-+#include "bcm2835-rpi.dtsi"
-+
-+/ {
-+ compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
-+ model = "Raspberry Pi 2 Model B";
-+
-+ memory {
-+ reg = <0 0x40000000>;
-+ };
-+
-+ leds {
-+ act {
-+ gpios = <&gpio 47 0>;
-+ };
-+
-+ pwr {
-+ label = "PWR";
-+ gpios = <&gpio 35 0>;
-+ default-state = "keep";
-+ linux,default-trigger = "default-on";
-+ };
-+ };
-+};
-+
-+&gpio {
-+ pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>;
-+
-+ /* I2S interface */
-+ i2s_alt0: i2s_alt0 {
-+ brcm,pins = <18 19 20 21>;
-+ brcm,function = <BCM2835_FSEL_ALT0>;
-+ };
-+};
-diff --git a/arch/arm/boot/dts/bcm2836.dtsi b/arch/arm/boot/dts/bcm2836.dtsi
-new file mode 100644
-index 000000000000..9d0651d8f373
---- /dev/null
-+++ b/arch/arm/boot/dts/bcm2836.dtsi
-@@ -0,0 +1,78 @@
-+#include "bcm283x.dtsi"
-+
-+/ {
-+ compatible = "brcm,bcm2836";
-+
-+ soc {
-+ ranges = <0x7e000000 0x3f000000 0x1000000>,
-+ <0x40000000 0x40000000 0x00001000>;
-+ dma-ranges = <0xc0000000 0x00000000 0x3f000000>;
-+
-+ local_intc: local_intc {
-+ compatible = "brcm,bcm2836-l1-intc";
-+ reg = <0x40000000 0x100>;
-+ interrupt-controller;
-+ #interrupt-cells = <1>;
-+ interrupt-parent = <&local_intc>;
-+ };
-+
-+ arm-pmu {
-+ compatible = "arm,cortex-a7-pmu";
-+ interrupt-parent = <&local_intc>;
-+ interrupts = <9>;
-+ };
-+ };
-+
-+ timer {
-+ compatible = "arm,armv7-timer";
-+ interrupt-parent = <&local_intc>;
-+ interrupts = <0>, // PHYS_SECURE_PPI
-+ <1>, // PHYS_NONSECURE_PPI
-+ <3>, // VIRT_PPI
-+ <2>; // HYP_PPI
-+ always-on;
-+ };
-+
-+ cpus: cpus {
-+ #address-cells = <1>;
-+ #size-cells = <0>;
-+
-+ v7_cpu0: cpu@0 {
-+ device_type = "cpu";
-+ compatible = "arm,cortex-a7";
-+ reg = <0xf00>;
-+ clock-frequency = <800000000>;
-+ };
-+
-+ v7_cpu1: cpu@1 {
-+ device_type = "cpu";
-+ compatible = "arm,cortex-a7";
-+ reg = <0xf01>;
-+ clock-frequency = <800000000>;
-+ };
-+
-+ v7_cpu2: cpu@2 {
-+ device_type = "cpu";
-+ compatible = "arm,cortex-a7";
-+ reg = <0xf02>;
-+ clock-frequency = <800000000>;
-+ };
-+
-+ v7_cpu3: cpu@3 {
-+ device_type = "cpu";
-+ compatible = "arm,cortex-a7";
-+ reg = <0xf03>;
-+ clock-frequency = <800000000>;
-+ };
-+ };
-+};
-+
-+/* Make the BCM2835-style global interrupt controller be a child of the
-+ * CPU-local interrupt controller.
-+ */
-+&intc {
-+ compatible = "brcm,bcm2836-armctrl-ic";
-+ reg = <0x7e00b200 0x200>;
-+ interrupt-parent = <&local_intc>;
-+ interrupts = <8>;
-+};
diff --git a/configs/platform-rpi2/patches/linux-4.4/0007-ARM-bcm2835-Add-a-compat-string-for-bcm2836-machine-.patch b/configs/platform-rpi2/patches/linux-4.4/0007-ARM-bcm2835-Add-a-compat-string-for-bcm2836-machine-.patch
deleted file mode 100644
index 794ac9d..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0007-ARM-bcm2835-Add-a-compat-string-for-bcm2836-machine-.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From: Eric Anholt <eric@anholt.net>
-Date: Fri, 13 Mar 2015 10:18:06 -0700
-Subject: [PATCH] ARM: bcm2835: Add a compat string for bcm2836 machine probe
-
-Supporting the 2836 requires using the new interrupt controller, which
-we have support for.
-
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/mach-bcm/board_bcm2835.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/arch/arm/mach-bcm/board_bcm2835.c b/arch/arm/mach-bcm/board_bcm2835.c
-index 0f7b9eac3d15..834d67684e20 100644
---- a/arch/arm/mach-bcm/board_bcm2835.c
-+++ b/arch/arm/mach-bcm/board_bcm2835.c
-@@ -36,7 +36,12 @@ static void __init bcm2835_init(void)
- }
-
- static const char * const bcm2835_compat[] = {
-+#ifdef CONFIG_ARCH_MULTI_V6
- "brcm,bcm2835",
-+#endif
-+#ifdef CONFIG_ARCH_MULTI_V7
-+ "brcm,bcm2836",
-+#endif
- NULL
- };
-
diff --git a/configs/platform-rpi2/patches/linux-4.4/0008-ARM-bcm2835-Add-Kconfig-support-for-bcm2836.patch b/configs/platform-rpi2/patches/linux-4.4/0008-ARM-bcm2835-Add-Kconfig-support-for-bcm2836.patch
deleted file mode 100644
index 18d0f16..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0008-ARM-bcm2835-Add-Kconfig-support-for-bcm2836.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-From: Eric Anholt <eric@anholt.net>
-Date: Tue, 24 Feb 2015 15:07:55 +0000
-Subject: [PATCH] ARM: bcm2835: Add Kconfig support for bcm2836
-
-This should be a complete port of bcm2835 functionality to bcm2836
-(Raspberry Pi 2).
-
-v2: Implement Arnd's feedback to not split to ARCH_BCM2836, and
- instead use more conditionals in ARCH_BCM2835. Also reduce diff
- between 2835 and 2836.
-
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/Kconfig.debug | 10 ++++++++--
- arch/arm/boot/dts/Makefile | 3 ++-
- arch/arm/mach-bcm/Kconfig | 8 ++++----
- 3 files changed, 14 insertions(+), 7 deletions(-)
-
-diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
-index 259c0ca9c99a..957b876fda92 100644
---- a/arch/arm/Kconfig.debug
-+++ b/arch/arm/Kconfig.debug
-@@ -143,7 +143,12 @@ choice
-
- config DEBUG_BCM2835
- bool "Kernel low-level debugging on BCM2835 PL011 UART"
-- depends on ARCH_BCM2835
-+ depends on ARCH_BCM2835 && ARCH_MULTI_V6
-+ select DEBUG_UART_PL01X
-+
-+ config DEBUG_BCM2836
-+ bool "Kernel low-level debugging on BCM2836 PL011 UART"
-+ depends on ARCH_BCM2835 && ARCH_MULTI_V7
- select DEBUG_UART_PL01X
-
- config DEBUG_BCM_5301X
-@@ -1402,6 +1407,7 @@ config DEBUG_UART_PHYS
- default 0x20064000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2
- default 0x20068000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3
- default 0x20201000 if DEBUG_BCM2835
-+ default 0x3f201000 if DEBUG_BCM2836
- default 0x3e000000 if DEBUG_BCM_KONA_UART
- default 0x4000e400 if DEBUG_LL_UART_EFM32
- default 0x40081000 if DEBUG_LPC18XX_UART0
-@@ -1485,7 +1491,7 @@ config DEBUG_UART_VIRT
- default 0xf0000be0 if ARCH_EBSA110
- default 0xf0010000 if DEBUG_ASM9260_UART
- default 0xf01fb000 if DEBUG_NOMADIK_UART
-- default 0xf0201000 if DEBUG_BCM2835
-+ default 0xf0201000 if DEBUG_BCM2835 || DEBUG_BCM2836
- default 0xf1000300 if DEBUG_BCM_5301X
- default 0xf1002000 if DEBUG_MT8127_UART0
- default 0xf1006000 if DEBUG_MT6589_UART0
-diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
-index 30bbc3746130..54e8f6bc038f 100644
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -60,7 +60,8 @@ dtb-$(CONFIG_ARCH_BCM2835) += \
- bcm2835-rpi-b.dtb \
- bcm2835-rpi-b-rev2.dtb \
- bcm2835-rpi-b-plus.dtb \
-- bcm2835-rpi-a-plus.dtb
-+ bcm2835-rpi-a-plus.dtb \
-+ bcm2836-rpi-2-b.dtb
- dtb-$(CONFIG_ARCH_BCM_5301X) += \
- bcm4708-asus-rt-ac56u.dtb \
- bcm4708-asus-rt-ac68u.dtb \
-diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
-index 8c53c55be1fe..d7cada994295 100644
---- a/arch/arm/mach-bcm/Kconfig
-+++ b/arch/arm/mach-bcm/Kconfig
-@@ -122,17 +122,17 @@ config ARCH_BCM_MOBILE_SMP
- comment "Other Architectures"
-
- config ARCH_BCM2835
-- bool "Broadcom BCM2835 family" if ARCH_MULTI_V6
-+ bool "Broadcom BCM2835 family" if ARCH_MULTI_V6 || ARCH_MULTI_V7
- select ARCH_REQUIRE_GPIOLIB
- select ARM_AMBA
-- select ARM_ERRATA_411920
-+ select ARM_ERRATA_411920 if ARCH_MULTI_V6
- select ARM_TIMER_SP804
- select CLKSRC_OF
- select PINCTRL
- select PINCTRL_BCM2835
- help
-- This enables support for the Broadcom BCM2835 SoC. This SoC is
-- used in the Raspberry Pi and Roku 2 devices.
-+ This enables support for the Broadcom BCM2835 and BCM2836 SoCs.
-+ This SoC is used in the Raspberry Pi and Roku 2 devices.
-
- config ARCH_BCM_63XX
- bool "Broadcom BCM63xx DSL SoC" if ARCH_MULTI_V7
diff --git a/configs/platform-rpi2/patches/linux-4.4/0009-irqchip-bcm2836-tolerate-IRQs-while-no-flag-is-set-i.patch b/configs/platform-rpi2/patches/linux-4.4/0009-irqchip-bcm2836-tolerate-IRQs-while-no-flag-is-set-i.patch
deleted file mode 100644
index 49f4df9..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0009-irqchip-bcm2836-tolerate-IRQs-while-no-flag-is-set-i.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From: Andrea Merello <andrea.merello@gmail.com>
-Date: Sat, 26 Dec 2015 13:47:23 -0800
-Subject: [PATCH] irqchip: bcm2836: tolerate IRQs while no flag is set in ISR
-
-On my RPi2 I got a lot of:
-unexpected IRQ trap at vector 00
-
-This happens because bcm2836_arm_irqchip_handle_irq() is sometimes
-invoked even if the ISR is clear, and this case is not handled.
-
-This patch explicitly handle this case, fixing the kernel complaints
-about the bad IRQ lookup.
-
-Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
-Reviewed-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- drivers/irqchip/irq-bcm2836.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
-index c5ef4dfb5bb0..e314cce70201 100644
---- a/drivers/irqchip/irq-bcm2836.c
-+++ b/drivers/irqchip/irq-bcm2836.c
-@@ -177,7 +177,7 @@ __exception_irq_entry bcm2836_arm_irqchip_handle_irq(struct pt_regs *regs)
- writel(1 << ipi, mailbox0);
- handle_IPI(ipi, regs);
- #endif
-- } else {
-+ } else if (stat) {
- u32 hwirq = ffs(stat) - 1;
-
- handle_IRQ(irq_linear_revmap(intc.domain, hwirq), regs);
diff --git a/configs/platform-rpi2/patches/linux-4.4/0010-irqchip-bcm2836-make-code-more-readable.patch b/configs/platform-rpi2/patches/linux-4.4/0010-irqchip-bcm2836-make-code-more-readable.patch
deleted file mode 100644
index 7a4315d..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0010-irqchip-bcm2836-make-code-more-readable.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Andrea Merello <andrea.merello@gmail.com>
-Date: Sat, 26 Dec 2015 13:47:24 -0800
-Subject: [PATCH] irqchip: bcm2836: make code more readable
-
-Avoid using hardcoded magics. We have a #define for this number.
-No functional changes.
-
-Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
-Reviewed-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- drivers/irqchip/irq-bcm2836.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c
-index e314cce70201..6c9aaad0e4f1 100644
---- a/drivers/irqchip/irq-bcm2836.c
-+++ b/drivers/irqchip/irq-bcm2836.c
-@@ -167,7 +167,7 @@ __exception_irq_entry bcm2836_arm_irqchip_handle_irq(struct pt_regs *regs)
- u32 stat;
-
- stat = readl_relaxed(intc.base + LOCAL_IRQ_PENDING0 + 4 * cpu);
-- if (stat & 0x10) {
-+ if (stat & BIT(LOCAL_IRQ_MAILBOX0)) {
- #ifdef CONFIG_SMP
- void __iomem *mailbox0 = (intc.base +
- LOCAL_MAILBOX0_CLR0 + 16 * cpu);
diff --git a/configs/platform-rpi2/patches/linux-4.4/0011-ARM-bcm2835-Define-two-new-packets-from-the-latest-f.patch b/configs/platform-rpi2/patches/linux-4.4/0011-ARM-bcm2835-Define-two-new-packets-from-the-latest-f.patch
deleted file mode 100644
index 807084e..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0011-ARM-bcm2835-Define-two-new-packets-from-the-latest-f.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From: Eric Anholt <eric@anholt.net>
-Date: Wed, 16 Dec 2015 16:26:46 -0800
-Subject: [PATCH] ARM: bcm2835: Define two new packets from the latest
- firmware.
-
-These packets give us direct access to the firmware's power management
-code, as opposed to GET/SET_POWER_STATE packets that only had a couple
-of domains implemented.
-
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- include/soc/bcm2835/raspberrypi-firmware.h | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h
-index c07d74aa39bf..3fb357193f09 100644
---- a/include/soc/bcm2835/raspberrypi-firmware.h
-+++ b/include/soc/bcm2835/raspberrypi-firmware.h
-@@ -72,10 +72,12 @@ enum rpi_firmware_property_tag {
- RPI_FIRMWARE_SET_ENABLE_QPU = 0x00030012,
- RPI_FIRMWARE_GET_DISPMANX_RESOURCE_MEM_HANDLE = 0x00030014,
- RPI_FIRMWARE_GET_EDID_BLOCK = 0x00030020,
-+ RPI_FIRMWARE_GET_DOMAIN_STATE = 0x00030030,
- RPI_FIRMWARE_SET_CLOCK_STATE = 0x00038001,
- RPI_FIRMWARE_SET_CLOCK_RATE = 0x00038002,
- RPI_FIRMWARE_SET_VOLTAGE = 0x00038003,
- RPI_FIRMWARE_SET_TURBO = 0x00038009,
-+ RPI_FIRMWARE_SET_DOMAIN_STATE = 0x00038030,
-
- /* Dispmanx TAGS */
- RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001,
diff --git a/configs/platform-rpi2/patches/linux-4.4/0012-ARM-bcm2835-add-rpi-power-domain-driver.patch b/configs/platform-rpi2/patches/linux-4.4/0012-ARM-bcm2835-add-rpi-power-domain-driver.patch
deleted file mode 100644
index e4aad60..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0012-ARM-bcm2835-add-rpi-power-domain-driver.patch
+++ /dev/null
@@ -1,374 +0,0 @@
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Wed, 16 Dec 2015 16:26:47 -0800
-Subject: [PATCH] ARM: bcm2835: add rpi power domain driver
-
-This patch adds support for several power domains on Raspberry Pi,
-including USB (so it can be enabled even if the bootloader didn't do
-it), and graphics.
-
-This patch is the combined work of Eric Anholt (who wrote USB support
-inside of the Raspberry Pi firmware driver, and wrote the non-USB
-domain support) and Alexander Aring (who separated the original USB
-work out from the firmware driver).
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- drivers/soc/Kconfig | 1 +
- drivers/soc/Makefile | 1 +
- drivers/soc/bcm/Kconfig | 9 +
- drivers/soc/bcm/Makefile | 1 +
- drivers/soc/bcm/raspberrypi-power.c | 247 ++++++++++++++++++++++++++++
- include/dt-bindings/soc/raspberrypi-power.h | 41 +++++
- 6 files changed, 300 insertions(+)
- create mode 100644 drivers/soc/bcm/Kconfig
- create mode 100644 drivers/soc/bcm/Makefile
- create mode 100644 drivers/soc/bcm/raspberrypi-power.c
- create mode 100644 include/dt-bindings/soc/raspberrypi-power.h
-
-diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig
-index 4e853ed2c82b..844142620031 100644
---- a/drivers/soc/Kconfig
-+++ b/drivers/soc/Kconfig
-@@ -1,5 +1,6 @@
- menu "SOC (System On Chip) specific Drivers"
-
-+source "drivers/soc/bcm/Kconfig"
- source "drivers/soc/brcmstb/Kconfig"
- source "drivers/soc/mediatek/Kconfig"
- source "drivers/soc/qcom/Kconfig"
-diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
-index f2ba2e932ae1..f3f955cdb04b 100644
---- a/drivers/soc/Makefile
-+++ b/drivers/soc/Makefile
-@@ -2,6 +2,7 @@
- # Makefile for the Linux Kernel SOC specific device drivers.
- #
-
-+obj-y += bcm/
- obj-$(CONFIG_SOC_BRCMSTB) += brcmstb/
- obj-$(CONFIG_MACH_DOVE) += dove/
- obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/
-diff --git a/drivers/soc/bcm/Kconfig b/drivers/soc/bcm/Kconfig
-new file mode 100644
-index 000000000000..5ba1827fe36f
---- /dev/null
-+++ b/drivers/soc/bcm/Kconfig
-@@ -0,0 +1,9 @@
-+config RASPBERRYPI_POWER
-+ bool "Raspberry Pi power domain driver"
-+ depends on ARCH_BCM2835 || COMPILE_TEST
-+ depends on RASPBERRYPI_FIRMWARE
-+ select PM_GENERIC_DOMAINS if PM
-+ select PM_GENERIC_DOMAINS_OF if PM
-+ help
-+ This enables support for the RPi power domains which can be enabled
-+ or disabled via the RPi firmware.
-diff --git a/drivers/soc/bcm/Makefile b/drivers/soc/bcm/Makefile
-new file mode 100644
-index 000000000000..63aa3eb23087
---- /dev/null
-+++ b/drivers/soc/bcm/Makefile
-@@ -0,0 +1 @@
-+obj-$(CONFIG_RASPBERRYPI_POWER) += raspberrypi-power.o
-diff --git a/drivers/soc/bcm/raspberrypi-power.c b/drivers/soc/bcm/raspberrypi-power.c
-new file mode 100644
-index 000000000000..d5bab0696580
---- /dev/null
-+++ b/drivers/soc/bcm/raspberrypi-power.c
-@@ -0,0 +1,247 @@
-+/* (C) 2015 Pengutronix, Alexander Aring <aar@pengutronix.de>
-+ *
-+ * This program is free software; you can redistribute it and/or modify
-+ * it under the terms of the GNU General Public License version 2 as
-+ * published by the Free Software Foundation.
-+ *
-+ * Authors:
-+ * Alexander Aring <aar@pengutronix.de>
-+ * Eric Anholt <eric@anholt.net>
-+ */
-+
-+#include <linux/module.h>
-+#include <linux/of_platform.h>
-+#include <linux/platform_device.h>
-+#include <linux/pm_domain.h>
-+#include <dt-bindings/soc/raspberrypi-power.h>
-+#include <soc/bcm2835/raspberrypi-firmware.h>
-+
-+/*
-+ * Firmware indices for the old power domains interface. Only a few
-+ * of them were actually implemented.
-+ */
-+#define RPI_OLD_POWER_DOMAIN_USB 3
-+#define RPI_OLD_POWER_DOMAIN_V3D 10
-+
-+struct rpi_power_domain {
-+ u32 domain;
-+ bool enabled;
-+ bool old_interface;
-+ struct generic_pm_domain base;
-+ struct rpi_firmware *fw;
-+};
-+
-+struct rpi_power_domains {
-+ bool has_new_interface;
-+ struct genpd_onecell_data xlate;
-+ struct rpi_firmware *fw;
-+ struct rpi_power_domain domains[RPI_POWER_DOMAIN_COUNT];
-+};
-+
-+/*
-+ * Packet definition used by RPI_FIRMWARE_SET_POWER_STATE and
-+ * RPI_FIRMWARE_SET_DOMAIN_STATE
-+ */
-+struct rpi_power_domain_packet {
-+ u32 domain;
-+ u32 on;
-+} __packet;
-+
-+/*
-+ * Asks the firmware to enable or disable power on a specific power
-+ * domain.
-+ */
-+static int rpi_firmware_set_power(struct rpi_power_domain *rpi_domain, bool on)
-+{
-+ struct rpi_power_domain_packet packet;
-+
-+ packet.domain = rpi_domain->domain;
-+ packet.on = on;
-+ return rpi_firmware_property(rpi_domain->fw,
-+ rpi_domain->old_interface ?
-+ RPI_FIRMWARE_SET_POWER_STATE :
-+ RPI_FIRMWARE_SET_DOMAIN_STATE,
-+ &packet, sizeof(packet));
-+}
-+
-+static int rpi_domain_off(struct generic_pm_domain *domain)
-+{
-+ struct rpi_power_domain *rpi_domain =
-+ container_of(domain, struct rpi_power_domain, base);
-+
-+ return rpi_firmware_set_power(rpi_domain, false);
-+}
-+
-+static int rpi_domain_on(struct generic_pm_domain *domain)
-+{
-+ struct rpi_power_domain *rpi_domain =
-+ container_of(domain, struct rpi_power_domain, base);
-+
-+ return rpi_firmware_set_power(rpi_domain, true);
-+}
-+
-+static void rpi_common_init_power_domain(struct rpi_power_domains *rpi_domains,
-+ int xlate_index, const char *name)
-+{
-+ struct rpi_power_domain *dom = &rpi_domains->domains[xlate_index];
-+
-+ dom->fw = rpi_domains->fw;
-+
-+ dom->base.name = name;
-+ dom->base.power_on = rpi_domain_on;
-+ dom->base.power_off = rpi_domain_off;
-+
-+ /*
-+ * Treat all power domains as off at boot.
-+ *
-+ * The firmware itself may be keeping some domains on, but
-+ * from Linux's perspective all we control is the refcounts
-+ * that we give to the firmware, and we can't ask the firmware
-+ * to turn off something that we haven't ourselves turned on.
-+ */
-+ pm_genpd_init(&dom->base, NULL, true);
-+
-+ rpi_domains->xlate.domains[xlate_index] = &dom->base;
-+}
-+
-+static void rpi_init_power_domain(struct rpi_power_domains *rpi_domains,
-+ int xlate_index, const char *name)
-+{
-+ struct rpi_power_domain *dom = &rpi_domains->domains[xlate_index];
-+
-+ if (!rpi_domains->has_new_interface)
-+ return;
-+
-+ /* The DT binding index is the firmware's domain index minus one. */
-+ dom->domain = xlate_index + 1;
-+
-+ rpi_common_init_power_domain(rpi_domains, xlate_index, name);
-+}
-+
-+static void rpi_init_old_power_domain(struct rpi_power_domains *rpi_domains,
-+ int xlate_index, int domain,
-+ const char *name)
-+{
-+ struct rpi_power_domain *dom = &rpi_domains->domains[xlate_index];
-+
-+ dom->old_interface = true;
-+ dom->domain = domain;
-+
-+ rpi_common_init_power_domain(rpi_domains, xlate_index, name);
-+}
-+
-+/*
-+ * Detects whether the firmware supports the new power domains interface.
-+ *
-+ * The firmware doesn't actually return an error on an unknown tag,
-+ * and just skips over it, so we do the detection by putting an
-+ * unexpected value in the return field and checking if it was
-+ * unchanged.
-+ */
-+static bool
-+rpi_has_new_domain_support(struct rpi_power_domains *rpi_domains)
-+{
-+ struct rpi_power_domain_packet packet;
-+ int ret;
-+
-+ packet.domain = RPI_POWER_DOMAIN_ARM;
-+ packet.on = ~0;
-+
-+ ret = rpi_firmware_property(rpi_domains->fw,
-+ RPI_FIRMWARE_GET_DOMAIN_STATE,
-+ &packet, sizeof(packet));
-+
-+ return ret == 0 && packet.on != ~0;
-+}
-+
-+static int rpi_power_probe(struct platform_device *pdev)
-+{
-+ struct device_node *fw_np;
-+ struct device *dev = &pdev->dev;
-+ struct rpi_power_domains *rpi_domains;
-+
-+ rpi_domains = devm_kzalloc(dev, sizeof(*rpi_domains), GFP_KERNEL);
-+ if (!rpi_domains)
-+ return -ENOMEM;
-+
-+ rpi_domains->xlate.domains =
-+ devm_kzalloc(dev, sizeof(*rpi_domains->xlate.domains) *
-+ RPI_POWER_DOMAIN_COUNT, GFP_KERNEL);
-+ if (!rpi_domains->xlate.domains)
-+ return -ENOMEM;
-+
-+ rpi_domains->xlate.num_domains = RPI_POWER_DOMAIN_COUNT;
-+
-+ fw_np = of_parse_phandle(pdev->dev.of_node, "firmware", 0);
-+ if (!fw_np) {
-+ dev_err(&pdev->dev, "no firmware node\n");
-+ return -ENODEV;
-+ }
-+
-+ rpi_domains->fw = rpi_firmware_get(fw_np);
-+ of_node_put(fw_np);
-+ if (!rpi_domains->fw)
-+ return -EPROBE_DEFER;
-+
-+ rpi_domains->has_new_interface =
-+ rpi_has_new_domain_support(rpi_domains);
-+
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_I2C0, "I2C0");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_I2C1, "I2C1");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_I2C2, "I2C2");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_VIDEO_SCALER,
-+ "VIDEO_SCALER");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_VPU1, "VPU1");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_HDMI, "HDMI");
-+
-+ /*
-+ * Use the old firmware interface for USB power, so that we
-+ * can turn it on even if the firmware hasn't been updated.
-+ */
-+ rpi_init_old_power_domain(rpi_domains, RPI_POWER_DOMAIN_USB,
-+ RPI_OLD_POWER_DOMAIN_USB, "USB");
-+
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_VEC, "VEC");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_JPEG, "JPEG");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_H264, "H264");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_V3D, "V3D");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_ISP, "ISP");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_UNICAM0, "UNICAM0");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_UNICAM1, "UNICAM1");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_CCP2RX, "CCP2RX");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_CSI2, "CSI2");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_CPI, "CPI");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_DSI0, "DSI0");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_DSI1, "DSI1");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_TRANSPOSER,
-+ "TRANSPOSER");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_CCP2TX, "CCP2TX");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_CDP, "CDP");
-+ rpi_init_power_domain(rpi_domains, RPI_POWER_DOMAIN_ARM, "ARM");
-+
-+ of_genpd_add_provider_onecell(dev->of_node, &rpi_domains->xlate);
-+
-+ platform_set_drvdata(pdev, rpi_domains);
-+
-+ return 0;
-+}
-+
-+static const struct of_device_id rpi_power_of_match[] = {
-+ { .compatible = "raspberrypi,bcm2835-power", },
-+ {},
-+};
-+MODULE_DEVICE_TABLE(of, rpi_power_of_match);
-+
-+static struct platform_driver rpi_power_driver = {
-+ .driver = {
-+ .name = "raspberrypi-power",
-+ .of_match_table = rpi_power_of_match,
-+ },
-+ .probe = rpi_power_probe,
-+};
-+builtin_platform_driver(rpi_power_driver);
-+
-+MODULE_AUTHOR("Alexander Aring <aar@pengutronix.de>");
-+MODULE_AUTHOR("Eric Anholt <eric@anholt.net>");
-+MODULE_DESCRIPTION("Raspberry Pi power domain driver");
-+MODULE_LICENSE("GPL v2");
-diff --git a/include/dt-bindings/soc/raspberrypi-power.h b/include/dt-bindings/soc/raspberrypi-power.h
-new file mode 100644
-index 000000000000..b3ff8e09a78f
---- /dev/null
-+++ b/include/dt-bindings/soc/raspberrypi-power.h
-@@ -0,0 +1,41 @@
-+/*
-+ * Copyright © 2015 Broadcom
-+ *
-+ * This program is free software; you can redistribute it and/or modify
-+ * it under the terms of the GNU General Public License version 2 as
-+ * published by the Free Software Foundation.
-+ */
-+
-+#ifndef _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H
-+#define _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H
-+
-+/* These power domain indices are the firmware interface's indices
-+ * minus one.
-+ */
-+#define RPI_POWER_DOMAIN_I2C0 0
-+#define RPI_POWER_DOMAIN_I2C1 1
-+#define RPI_POWER_DOMAIN_I2C2 2
-+#define RPI_POWER_DOMAIN_VIDEO_SCALER 3
-+#define RPI_POWER_DOMAIN_VPU1 4
-+#define RPI_POWER_DOMAIN_HDMI 5
-+#define RPI_POWER_DOMAIN_USB 6
-+#define RPI_POWER_DOMAIN_VEC 7
-+#define RPI_POWER_DOMAIN_JPEG 8
-+#define RPI_POWER_DOMAIN_H264 9
-+#define RPI_POWER_DOMAIN_V3D 10
-+#define RPI_POWER_DOMAIN_ISP 11
-+#define RPI_POWER_DOMAIN_UNICAM0 12
-+#define RPI_POWER_DOMAIN_UNICAM1 13
-+#define RPI_POWER_DOMAIN_CCP2RX 14
-+#define RPI_POWER_DOMAIN_CSI2 15
-+#define RPI_POWER_DOMAIN_CPI 16
-+#define RPI_POWER_DOMAIN_DSI0 17
-+#define RPI_POWER_DOMAIN_DSI1 18
-+#define RPI_POWER_DOMAIN_TRANSPOSER 19
-+#define RPI_POWER_DOMAIN_CCP2TX 20
-+#define RPI_POWER_DOMAIN_CDP 21
-+#define RPI_POWER_DOMAIN_ARM 22
-+
-+#define RPI_POWER_DOMAIN_COUNT 23
-+
-+#endif /* _DT_BINDINGS_ARM_BCM2835_RPI_POWER_H */
diff --git a/configs/platform-rpi2/patches/linux-4.4/0013-dt-bindings-add-rpi-power-domain-driver-bindings.patch b/configs/platform-rpi2/patches/linux-4.4/0013-dt-bindings-add-rpi-power-domain-driver-bindings.patch
deleted file mode 100644
index e8cab3a..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0013-dt-bindings-add-rpi-power-domain-driver-bindings.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Wed, 16 Dec 2015 16:26:48 -0800
-Subject: [PATCH] dt-bindings: add rpi power domain driver bindings
-
-This patch adds devicetree tree bindings for the Raspberry Pi power
-domain driver.
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
-Acked-by: Rob Herring <robh@kernel.org>
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- .../bindings/soc/bcm/raspberrypi,bcm2835-power.txt | 47 ++++++++++++++++++++++
- 1 file changed, 47 insertions(+)
- create mode 100644 Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt
-
-diff --git a/Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt b/Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt
-new file mode 100644
-index 000000000000..30942cf7992b
---- /dev/null
-+++ b/Documentation/devicetree/bindings/soc/bcm/raspberrypi,bcm2835-power.txt
-@@ -0,0 +1,47 @@
-+Raspberry Pi power domain driver
-+
-+Required properties:
-+
-+- compatible: Should be "raspberrypi,bcm2835-power".
-+- firmware: Reference to the RPi firmware device node.
-+- #power-domain-cells: Should be <1>, we providing multiple power domains.
-+
-+The valid defines for power domain are:
-+
-+ RPI_POWER_DOMAIN_I2C0
-+ RPI_POWER_DOMAIN_I2C1
-+ RPI_POWER_DOMAIN_I2C2
-+ RPI_POWER_DOMAIN_VIDEO_SCALER
-+ RPI_POWER_DOMAIN_VPU1
-+ RPI_POWER_DOMAIN_HDMI
-+ RPI_POWER_DOMAIN_USB
-+ RPI_POWER_DOMAIN_VEC
-+ RPI_POWER_DOMAIN_JPEG
-+ RPI_POWER_DOMAIN_H264
-+ RPI_POWER_DOMAIN_V3D
-+ RPI_POWER_DOMAIN_ISP
-+ RPI_POWER_DOMAIN_UNICAM0
-+ RPI_POWER_DOMAIN_UNICAM1
-+ RPI_POWER_DOMAIN_CCP2RX
-+ RPI_POWER_DOMAIN_CSI2
-+ RPI_POWER_DOMAIN_CPI
-+ RPI_POWER_DOMAIN_DSI0
-+ RPI_POWER_DOMAIN_DSI1
-+ RPI_POWER_DOMAIN_TRANSPOSER
-+ RPI_POWER_DOMAIN_CCP2TX
-+ RPI_POWER_DOMAIN_CDP
-+ RPI_POWER_DOMAIN_ARM
-+
-+Example:
-+
-+power: power {
-+ compatible = "raspberrypi,bcm2835-power";
-+ firmware = <&firmware>;
-+ #power-domain-cells = <1>;
-+};
-+
-+Example for using power domain:
-+
-+&usb {
-+ power-domains = <&power RPI_POWER_DOMAIN_USB>;
-+};
diff --git a/configs/platform-rpi2/patches/linux-4.4/0014-ARM-bcm2835-Add-the-Raspberry-Pi-power-domain-driver.patch b/configs/platform-rpi2/patches/linux-4.4/0014-ARM-bcm2835-Add-the-Raspberry-Pi-power-domain-driver.patch
deleted file mode 100644
index 6bbce3f..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/0014-ARM-bcm2835-Add-the-Raspberry-Pi-power-domain-driver.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-From: Alexander Aring <alex.aring@gmail.com>
-Date: Wed, 16 Dec 2015 16:26:49 -0800
-Subject: [PATCH] ARM: bcm2835: Add the Raspberry Pi power domain driver to the
- DT.
-
-This connects the USB driver to the USB power domain, so that USB can
-actually be turned on at boot if the bootloader didn't do it for us.
-
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
-Signed-off-by: Eric Anholt <eric@anholt.net>
-Signed-off-by: Alexander Aring <alex.aring@gmail.com>
----
- arch/arm/boot/dts/bcm2835-rpi.dtsi | 12 ++++++++++++
- arch/arm/boot/dts/bcm283x.dtsi | 2 +-
- 2 files changed, 13 insertions(+), 1 deletion(-)
-
-diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
-index 3afb9fefe2d1..aad668c81d8c 100644
---- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
-+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
-@@ -1,3 +1,5 @@
-+#include <dt-bindings/soc/raspberrypi-power.h>
-+
- / {
- memory {
- reg = <0 0x10000000>;
-@@ -18,6 +20,12 @@
- compatible = "raspberrypi,bcm2835-firmware";
- mboxes = <&mailbox>;
- };
-+
-+ power: power {
-+ compatible = "raspberrypi,bcm2835-power";
-+ firmware = <&firmware>;
-+ #power-domain-cells = <1>;
-+ };
- };
- };
-
-@@ -58,3 +66,7 @@
- status = "okay";
- bus-width = <4>;
- };
-+
-+&usb {
-+ power-domains = <&power RPI_POWER_DOMAIN_USB>;
-+};
-diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
-index bf74e8afbe88..c8e8e4b98097 100644
---- a/arch/arm/boot/dts/bcm283x.dtsi
-+++ b/arch/arm/boot/dts/bcm283x.dtsi
-@@ -180,7 +180,7 @@
- status = "disabled";
- };
-
-- usb@7e980000 {
-+ usb: usb@7e980000 {
- compatible = "brcm,bcm2835-usb";
- reg = <0x7e980000 0x10000>;
- interrupts = <1 9>;
diff --git a/configs/platform-rpi2/patches/linux-4.4/series b/configs/platform-rpi2/patches/linux-4.4/series
deleted file mode 100644
index 6ab99e2..0000000
--- a/configs/platform-rpi2/patches/linux-4.4/series
+++ /dev/null
@@ -1,17 +0,0 @@
-# generated by git-ptx-patches
-#tag:base --start-number 1
-0001-irq-bcm2836-Fix-initialization-of-the-LOCAL_IRQ_CNT-.patch
-0002-irq-bcm2836-Add-SMP-support-for-the-2836.patch
-0003-dt-bindings-Add-root-properties-for-Raspberry-Pi-2.patch
-0004-ARM-bcm2835-Split-the-DT-for-peripherals-from-the-DT.patch
-0005-ARM-bcm2835-Move-the-CPU-peripheral-include-out-of-c.patch
-0006-ARM-bcm2835-Add-devicetree-for-bcm2836-and-Raspberry.patch
-0007-ARM-bcm2835-Add-a-compat-string-for-bcm2836-machine-.patch
-0008-ARM-bcm2835-Add-Kconfig-support-for-bcm2836.patch
-0009-irqchip-bcm2836-tolerate-IRQs-while-no-flag-is-set-i.patch
-0010-irqchip-bcm2836-make-code-more-readable.patch
-0011-ARM-bcm2835-Define-two-new-packets-from-the-latest-f.patch
-0012-ARM-bcm2835-add-rpi-power-domain-driver.patch
-0013-dt-bindings-add-rpi-power-domain-driver-bindings.patch
-0014-ARM-bcm2835-Add-the-Raspberry-Pi-power-domain-driver.patch
-# bb2d21d7e88e49e7345c57522cc98977 - git-ptx-patches magic
diff --git a/configs/platform-rpi2/platformconfig b/configs/platform-rpi2/platformconfig
deleted file mode 100644
index a2e2580..0000000
--- a/configs/platform-rpi2/platformconfig
+++ /dev/null
@@ -1,264 +0,0 @@
-#
-# Automatically generated file; DO NOT EDIT.
-# PTXdist 2016.05.0
-#
-PTXCONF__platformconfig_MAGIC__=y
-
-#
-# ------------------------------------
-#
-
-#
-# Target Platform Configuration
-#
-
-#
-# ------------------------------------
-#
-PTXCONF_PLATFORM="rpi2"
-PTXCONF_PLATFORM_VERSION="-2016.01.0"
-PTXCONF_RUNTIME=y
-PTXCONF_BUILDTIME=y
-PTXCONF_PLATFORMCONFIG_VERSION="2016.05.0"
-
-#
-# architecture
-#
-# PTXCONF_ARCH_ALPHA is not set
-# PTXCONF_ARCH_AVR32 is not set
-# PTXCONF_ARCH_AVR is not set
-PTXCONF_ARCH_ARM=y
-# PTXCONF_ARCH_ARM64 is not set
-# PTXCONF_ARCH_BLACKFIN is not set
-# PTXCONF_ARCH_X86 is not set
-# PTXCONF_ARCH_MINGW is not set
-# PTXCONF_ARCH_PPC is not set
-# PTXCONF_ARCH_M68K is not set
-# PTXCONF_ARCH_SPARC is not set
-# PTXCONF_ARCH_MICROBLAZE is not set
-# PTXCONF_ARCH_MIPS is not set
-# PTXCONF_ARCH_CRIS is not set
-# PTXCONF_ARCH_PARISC is not set
-# PTXCONF_ARCH_SH is not set
-PTXCONF_ARCH_SUPPORTS_ENDIAN_BIG=y
-PTXCONF_ARCH_SUPPORTS_ENDIAN_LITTLE=y
-# PTXCONF_ENDIAN_BIG is not set
-PTXCONF_ENDIAN_LITTLE=y
-PTXCONF_ARCH_ARM_V6=y
-# PTXCONF_ARCH_ARM_IWMMXT is not set
-# PTXCONF_ARCH_ARM_NEON is not set
-PTXCONF_HAS_HARDFLOAT=y
-PTXCONF_HAS_MMU=y
-PTXCONF_SIZEOF_LONG_DOUBLE="8"
-PTXCONF_ARCH_STRING="arm"
-
-#
-# paths & directories
-#
-PTXCONF_SYSROOT_TARGET="${PTXDIST_PLATFORMDIR}/sysroot-target"
-PTXCONF_SYSROOT_HOST="${PTXDIST_PLATFORMDIR}/sysroot-host"
-PTXCONF_SYSROOT_CROSS="${PTXDIST_PLATFORMDIR}/sysroot-cross"
-
-#
-# toolchain
-#
-PTXCONF_CROSSCHAIN_VENDOR="OSELAS.Toolchain-2014.12"
-PTXCONF_CROSSCHAIN_CHECK="4.9.2"
-PTXCONF_LIBC_GLIBC=y
-# PTXCONF_LIBC_UCLIBC is not set
-PTXCONF_GLIBC_VERSION="2.20"
-PTXCONF_GNU_TARGET="arm-v7a-linux-gnueabihf"
-PTXCONF_COMPILER_PREFIX="${PTXCONF_GNU_TARGET}-"
-PTXCONF_COMPILER_PREFIX_KERNEL="${PTXCONF_COMPILER_PREFIX}"
-PTXCONF_COMPILER_PREFIX_BOOTLOADER="${PTXCONF_COMPILER_PREFIX}"
-
-#
-# hardening options
-#
-# PTXCONF_TARGET_HARDEN_STACK is not set
-PTXCONF_TARGET_HARDEN_FORTIFY=y
-PTXCONF_TARGET_HARDEN_RELRO=y
-PTXCONF_TARGET_HARDEN_BINDNOW=y
-# PTXCONF_TARGET_HARDEN_PIE is not set
-
-#
-# extra toolchain options
-#
-# PTXCONF_TARGET_LINKER_HASH_DEFAULT is not set
-# PTXCONF_TARGET_LINKER_HASH_SYSV is not set
-PTXCONF_TARGET_LINKER_HASH_GNU=y
-# PTXCONF_TARGET_LINKER_HASH_BOTH is not set
-# PTXCONF_TARGET_LINKER_AS_NEEDED is not set
-# PTXCONF_TARGET_DEBUG_OFF is not set
-PTXCONF_TARGET_DEBUG_KEEP=y
-# PTXCONF_TARGET_DEBUG_ENABLE is not set
-# PTXCONF_TARGET_DEBUG_FULL is not set
-PTXCONF_TARGET_COMPILER_RECORD_SWITCHES=y
-PTXCONF_TARGET_EXTRA_CPPFLAGS=""
-PTXCONF_TARGET_EXTRA_CFLAGS=""
-PTXCONF_TARGET_EXTRA_CXXFLAGS=""
-PTXCONF_TARGET_EXTRA_LDFLAGS=""
-PTXCONF_KERNEL=y
-# PTXCONF_KERNEL_INSTALL is not set
-PTXCONF_KERNEL_MODULES=y
-PTXCONF_KERNEL_MODULES_INSTALL=y
-PTXCONF_KERNEL_MODULES_BUILD="modules"
-PTXCONF_KERNEL_VERSION="4.4"
-PTXCONF_KERNEL_MD5="9a78fa2eb6c68ca5a40ed5af08142599"
-PTXCONF_KERNEL_ARCH_STRING="arm"
-# PTXCONF_KERNEL_IMAGE_BZ is not set
-PTXCONF_KERNEL_IMAGE_Z=y
-# PTXCONF_KERNEL_IMAGE_XIP is not set
-# PTXCONF_KERNEL_IMAGE_U is not set
-# PTXCONF_KERNEL_IMAGE_VM is not set
-# PTXCONF_KERNEL_IMAGE_VMLINUX is not set
-# PTXCONF_KERNEL_IMAGE_RAW is not set
-# PTXCONF_KERNEL_IMAGE_SIMPLE is not set
-PTXCONF_KERNEL_IMAGE="zImage"
-PTXCONF_KERNEL_DTC=y
-# PTXCONF_KERNEL_XZ is not set
-# PTXCONF_KERNEL_LZOP is not set
-
-#
-# patching & configuration
-#
-PTXCONF_KERNEL_SERIES="series"
-PTXCONF_KERNEL_CONFIG="kernelconfig"
-
-#
-# Development features
-#
-PTXCONF_KERNEL_EXTRA_MAKEVARS="CONFIG_DEBUG_SECTION_MISMATCH=y"
-PTXCONF_DTC=y
-# PTXCONF_DTC_INSTALL_OFTREE is not set
-PTXCONF_DTC_OFTREE_DTS_PATH="${KERNEL_DIR}/arch/${PTXCONF_KERNEL_ARCH_STRING}/boot/dts"
-PTXCONF_DTC_OFTREE_DTS="bcm2836-rpi-2-b.dts"
-PTXCONF_DTC_KERNEL=y
-PTXCONF_DTC_EXTRA_ARGS=""
-
-#
-# console options
-#
-PTXCONF_CONSOLE_NAME="ttyAMA0"
-PTXCONF_CONSOLE_SPEED="115200"
-
-#
-# extra kernel
-#
-
-#
-# bootloaders
-#
-# PTXCONF_AT91BOOTSTRAP is not set
-# PTXCONF_AT91BOOTSTRAP2 is not set
-PTXCONF_BAREBOX_ARCH_STRING="arm"
-PTXCONF_BAREBOX=y
-PTXCONF_BAREBOX_VERSION="2015.12.0"
-PTXCONF_BAREBOX_MD5="1ef8926cd2eadc39ce779b8377e7cfcc"
-PTXCONF_BAREBOX_CONFIG="barebox.config"
-PTXCONF_BAREBOX_EXTRA_ENV=y
-PTXCONF_BAREBOX_EXTRA_ENV_PATH="${PTXDIST_PLATFORMCONFIGDIR}/barebox-defaultenv"
-# PTXCONF_BAREBOX_BAREBOXENV is not set
-# PTXCONF_BAREBOX_BAREBOXCRC32 is not set
-# PTXCONF_BAREBOX_KERNEL_INSTALL is not set
-# PTXCONF_BAREBOX_BAREBOXIMD is not set
-# PTXCONF_BAREBOX_NEEDS_HOST_LIBUSB is not set
-# PTXCONF_BAREBOX_NEEDS_HOST_OPENSSL is not set
-# PTXCONF_BAREBOX_NEEDS_HOST_IMX_CST is not set
-# PTXCONF_BAREBOX_NEEDS_HOST_LZOP is not set
-# PTXCONF_BAREBOX_MLO is not set
-PTXCONF_BOOTLOADER=y
-# PTXCONF_GRUB is not set
-# PTXCONF_HOST_MXS_UTILS is not set
-
-#
-# i.MX HAB
-#
-# PTXCONF_U_BOOT_V2 is not set
-# PTXCONF_U_BOOT is not set
-# PTXCONF_X_LOAD is not set
-
-#
-# bootloader spec entries
-#
-# PTXCONF_BLSPEC_ENTRY is not set
-
-#
-# image creation options
-#
-# PTXCONF_IMAGE_BOOT_MLO_VFAT is not set
-# PTXCONF_IMAGE_CPIO is not set
-# PTXCONF_IMAGE_CPIO_GZ is not set
-# PTXCONF_IMAGE_EXT2 is not set
-# PTXCONF_IMAGE_HD is not set
-# PTXCONF_IMAGE_VDI is not set
-
-#
-# ipkg options
-#
-# PTXCONF_IMAGE_IPKG_PUSH_TO_REPOSITORY is not set
-# PTXCONF_IMAGE_INSTALL_FROM_IPKG_REPOSITORY is not set
-PTXCONF_IMAGE_IPKG_INDEX=y
-PTXCONF_IMAGE_XPKG_EXTRA_ARGS=""
-# PTXCONF_IMAGE_JFFS2 is not set
-PTXCONF_IMAGE_KERNEL=y
-# PTXCONF_IMAGE_KERNEL_INITRAMFS is not set
-PTXCONF_IMAGE_KERNEL_INSTALL_EARLY=y
-# PTXCONF_IMAGE_KERNEL_LZOP is not set
-# PTXCONF_IMAGE_SQUASHFS is not set
-# PTXCONF_IMAGE_TGZ is not set
-# PTXCONF_IMAGE_UBI is not set
-# PTXCONF_IMAGE_UBIFS is not set
-# PTXCONF_IMAGE_UIMAGE is not set
-
-#
-# new image creation options
-#
-# PTXCONF_IMAGE_BOOT_MLO is not set
-PTXCONF_IMAGE_BOOT_VFAT=y
-PTXCONF_IMAGE_BOOT_VFAT_GPU_MEM=64
-PTXCONF_IMAGE_HDIMG=y
-# PTXCONF_IMAGE_HDIMG_NONE is not set
-# PTXCONF_IMAGE_HDIMG_BAREBOX is not set
-PTXCONF_IMAGE_HDIMG_VFAT=y
-# PTXCONF_IMAGE_ROOT_CPIO_GZ is not set
-# PTXCONF_IMAGE_ROOT_CPIO is not set
-PTXCONF_IMAGE_ROOT_EXT=y
-PTXCONF_IMAGE_ROOT_EXT_SIZE="512M"
-# PTXCONF_IMAGE_ROOT_EXT_EXT2 is not set
-# PTXCONF_IMAGE_ROOT_EXT_EXT3 is not set
-PTXCONF_IMAGE_ROOT_EXT_EXT4=y
-PTXCONF_IMAGE_ROOT_EXT_TYPE="ext4"
-PTXCONF_IMAGE_ROOT_TGZ=y
-# PTXCONF_IMAGE_ROOT_UBI is not set
-# PTXCONF_IMAGE_ROOT_UBIFS is not set
-# PTXCONF_HOST_ACL is not set
-# PTXCONF_HOST_ATTR is not set
-# PTXCONF_HOST_BZIP2 is not set
-# PTXCONF_HOST_CDRKIT is not set
-# PTXCONF_HOST_CMAKE is not set
-# PTXCONF_HOST_CRAMFS is not set
-PTXCONF_HOST_DOSFSTOOLS=y
-PTXCONF_HOST_E2FSPROGS=y
-PTXCONF_HOST_GENEXT2FS=y
-PTXCONF_HOST_GENIMAGE=y
-# PTXCONF_HOST_GENPART is not set
-# PTXCONF_HOST_GETTEXT is not set
-# PTXCONF_HOST_LIBBLKID is not set
-# PTXCONF_HOST_LIBCAP is not set
-PTXCONF_HOST_LIBCONFUSE=y
-PTXCONF_HOST_LIBKMOD=y
-# PTXCONF_HOST_LIBLZO is not set
-# PTXCONF_HOST_LIBUSB is not set
-# PTXCONF_HOST_LIBUUID is not set
-# PTXCONF_HOST_LZOP is not set
-# PTXCONF_HOST_MKELFIMAGE is not set
-# PTXCONF_HOST_MTD_UTILS is not set
-PTXCONF_HOST_MTOOLS=y
-# PTXCONF_HOST_OPENSSL is not set
-# PTXCONF_HOST_SQUASHFS_TOOLS is not set
-# PTXCONF_HOST_U_BOOT_TOOLS is not set
-# PTXCONF_HOST_UTIL_LINUX_NG is not set
-# PTXCONF_HOST_XL_TOOLS is not set
-# PTXCONF_HOST_XZ is not set
-# PTXCONF_HOST_ZLIB is not set
diff --git a/configs/platform-rpi2/platforms/image-boot-vfat.in b/configs/platform-rpi2/platforms/image-boot-vfat.in
deleted file mode 100644
index 6ac5dd9..0000000
--- a/configs/platform-rpi2/platforms/image-boot-vfat.in
+++ /dev/null
@@ -1,22 +0,0 @@
-## SECTION=image2
-
-config IMAGE_BOOT_VFAT
- tristate
- select HOST_GENIMAGE
- select HOST_MTOOLS
- select HOST_DOSFSTOOLS
- select KERNEL
- prompt "Generate image/boot.vfat"
- help
- FIXME
-
-if IMAGE_BOOT_VFAT
-
-config IMAGE_BOOT_VFAT_GPU_MEM
- int
- default 64
- prompt "GPU memory"
- help
- GPU memory in megabyte. Sets the memory split between the ARM
- and GPU. ARM gets the remaining memory. Min 16.
-endif
diff --git a/configs/platform-rpi2/rules/image-boot-vfat.make b/configs/platform-rpi2/rules/image-boot-vfat.make
deleted file mode 100644
index 93a725b..0000000
--- a/configs/platform-rpi2/rules/image-boot-vfat.make
+++ /dev/null
@@ -1,54 +0,0 @@
-# -*-makefile-*-
-#
-# Copyright (C) 2012 by Michael Olbrich <m.olbrich@pengutronix.de>
-#
-# See CREDITS for details about who has contributed to this project.
-#
-# For further information about the PTXdist project and license conditions
-# see the README file.
-#
-
-#
-# We provide this package
-#
-IMAGE_PACKAGES-$(PTXCONF_IMAGE_BOOT_VFAT) += image-boot-vfat
-
-#
-# Paths and names
-#
-IMAGE_BOOT_VFAT := image-boot-vfat
-IMAGE_BOOT_VFAT_DIR := $(BUILDDIR)/$(IMAGE_BOOT_VFAT)
-IMAGE_BOOT_VFAT_IMAGE := $(IMAGEDIR)/boot.vfat
-IMAGE_BOOT_VFAT_DATA := \
- $(wildcard $(PTXDIST_PLATFORMCONFIGDIR)/firmware/*.bin) \
- $(wildcard $(PTXDIST_PLATFORMCONFIGDIR)/firmware/*.elf) \
- $(wildcard $(PTXDIST_PLATFORMCONFIGDIR)/firmware/*.dat) \
- $(PTXDIST_TEMPDIR)/config.txt
-IMAGE_BOOT_VFAT_CONFIG := boot-vfat.config
-
-# ----------------------------------------------------------------------------
-# Image
-# ----------------------------------------------------------------------------
-
-define squote_and_comma
-$(subst $(ptx/def/space),$(comma) ,$(addsuffix $(ptx/def/squote),$(addprefix $(ptx/def/squote),$(1))))
-endef
-
-
-IMAGE_BOOT_VFAT_ENV := \
- FILES="$(call squote_and_comma,$(IMAGE_BOOT_VFAT_DATA))" \
- HEADER=$(PTXDIST_PLATFORMCONFIGDIR)/first32k.bin \
- BAREBOX=barebox-image \
- BAREBOX_ENV=barebox-default-environment \
- KERNEL=linuximage \
- START=$(PTXDIST_PLATFORMCONFIGDIR)/firmware/$(PTXCONF_IMAGE_BOOT_VFAT_START)_start.elf
-
-$(IMAGE_BOOT_VFAT_IMAGE):
- @$(call targetinfo)
- @GPU_MEM=$(PTXCONF_IMAGE_BOOT_VFAT_GPU_MEM) \
- ptxd_replace_magic "$(PTXDIST_PLATFORMCONFIGDIR)/config.txt" > \
- "$(PTXDIST_TEMPDIR)/config.txt"
- @$(call image/genimage, IMAGE_BOOT_VFAT)
- @$(call finish)
-
-# vim: syntax=make