Go to the documentation of this file.
14 #ifndef __ASMARM_SETUP_H
15 #define __ASMARM_SETUP_H
17 #include <uapi/asm/setup.h>
20 #define __tag __used __attribute__((__section__(".taglist.init")))
21 #define __tagtable(tag, fn) \
22 static const struct tagtable __tagtable_##fn __tag = { tag, fn }
27 #define NR_BANKS CONFIG_ARM_NR_BANKS
42 #define for_each_bank(iter,mi) \
43 for (iter = 0; iter < (mi)->nr_banks; iter++)
45 #define bank_pfn_start(bank) __phys_to_pfn((bank)->start)
46 #define bank_pfn_end(bank) __phys_to_pfn((bank)->start + (bank)->size)
47 #define bank_pfn_size(bank) ((bank)->size >> PAGE_SHIFT)
48 #define bank_phys_start(bank) (bank)->start
49 #define bank_phys_end(bank) ((bank)->start + (bank)->size)
50 #define bank_phys_size(bank) (bank)->size