[coreboot-gerrit] New patch to review for coreboot: 99cdcb5 TEGRA124: add a chip.h and use it in NYAN

Isaac Christensen (isaac.christensen@se-eng.com) gerrit at coreboot.org
Tue Sep 9 23:30:19 CEST 2014


Isaac Christensen (isaac.christensen at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6867

-gerrit

commit 99cdcb51aa4aa8c476d81ef274e5ff25885dfb47
Author: Ronald G. Minnich <rminnich at google.com>
Date:   Fri Oct 11 11:22:08 2013 -0700

    TEGRA124: add a chip.h and use it in NYAN
    
    For graphics we need a chip.h in tegra124. Add it.
    Set it in the nyan mainboard as a test.
    
    Change-Id: I1c5ccd5574d2e6b49bb4947035ccd10e99729458
    Signed-off-by: Ronald G. Minnich <rminnich at google.com>
    Reviewed-on: https://chromium-review.googlesource.com/172773
    Reviewed-by: David Hendricks <dhendrix at chromium.org>
    Commit-Queue: Ronald Minnich <rminnich at chromium.org>
    Tested-by: Ronald Minnich <rminnich at chromium.org>
    (cherry picked from commit 4dd5f1f091f2dcae5ce38203bb86c62994609f8f)
    Signed-off-by: Isaac Christensen <isaac.christensen at se-eng.com>
---
 src/mainboard/google/nyan/devicetree.cb |  3 +++
 src/soc/nvidia/tegra124/chip.h          | 31 +++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/src/mainboard/google/nyan/devicetree.cb b/src/mainboard/google/nyan/devicetree.cb
index 392a5ae..435e811 100644
--- a/src/mainboard/google/nyan/devicetree.cb
+++ b/src/mainboard/google/nyan/devicetree.cb
@@ -19,4 +19,7 @@
 
 chip soc/nvidia/tegra124
 	device cpu_cluster 0 on end
+	register "xres" = "2560"
+	register "yres" = "1600"
+	register "framebuffer_bits_per_pixel" = "24"
 end
diff --git a/src/soc/nvidia/tegra124/chip.h b/src/soc/nvidia/tegra124/chip.h
new file mode 100644
index 0000000..5ccdd21
--- /dev/null
+++ b/src/soc/nvidia/tegra124/chip.h
@@ -0,0 +1,31 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright 2013 Google Inc.
+ *
+ * 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; version 2 of the License.
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __SOC_NVIDIA_TEGRA124_CHIP_H__
+#define __SOC_NVIDIA_TEGRA124_CHIP_H__
+
+struct soc_nvidia_tegra124_config {
+	int xres;
+	int yres;
+	int framebuffer_bits_per_pixel;
+
+	u32 framebuffer_base;
+};
+
+#endif /* __SOC_NVIDIA_TEGRA124_CHIP_H__ */



More information about the coreboot-gerrit mailing list