projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56322e1
)
memory: omap-gpmc: Fix debug output for access width
author
Tony Lindgren
<tony@atomide.com>
Fri, 5 May 2017 22:37:06 +0000
(15:37 -0700)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 16 May 2017 15:12:47 +0000
(08:12 -0700)
The width needs to be configured in bytes with 1 meaning 8-bit
access and 2 meaning 16-bit access.
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/memory/omap-gpmc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/memory/omap-gpmc.c
b/drivers/memory/omap-gpmc.c
index bf0fe0137dfed2c893001abb8cfe8b83861dae08..6d1b4b707cc287034c0d8fd225c4f7fc18e796ad 100644
(file)
--- a/
drivers/memory/omap-gpmc.c
+++ b/
drivers/memory/omap-gpmc.c
@@
-512,7
+512,7
@@
static void gpmc_cs_show_timings(int cs, const char *desc)
pr_info("gpmc cs%i access configuration:\n", cs);
GPMC_GET_RAW_BOOL(GPMC_CS_CONFIG1, 4, 4, "time-para-granularity");
GPMC_GET_RAW(GPMC_CS_CONFIG1, 8, 9, "mux-add-data");
- GPMC_GET_RAW_
MAX(GPMC_CS_CONFIG1, 12, 13
,
+ GPMC_GET_RAW_
SHIFT_MAX(GPMC_CS_CONFIG1, 12, 13, 1
,
GPMC_CONFIG1_DEVICESIZE_MAX, "device-width");
GPMC_GET_RAW(GPMC_CS_CONFIG1, 16, 17, "wait-pin");
GPMC_GET_RAW_BOOL(GPMC_CS_CONFIG1, 21, 21, "wait-on-write");