Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43254 )
Change subject: soc/samsung/exynos5420: Drop dead code
......................................................................
soc/samsung/exynos5420: Drop dead code
This code is not even being build-tested. Drop it before it grows moss.
Change-Id: I4f06e5e8a0d25308ba56d09a3d8b71f04dbd27b7
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/soc/samsung/exynos5420/uart.c
1 file changed, 0 insertions(+), 40 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/43254/1
diff --git a/src/soc/samsung/exynos5420/uart.c b/src/soc/samsung/exynos5420/uart.c
index 732a85e..c7a0649 100644
--- a/src/soc/samsung/exynos5420/uart.c
+++ b/src/soc/samsung/exynos5420/uart.c
@@ -13,34 +13,6 @@
#define RX_FIFO_FULL_MASK (1 << 8)
#define TX_FIFO_FULL_MASK (1 << 24)
-#if 0
-/*
- * The coefficient, used to calculate the baudrate on S5P UARTs is
- * calculated as
- * C = UBRDIV * 16 + number_of_set_bits_in_UDIVSLOT
- * however, section 31.6.11 of the datasheet doesn't recommend using 1 for 1,
- * 3 for 2, ... (2^n - 1) for n, instead, they suggest using these constants:
- */
-static const int udivslot[] = {
- 0,
- 0x0080,
- 0x0808,
- 0x0888,
- 0x2222,
- 0x4924,
- 0x4a52,
- 0x54aa,
- 0x5555,
- 0xd555,
- 0xd5d5,
- 0xddd5,
- 0xdddd,
- 0xdfdd,
- 0xdfdf,
- 0xffdf,
-};
-#endif
-
static void serial_setbrg_dev(struct s5p_uart *uart)
{
u32 uclk;
@@ -51,18 +23,6 @@
val = uclk / get_uart_baudrate();
write32(&uart->ubrdiv, val / 16 - 1);
-
- /*
- * FIXME(dhendrix): the original uart.h had a "br_rest" value which
- * does not seem relevant to the exynos5420... not entirely sure
- * where/if we need to worry about it here
- */
-#if 0
- if (s5p_uart_divslot())
- writel(udivslot[val % 16], &uart->rest.slot);
- else
- writeb(val % 16, &uart->rest.value);
-#endif
}
/*
--
To view, visit https://review.coreboot.org/c/coreboot/+/43254
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4f06e5e8a0d25308ba56d09a3d8b71f04dbd27b7
Gerrit-Change-Number: 43254
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: newchange
Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/43215 )
Change subject: soc/samsung/exynos5250/fb.c: Drop dead code
......................................................................
soc/samsung/exynos5250/fb.c: Drop dead code
This code is not even being build-tested. Drop it before it grows moss.
Change-Id: I4772680875b20308e57da073bbcdc4597aeed893
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/soc/samsung/exynos5250/fb.c
1 file changed, 0 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/43215/1
diff --git a/src/soc/samsung/exynos5250/fb.c b/src/soc/samsung/exynos5250/fb.c
index 0292d76..98a4c66 100644
--- a/src/soc/samsung/exynos5250/fb.c
+++ b/src/soc/samsung/exynos5250/fb.c
@@ -140,14 +140,6 @@
write32(&exynos_fimd->dpclkcon, 1 << 1);
}
-#ifdef UNUSED_CODE
-void exynos_fimd_disable(void)
-{
- write32(&exynos_fimd->wincon0, 0);
- clrbits32(&exynos_fimd->shadowcon, CHANNEL0_EN);
-}
-#endif
-
/*
* Configure DP in slave mode and wait for video stream.
*
--
To view, visit https://review.coreboot.org/c/coreboot/+/43215
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I4772680875b20308e57da073bbcdc4597aeed893
Gerrit-Change-Number: 43215
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-MessageType: newchange
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42794 )
Change subject: crossgcc: Allow GCC to get asan shadow offset at runtime
......................................................................
Patch Set 11:
(2 comments)
https://review.coreboot.org/c/coreboot/+/42794/11//COMMIT_MSG
Commit Message:
https://review.coreboot.org/c/coreboot/+/42794/11//COMMIT_MSG@15
PS11, Line 15:
Please add more details, why GCC needs to be patched for coreboot, but apparently not for the Linux kernel, which also has KASAN support.
Is this also necessary in newer GCC versions, or do those already support the use case?
https://review.coreboot.org/c/coreboot/+/42794/11/util/crossgcc/patches/gcc…
File util/crossgcc/patches/gcc-8.3.0_asan_shadow_offset_callback.patch:
https://review.coreboot.org/c/coreboot/+/42794/11/util/crossgcc/patches/gcc…
PS11, Line 1: diff -urN gcc-8.3.0.orig/gcc/asan.c gcc-8.3.0/gcc/asan.c
Please add a patch file created with `git format-patch -1`, which contains a commit message.
--
To view, visit https://review.coreboot.org/c/coreboot/+/42794
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I401631938532a406a6d41e77c6c9716b6b2bf48d
Gerrit-Change-Number: 42794
Gerrit-PatchSet: 11
Gerrit-Owner: Harshit Sharma <harshitsharmajs(a)gmail.com>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Comment-Date: Thu, 09 Jul 2020 21:24:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42496 )
Change subject: lib: Add ASan support to ramstage on x86 arch
......................................................................
Patch Set 18: Code-Review+1
I rebased the series on master to be able to build it on ppc64le, rebuilt crossgcc, built an image for the ASRock E350M1 with KASAN enable, and it booted without errors. (I would have expected problems with AGESA, but maybe Coverity and the other static analyzers found all the bug already.)
Great job!
It’d be great if you rebased your series on origin/master.
--
To view, visit https://review.coreboot.org/c/coreboot/+/42496
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ica06bd2be78fcfc79fa888721ed920d4e8248f3b
Gerrit-Change-Number: 42496
Gerrit-PatchSet: 18
Gerrit-Owner: Harshit Sharma <harshitsharmajs(a)gmail.com>
Gerrit-Reviewer: Julius Werner <jwerner(a)chromium.org>
Gerrit-Reviewer: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-Reviewer: Werner Zeh <werner.zeh(a)siemens.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Gerrit-CC: Angel Pons <th3fanbus(a)gmail.com>
Gerrit-CC: Kyösti Mälkki <kyosti.malkki(a)gmail.com>
Gerrit-Comment-Date: Thu, 09 Jul 2020 21:22:05 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment