From 0d304c18e2cf1451a45c69aac61198d896da1e4d Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 14 Nov 2005 23:04:55 +0000 Subject: comment and unify lb_uint64 handling as discussed on the mailinglist git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2086 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/ppc/boot/linuxbios_table.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/arch/ppc/boot/linuxbios_table.c') diff --git a/src/arch/ppc/boot/linuxbios_table.c b/src/arch/ppc/boot/linuxbios_table.c index 414addff49..10d3b0ce9d 100644 --- a/src/arch/ppc/boot/linuxbios_table.c +++ b/src/arch/ppc/boot/linuxbios_table.c @@ -7,22 +7,6 @@ #include #include -static inline uint64_t unpack_lb64(struct lb_uint64 value) -{ - uint64_t result; - result = value.hi; - result = (result << 32) + value.lo; - return result; -} - -static inline struct lb_uint64 pack_lb64(uint64_t value) -{ - struct lb_uint64 result; - result.lo = (value >> 0) & 0xffffffff; - result.hi = (value >> 32) & 0xffffffff; - return result; -} - struct lb_header *lb_table_init(unsigned long addr) { struct lb_header *header; -- cgit v1.2.3