Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127026
b: refs/heads/master
c: 2e8ca59
h: refs/heads/master
v: v3
  • Loading branch information
Bryan Wu committed Nov 18, 2008
1 parent 1258371 commit 98f2ab2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 46fa5eecec58934902ea4a65d9c7b7a486ac6f6b
refs/heads/master: 2e8ca591479e7127c7a6406cfb54962afbd5a68e
4 changes: 2 additions & 2 deletions trunk/arch/blackfin/include/asm/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@
#define gpio_bank(x) ((x) >> 4)
#define gpio_bit(x) (1<<((x) & 0xF))
#define gpio_sub_n(x) ((x) & 0xF)
#define GPIO_BANK_NUM DIV_ROUND_UP(MAX_BLACKFIN_GPIOS, 16)

#define GPIO_BANKSIZE 16
#define GPIO_BANKSIZE 16
#define GPIO_BANK_NUM DIV_ROUND_UP(MAX_BLACKFIN_GPIOS, GPIO_BANKSIZE)

#define GPIO_0 0
#define GPIO_1 1
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/blackfin/include/asm/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ static inline uint32_t __pure bfin_compiled_revid(void)
return 4;
#elif defined(CONFIG_BF_REV_0_5)
return 5;
#elif defined(CONFIG_BF_REV_0_6)
return 6;
#elif defined(CONFIG_BF_REV_ANY)
return 0xffff;
#else
Expand Down

0 comments on commit 98f2ab2

Please sign in to comment.