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. BUG=None TEST=build it BRANCH=None Change-Id: I1c5ccd5574d2e6b49bb4947035ccd10e99729458 Signed-off-by: Ronald G. Minnich <rminnich@google.com> Reviewed-on: https://chromium-review.googlesource.com/172773 Reviewed-by: David Hendricks <dhendrix@chromium.org> Commit-Queue: Ronald Minnich <rminnich@chromium.org> Tested-by: Ronald Minnich <rminnich@chromium.org>
This commit is contained in:
parent
f6be8b0e60
commit
4dd5f1f091
2 changed files with 34 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
31
src/soc/nvidia/tegra124/chip.h
Normal file
31
src/soc/nvidia/tegra124/chip.h
Normal file
|
|
@ -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__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue