[Armadeus-commitlog] armadeus branch, master, updated. armadeus-4.1-464-g7bc7e34
Brought to you by:
sszy
|
From: jorasse <jo...@us...> - 2012-07-26 17:42:15
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 7bc7e348bf38f219b1c7d758d9908841233440d2 (commit)
from c8726bc5e49203cbaf07c63eca2ce79fe8a7659e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7bc7e348bf38f219b1c7d758d9908841233440d2
Author: Eric Jarrige <eri...@ar...>
Date: Thu Jul 26 19:45:07 2012 +0200
[UBOOT] APF27: Comment data in fuse: board revision and RAM chips present on the board
-----------------------------------------------------------------------
Summary of changes:
...-Add-support-for-the-armadeus-apf27-board.patch | 17 ++++++++++++++++-
.../2012.04/304-Add-FPGA-support-apf27.patch | 2 +-
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/patches/u-boot/2012.04/302-Add-support-for-the-armadeus-apf27-board.patch b/patches/u-boot/2012.04/302-Add-support-for-the-armadeus-apf27-board.patch
index 2904403..4c00a2f 100644
--- a/patches/u-boot/2012.04/302-Add-support-for-the-armadeus-apf27-board.patch
+++ b/patches/u-boot/2012.04/302-Add-support-for-the-armadeus-apf27-board.patch
@@ -78,7 +78,7 @@ new file mode 100644
index 0000000..c55da1a
--- /dev/null
+++ b/board/armadeus/apf27/apf27.c
-@@ -0,0 +1,310 @@
+@@ -0,0 +1,325 @@
+/*
+ * Copyright (C) 2007 Sascha Hauer, Pengutronix
+ * Copyright (C) 2008-2012 Eric Jarrige <eri...@ar...>
@@ -111,6 +111,14 @@ index 0000000..c55da1a
+
+DECLARE_GLOBAL_DATA_PTR;
+
++/*
++ * Fuse bank 1 row 8 is "reserved for future use" and therefore available for
++ * custormer use. The APF27 board uses this fuse to store the board revision:
++ * 0: initial board revision
++ * 1: first revision - Presence of the second RAM chip on the board is blown in
++ * fuse bank 1 row 9 bit 0 - No hardware change
++ * N: to be defined
++ */
+u32 get_board_rev(void)
+{
+ struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE;
@@ -118,6 +126,13 @@ index 0000000..c55da1a
+ return readl(&iim->bank[1].fuse_regs[8]);
+}
+
++/*
++ * Fuse bank 1 row 9 is "reserved for future use" and therefore available for
++ * custormer use. The APF27 board revision 1 uses the bit 0 to permanently store
++ * the presence of the second RAM chip
++ * 0: AFP27 with 1 RAM of 64 MiB
++ * 1: AFP27 with 2 RAM chips of 64 MiB each (128MB)
++ */
+int get_num_ram_bank(void)
+{
+ struct iim_regs *iim = (struct iim_regs *)IMX_IIM_BASE;
diff --git a/patches/u-boot/2012.04/304-Add-FPGA-support-apf27.patch b/patches/u-boot/2012.04/304-Add-FPGA-support-apf27.patch
index a07d124..8693bec 100644
--- a/patches/u-boot/2012.04/304-Add-FPGA-support-apf27.patch
+++ b/patches/u-boot/2012.04/304-Add-FPGA-support-apf27.patch
@@ -36,7 +36,7 @@ index c55da1a..98152f1 100644
#include <jffs2/jffs2.h>
#include <nand.h>
#include <netdev.h>
-@@ -241,6 +242,21 @@ misc_init_r(void)
+@@ -256,6 +257,21 @@ misc_init_r(void)
struct mtd_device *dev;
struct part_info *part;
hooks/post-receive
--
armadeus
|