Alexandru Gagniuc (mr.nuke.me(a)gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13304
-gerrit
commit cfcabb95fc00e296994d41bdc303c2dbda36473d
Author: Alexandru Gagniuc <mr.nuke.me(a)gmail.com>
Date: Mon Oct 5 13:45:22 2015 -0700
soc/apollolake: Add minimal accessors for sideband bus (IOSF)
Some configuration registers for the UART are placed behind the
sideband bus.
Change-Id: I84a620dbd0cf4b8f3fec119836d1c8f75c7f200a
Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com>
---
src/soc/intel/apollolake/include/soc/iosf.h | 30 +++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/src/soc/intel/apollolake/include/soc/iosf.h b/src/soc/intel/apollolake/include/soc/iosf.h
new file mode 100644
index 0000000..c9f578c
--- /dev/null
+++ b/src/soc/intel/apollolake/include/soc/iosf.h
@@ -0,0 +1,30 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2015 Intel Corp.
+ * (Written by Alexandru Gagniuc <alexandrux.gagniuc(a)intel.com> for Intel Corp.)
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef _SOC_APOLLOLAKE_IOSF_H_
+#define _SOC_APOLLOLAKE_IOSF_H_
+
+#include <arch/io.h>
+
+inline static void iosf_write(uint8_t port, uint16_t reg, uint32_t val)
+{
+ uintptr_t base = CONFIG_IOSF_BASE_ADDRESS | (port << 16) | (reg & ~3);
+ write32((void *)base, val);
+}
+
+inline static uint32_t iosf_read(uint8_t port, uint16_t reg)
+{
+ uintptr_t base = CONFIG_IOSF_BASE_ADDRESS | (port << 16) | (reg & ~3);
+ return read32((void *)base);
+}
+
+#endif /* _SOC_APOLLOLAKE_IOSF_H_ */
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13565
-gerrit
commit ac2094f661d973693364e8cc5b81b492c359e9b7
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Tue Feb 2 19:55:48 2016 +0100
crossgcc: Also add the nds32le architecture to the coreboot Makefile
Change-Id: Ibf3346586d188dbd5b7ab10bedfc1609b2bb1499
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
util/crossgcc/Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/crossgcc/Makefile.inc b/util/crossgcc/Makefile.inc
index d2be74a..be0facc 100644
--- a/util/crossgcc/Makefile.inc
+++ b/util/crossgcc/Makefile.inc
@@ -13,7 +13,7 @@
## GNU General Public License for more details.
##
-TOOLCHAIN_ARCHES := i386 x86 arm aarch64 mips riscv power8
+TOOLCHAIN_ARCHES := i386 x86 arm aarch64 mips riscv power8 nds32le
help_toolchain help::
@echo '*** Toolchain targets ***'
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13564
-gerrit
commit adae4755d9f258d81bd7f993683504c74f58edde
Author: Patrick Georgi <pgeorgi(a)chromium.org>
Date: Tue Feb 2 19:33:00 2016 +0100
crossgcc: Bring back the old iasl building scheme
This makes the cross{gcc,tools}-* targets build iasl again, without
building it many times for cross{gcc,tools}
Change-Id: I7546c2af5f7cce3a4f1a08f593fb5cbc675d69ad
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
util/crossgcc/Makefile.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/crossgcc/Makefile.inc b/util/crossgcc/Makefile.inc
index bd1b0cd..d2be74a 100644
--- a/util/crossgcc/Makefile.inc
+++ b/util/crossgcc/Makefile.inc
@@ -41,7 +41,7 @@ crossgcc: clean-for-update
crosstools-aarch64 crosstools-mips crosstools-riscv crosstools-power8
$(foreach arch,$(TOOLCHAIN_ARCHES),crossgcc-$(arch)): clean-for-update
- $(MAKE) -C util/crossgcc $(patsubst crossgcc-%,build-%,$@) SKIP_GDB=1
+ $(MAKE) -C util/crossgcc $(patsubst crossgcc-%,build-%,$@) build_iasl SKIP_GDB=1
crosstools: clean-for-update
$(MAKE) -C util/crossgcc all_with_gdb SKIP_CLANG=1
@@ -53,7 +53,7 @@ clang: clean-for-update
$(MAKE) -C util/crossgcc build_clang
$(foreach arch,$(TOOLCHAIN_ARCHES),crosstools-$(arch)): clean-for-update
- $(MAKE) -C util/crossgcc $(patsubst crosstools-%,build-%,$@)
+ $(MAKE) -C util/crossgcc $(patsubst crosstools-%,build-%,$@) build_iasl
crossgcc-clean: clean-for-update
$(MAKE) -C util/crossgcc clean
the following patch was just integrated into master:
commit 95909924024687d42cdf34518d34d7c8eb1aee57
Author: Lee Leahy <leroy.p.leahy(a)intel.com>
Date: Fri Jan 29 14:35:13 2016 -0800
soc/intel/common: Use SoC specific routine to read/write MTRRs
The registers associated with the MTRRs for Quark are referenced through
a port on the host bridge. Support the standard configurations by
providing a weak routines which just do a rdmsr/wrmsr.
Testing:
* Edit the src/mainboard/intel/galileo/Makefile.inc file
* Add "select DISPLAY_MTRRS"
* Add "select HAVE_FSP_PDAT_FILE"
* Add "select HAVE_FSP_RAW_BIN"
* Add "select HAVE_RMU_FILE"
* Place the FSP.bin file in the location specified by CONFIG_FSP_FILE
* Place the pdat.bin files in the location specified by
CONFIG_FSP_PDAT_FILE
* Place the rmu.bin file in the location specified by CONFIG_RMU_FILE
* Testing is successful if:
* The MTRRs are displayed and
* The message "FspTempRamExit returned successfully" is displayed
TEST=Build and run on Galileo
Change-Id: If2fea66d4b054be4555f5f172ea5945620648325
Signed-off-by: Lee Leahy <leroy.p.leahy(a)intel.com>
Reviewed-on: https://review.coreboot.org/13529
Reviewed-by: Aaron Durbin <adurbin(a)chromium.org>
Tested-by: build bot (Jenkins)
See https://review.coreboot.org/13529 for details.
-gerrit
the following patch was just integrated into master:
commit 05c0215ff31c80a06e3824fb55f5983b62f894cd
Author: Lee Leahy <leroy.p.leahy(a)intel.com>
Date: Tue Feb 2 07:55:38 2016 -0800
Documenation: x86 Quark/Galileo remove i586 warning
Leverage patch 13552 by adding USE_MARCH_586 to soc/intel/quark/Kconfig.
TEST=None
Change-Id: Ifac947db53e967b98b9494db3f6c3f8ee039ac73
Signed-off-by: Lee Leahy <leroy.p.leahy(a)intel.com>
Reviewed-on: https://review.coreboot.org/13561
Reviewed-by: Martin Roth <martinroth(a)google.com>
Tested-by: build bot (Jenkins)
See https://review.coreboot.org/13561 for details.
-gerrit
Patrick Georgi (pgeorgi(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13563
-gerrit
commit f331c09735cf5a49ba05c6da921edf22b1744931
Author: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Date: Fri Jan 29 17:39:07 2016 -0800
buildgcc: Reorganize when IASL is built
Instead of passing a variable around and painstakingly making sure that
one target builds with it, and the others without, make IASL a
dependency of the "catch all" targets.
This also drops iasl as dependency from individual architecture targets,
but things are more orthogonal that way.
Note: instead of `make crossgcc-i386`, use `make crossgcc-i386 iasl`
Change-Id: I8cd2e89acdd0f795836571470bad28fbf8797f58
Signed-off-by: Stefan Reinauer <stefan.reinauer(a)coreboot.org>
Signed-off-by: Patrick Georgi <pgeorgi(a)chromium.org>
---
util/crossgcc/Makefile | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index fbbadac..11cc5fc 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -7,18 +7,16 @@ BUILD_PLATFORM ?= i386-elf
# Example: BUILDGCC_OPTIONS=-c to remove temporary files before build
all all_with_gdb:
- $(MAKE) build-i386
- $(MAKE) SKIP_IASL=1 \
- build-x64 build-armv7a build-mips build-riscv build-aarch64 \
- build_clang
+ $(MAKE) build-i386 build-x64 build-arm build-mips \
+ build-riscv build-aarch64 build-power8 build-nds32le \
+ build_clang build_iasl
all_without_gdb:
- $(MAKE) SKIP_GDB=1 build-i386
- $(MAKE) SKIP_IASL=1 SKIP_GDB=1 \
- build-x64 build-armv7a build-mips build-riscv build-aarch64 \
- build_clang
+ $(MAKE) SKIP_GDB=1 build-i386 build-x64 build-arm build-mips \
+ build-riscv build-aarch64 build-power8 build-nds32le \
+ build_clang build_iasl
-build_tools: build_gcc build_iasl build_gdb
+build_tools: build_gcc build_gdb
###########################################################
### targets to do buildgcc builds
@@ -33,9 +31,7 @@ ifeq ($(SKIP_GDB),)
endif
build_iasl:
-ifeq ($(SKIP_IASL),)
bash ./buildgcc -P iasl $(if $(CPUS),-j $(CPUS)) $(if $(KEEP_SOURCES),-t) $(BUILDGCC_OPTIONS)
-endif
build_clang:
ifeq ($(SKIP_CLANG),)