diff options
author | Stefan Reinauer <stepan@openbios.org> | 2005-11-14 23:04:55 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2005-11-14 23:04:55 +0000 |
commit | 0d304c18e2cf1451a45c69aac61198d896da1e4d (patch) | |
tree | 3e0e47da22601967fb4c5b9c5c4ee31befe818fc /src/arch/ppc/boot | |
parent | 8af7998bacc11c66381836c28b099a4407da955c (diff) |
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
Diffstat (limited to 'src/arch/ppc/boot')
-rw-r--r-- | src/arch/ppc/boot/linuxbios_table.c | 16 |
1 files changed, 0 insertions, 16 deletions
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 <device/device.h> #include <stdlib.h> -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; |