Martin Roth (martinroth(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17633
-gerrit
commit 309d4f851635848d89c9636ffecd0c32a82a59e8
Author: Martin Roth <martinroth(a)google.com>
Date: Mon Nov 28 13:16:24 2016 -0700
util/lint: Add check for symbolic links in the coreboot tree
Because of the varied environments that coreboot is built under, we
don't want to have symbolic links in the tree.
Change-Id: I4cf9d95a437626cb52e3032a5e6cba83320a334b
Signed-off-by: Martin Roth <martinroth(a)google.com>
---
util/lint/lint-stable-018-symlinks | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/util/lint/lint-stable-018-symlinks b/util/lint/lint-stable-018-symlinks
new file mode 100755
index 0000000..7865f55
--- /dev/null
+++ b/util/lint/lint-stable-018-symlinks
@@ -0,0 +1,33 @@
+#!/bin/sh
+# This file is part of the coreboot project.
+#
+# Copyright (C) 2016 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.
+#
+# DESCR: Report any symbolic links
+
+LC_ALL=C export LC_ALL
+
+EXCLUDED_DIRS='^3rdparty\|^site-local'
+
+# If the code is in a git repo, only print files that are checked in
+if [ -n "$(command -v git)" ] && [ -d .git ]; then
+ git ls-tree -r HEAD | \
+ grep ^120000 | \
+ cut -f2 | \
+ grep -v "$EXCLUDED_DIRS"
+else
+ # If the code isn't in a git repo, print everything
+ find . -type l | \
+ sed 's|\.\/||' | \
+ grep -v "$EXCLUDED_DIRS"
+fi
+
Martin Roth (martinroth(a)google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17633
-gerrit
commit eb737c6e91e7834ae1d3c833e1e4cad616152ed3
Author: Martin Roth <martinroth(a)google.com>
Date: Mon Nov 28 13:16:24 2016 -0700
util/lint: Add check for symbolic links in the coreboot tree
Because of the varied environments that coreboot is built under, we
don't want to have symbolic links in the tree.
Change-Id: I4cf9d95a437626cb52e3032a5e6cba83320a334b
Signed-off-by: Martin Roth <martinroth(a)google.com>
---
util/lint/lint-stable-018-symlinks | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/util/lint/lint-stable-018-symlinks b/util/lint/lint-stable-018-symlinks
new file mode 100755
index 0000000..78a97db
--- /dev/null
+++ b/util/lint/lint-stable-018-symlinks
@@ -0,0 +1,33 @@
+#!/bin/sh
+# This file is part of the coreboot project.
+#
+# Copyright (C) 2016 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.
+#
+# DESCR: Report any symbolic links
+
+LC_ALL=C export LC_ALL
+
+EXCLUDED_DIRS='^3rdparty\|^site-local'
+
+# If the code is in a git repo, only print files that are checked in
+if [ -n "$(command -v git)" ] && [ -d .git ]; then
+ git ls-tree -r HEAD | \
+ grep ^120000 | \
+ cut -f1 | \
+ grep -v "$EXCLUDED_DIRS"
+else
+ # If the code isn't in a git repo, print everything
+ find . -type l | \
+ sed 's|\.\/||' | \
+ grep -v "$EXCLUDED_DIRS"
+fi
+
Barnali Sarkar (barnali.sarkar(a)intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17635
-gerrit
commit 8cd0e651f6404b98ceeb786628ae4b4ad8c87fbc
Author: Barnali Sarkar <barnali.sarkar(a)intel.com>
Date: Tue Nov 29 12:05:28 2016 +0530
mainboard/intel/kblrvp: Revert back USB OC pin programming
With commit 2c3054c1(soc/intel/skylake: Add USB Port Over
Current (OC) Pin programming) USB OC pin programming is already
initiated from devicetree.cb, hence remove it from ramstage.c.
BUG=none
BRANCH=none
TEST=Built and booted KBLRVP from USB device
Change-Id: Icb47533aa57f208d5a52560db924169b908c7a88
Signed-off-by: Barnali Sarkar <barnali.sarkar(a)intel.com>
---
src/mainboard/intel/kblrvp/ramstage.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/mainboard/intel/kblrvp/ramstage.c b/src/mainboard/intel/kblrvp/ramstage.c
index d33c967..bcd72bc 100644
--- a/src/mainboard/intel/kblrvp/ramstage.c
+++ b/src/mainboard/intel/kblrvp/ramstage.c
@@ -21,21 +21,10 @@
void mainboard_silicon_init_params(FSP_SIL_UPD *params)
{
- size_t i;
/* Configure pads prior to SiliconInit() in case there's any
* dependencies during hardware initialization. */
gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
params->CdClock = 3;
-
- /* Set proper OC for various USB ports*/
- u8 usb2_oc[] = {0x0, 0x2, 0x8, 0x8, 0x2, 0x8, 0x8, 0x8, 0x1, 0x8};
- u8 usb3_oc[] = {0x0, 0x8, 0x8, 0x1, 0x8, 0x8};
-
- for (i = 0; i < ARRAY_SIZE(usb2_oc); i++)
- params->Usb2OverCurrentPin[i] = usb2_oc[i];
-
- for (i = 0; i < ARRAY_SIZE(usb3_oc); i++)
- params->Usb3OverCurrentPin[i] = usb3_oc[i];
}
static void ioexpander_init(void *unused)