Skip to content

Commit 43e347a

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin
Pull a few blackfin compile fixes from Bob Liu. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin: blackfin: update defconfig for bf527-ezkit blackfin: gpio: fix compile error if !CONFIG_GPIOLIB blackfin: fix L1 data A overflow link issue
2 parents fb9d78a + 35fe2e7 commit 43e347a

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

arch/blackfin/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ config CACHELINE_ALIGNED_L1
823823
bool "Locate cacheline_aligned data to L1 Data Memory"
824824
default y if !BF54x
825825
default n if BF54x
826-
depends on !SMP && !BF531
826+
depends on !SMP && !BF531 && !CRC32
827827
help
828828
If enabled, cacheline_aligned data is linked
829829
into L1 data memory. (less latency)

arch/blackfin/configs/BF527-EZKIT_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ CONFIG_USB_OTG_BLACKLIST_HUB=y
147147
CONFIG_USB_MON=y
148148
CONFIG_USB_MUSB_HDRC=y
149149
CONFIG_USB_MUSB_BLACKFIN=y
150+
CONFIG_MUSB_PIO_ONLY=y
150151
CONFIG_USB_STORAGE=y
151152
CONFIG_USB_GADGET=y
152153
CONFIG_RTC_CLASS=y

arch/blackfin/include/asm/gpio.h

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,16 +244,26 @@ static inline int gpio_set_debounce(unsigned gpio, unsigned debounce)
244244
return -EINVAL;
245245
}
246246

247-
static inline int gpio_get_value(unsigned gpio)
247+
static inline int __gpio_get_value(unsigned gpio)
248248
{
249249
return bfin_gpio_get_value(gpio);
250250
}
251251

252-
static inline void gpio_set_value(unsigned gpio, int value)
252+
static inline void __gpio_set_value(unsigned gpio, int value)
253253
{
254254
return bfin_gpio_set_value(gpio, value);
255255
}
256256

257+
static inline int gpio_get_value(unsigned gpio)
258+
{
259+
return __gpio_get_value(gpio);
260+
}
261+
262+
static inline void gpio_set_value(unsigned gpio, int value)
263+
{
264+
return __gpio_set_value(gpio, value);
265+
}
266+
257267
static inline int gpio_to_irq(unsigned gpio)
258268
{
259269
if (likely(gpio < MAX_BLACKFIN_GPIOS))

0 commit comments

Comments
 (0)