summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test28.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-11-28 16:14:56 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-27 09:00:16 +0000
commit945b698f82279fdb42f83f6a3eb2e6f74db2869c (patch)
tree3eac3bd7ec5032441081d89a370acddf8f3e5f5b /util/romcc/tests/simple_test28.c
parentc2092569d5d21e0cdd3690d8021c2d46dfeaeabd (diff)
downloadcoreboot-945b698f82279fdb42f83f6a3eb2e6f74db2869c.tar.xz
util/romcc: Drop romcc support
Finally all boards use a GCC compiled bootblock! Change-Id: I0c9a1b19dbdc32b43875da7d685718bae9d7f5f4 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37337 Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Jacob Garber <jgarber1@ualberta.ca> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/romcc/tests/simple_test28.c')
-rw-r--r--util/romcc/tests/simple_test28.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/util/romcc/tests/simple_test28.c b/util/romcc/tests/simple_test28.c
deleted file mode 100644
index 8d83383124..0000000000
--- a/util/romcc/tests/simple_test28.c
+++ /dev/null
@@ -1,24 +0,0 @@
-static void outl(unsigned int value, unsigned short port)
-{
- __builtin_outl(value, port);
-}
-
-static unsigned char inl(unsigned short port)
-{
- return __builtin_inl(port);
-}
-
-
-static void setup_coherent_ht_domain(void)
-{
- static const unsigned int register_values[] = {
- ( (((0) & 0xFF) << 16) | (((0x18) & 0x1f) << 11) | (((0) & 0x07) << 8) | ((0x40) & 0xFF)), 0xfff0f0f0, 0x00010101,
-
- };
- unsigned long reg;
- reg = inl(0xFC);
- reg &= register_values[1];
- reg |= register_values[2] & ~register_values[1];
- outl(register_values[0], 0xF8);
- outl(reg, 0xFC);
-}