summaryrefslogtreecommitdiffstats
path: root/include/configs/rpi_2.h
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2016-04-04 20:00:41 -0600
committerTom Rini <trini@konsulko.com>2016-04-11 20:48:23 -0400
commitfe84ebf0214cfc1766fb467268f056bed32a08ab (patch)
treeb0ebc1cca9ea5591f2cfde31a747bff26e8eeb91 /include/configs/rpi_2.h
parent9082517a85930740f59966fcf13293c38792afe8 (diff)
downloadtalos-obmc-uboot-fe84ebf0214cfc1766fb467268f056bed32a08ab.tar.gz
talos-obmc-uboot-fe84ebf0214cfc1766fb467268f056bed32a08ab.zip
rpi: remove redundant board files
Now that rpi_*defconfig and Kconfig (rather than the config header file) provide the identity of the build, we don't need to separate config headers and board directories for each RPi variant. Set CONFIG_SYS_BOARD and CONFIG_SYS_CONFIG_NAME so that we can get rid of the duplication. This requires a tiny number of extra ifdefs in the config header. The only disadvantage of this approach is that the $board/$board_name environment variables aren't as descriptive as they used to be. This isn't really an issue because those only exist to allow scripts to create DTB filenames at runtime. However, the RPi board code already sets $fdtfile to something more accurate based on FW-reported board ID anyway. While at it, unify some Kconfig select options, and add a MAINTAINERS entry for bcm283x too. Partially-suggested-by: Tom Rini <trini@konsulko.com> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/rpi_2.h')
-rw-r--r--include/configs/rpi_2.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/configs/rpi_2.h b/include/configs/rpi_2.h
deleted file mode 100644
index 0917e86508..0000000000
--- a/include/configs/rpi_2.h
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- * (C) Copyright 2012,2015 Stephen Warren
- *
- * SPDX-License-Identifier: GPL-2.0
- */
-
-#ifndef __CONFIG_H
-#define __CONFIG_H
-
-#define CONFIG_SKIP_LOWLEVEL_INIT
-#define CONFIG_SYS_CACHELINE_SIZE 64
-
-#include "rpi-common.h"
-
-#endif
OpenPOWER on IntegriCloud