mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
* Some code cleanup
* Patch by Josef Baumgartner, 10 Feb 2004: Fixes for Coldfire port * Patch by Brad Kemp, 11 Feb 2004: Fix CFI flash driver problems
This commit is contained in:
parent
a2d18bb7d3
commit
bf9e3b38f7
76 changed files with 7717 additions and 5120 deletions
18
include/asm-m68k/bitops.h
Normal file
18
include/asm-m68k/bitops.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* bitops.h: Bit string operations on the m68k
|
||||
*/
|
||||
|
||||
#ifndef _M68K_BITOPS_H
|
||||
#define _M68K_BITOPS_H
|
||||
|
||||
#include <linux/config.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
extern void set_bit(int nr, volatile void *addr);
|
||||
extern void clear_bit(int nr, volatile void *addr);
|
||||
extern void change_bit(int nr, volatile void *addr);
|
||||
extern int test_and_set_bit(int nr, volatile void *addr);
|
||||
extern int test_and_clear_bit(int nr, volatile void *addr);
|
||||
extern int test_and_change_bit(int nr, volatile void *addr);
|
||||
|
||||
#endif /* _M68K_BITOPS_H */
|
Loading…
Add table
Add a link
Reference in a new issue