summaryrefslogtreecommitdiff
path: root/package/boot/uboot-oxnas/files/board
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-12-02 15:25:37 +0000
committerJohn Crispin <john@openwrt.org>2014-12-02 15:25:37 +0000
commit283d7789eea8cb57e31bc6a06d47c5813ebba283 (patch)
tree619c254c97177f391a09333a8c9a25879a250b0f /package/boot/uboot-oxnas/files/board
parenta122c1c9c9e68be04ca39763a9638fc43fb96c99 (diff)
downloadmtk-20170518-283d7789eea8cb57e31bc6a06d47c5813ebba283.zip
mtk-20170518-283d7789eea8cb57e31bc6a06d47c5813ebba283.tar.gz
mtk-20170518-283d7789eea8cb57e31bc6a06d47c5813ebba283.tar.bz2
uboot-oxnas: bump to U-Boot 2014.10
A few trivial changes were needed to adapt to upstream framework changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43499
Diffstat (limited to 'package/boot/uboot-oxnas/files/board')
-rw-r--r--package/boot/uboot-oxnas/files/board/ox820/Kconfig15
-rw-r--r--package/boot/uboot-oxnas/files/board/ox820/MAINTAINERS6
-rw-r--r--package/boot/uboot-oxnas/files/board/ox820/ox820.c1
3 files changed, 22 insertions, 0 deletions
diff --git a/package/boot/uboot-oxnas/files/board/ox820/Kconfig b/package/boot/uboot-oxnas/files/board/ox820/Kconfig
new file mode 100644
index 0000000..8f631aa
--- /dev/null
+++ b/package/boot/uboot-oxnas/files/board/ox820/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_OX820
+
+config SYS_CPU
+ default "arm1136"
+
+config SYS_SOC
+ default "nas782x"
+
+config SYS_BOARD
+ default "ox820"
+
+config SYS_CONFIG_NAME
+ default "ox820"
+
+endif
diff --git a/package/boot/uboot-oxnas/files/board/ox820/MAINTAINERS b/package/boot/uboot-oxnas/files/board/ox820/MAINTAINERS
new file mode 100644
index 0000000..a86ba26
--- /dev/null
+++ b/package/boot/uboot-oxnas/files/board/ox820/MAINTAINERS
@@ -0,0 +1,6 @@
+SHEEVAPLUG BOARD
+M: Daniel Golle <daniel@makrotopia.org>
+S: Maintained
+F: board/ox820/
+F: include/configs/ox820.h
+F: configs/ox820_defconfig
diff --git a/package/boot/uboot-oxnas/files/board/ox820/ox820.c b/package/boot/uboot-oxnas/files/board/ox820/ox820.c
index 32c91f4..f93cc9c 100644
--- a/package/boot/uboot-oxnas/files/board/ox820/ox820.c
+++ b/package/boot/uboot-oxnas/files/board/ox820/ox820.c
@@ -279,6 +279,7 @@ int board_nand_init(struct nand_chip *chip)
int board_init(void)
{
gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
+ gd->bd->bi_arch_number = MACH_TYPE_OXNAS;
/* assume uart is already initialized by SPL */