summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40b2318)
raw | patch | inline | side by side (parent: 40b2318)
author | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Thu, 11 Feb 2016 11:05:33 +0000 (16:35 +0530) | ||
committer | Nikhil Devshatwar <nikhil.nd@ti.com> | |
Thu, 11 Feb 2016 11:05:35 +0000 (16:35 +0530) |
Even though MMC padconf is allowed and recommended in kernel DTS, we still
might need to program the pad and delays in the u-boot.
Remove the un-nececessary warnings for MMC module.
Only warn if non MMC module is enabled in kernel, but skip nothing.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
might need to program the pad and delays in the u-boot.
Remove the un-nececessary warnings for MMC module.
Only warn if non MMC module is enabled in kernel, but skip nothing.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
iodelay-autogen.py | patch | blob | history |
diff --git a/iodelay-autogen.py b/iodelay-autogen.py
index 29f6f6ae1f8bde2ce4a61b887b6acbf08fdfdaf2..21bec3a993b386739d1da39e56fe3b36ba24b52b 100755 (executable)
--- a/iodelay-autogen.py
+++ b/iodelay-autogen.py
for i in padconf:
(pad_name, pin_name, addr, val, mode, delayinfo) = i
- if (re.match("MMC.*", pin_name) != None):
- print "WARN: Skipping MMC padconf in uboot"
-
muxmode = val & 0xf
(method, data) = delayinfo
if (method == "LEGACY"):
for i in delayconf:
(pad_name, pin_name, regname, del_offset, man_name, adel, gdel) = i
- if (re.match("MMC.*", pin_name) != None):
- print "WARN: Skipping MMC delayconf in uboot"
- continue
-
entry = (del_offset, adel, gdel, regname, pin_name, man_name)
manual_del.append(entry)
for per in per_padconf:
if (re.match("MMC.*", per) == None):
- print "ERR: Only MMC padconf is recommended in kernel"
- continue
+ print "WARN: Only MMC padconf is recommended in kernel"
# Get the mode from the first entry
(pad_name, pin_name, addr, val, mode, delayinfo) = per_padconf[per][0]
for per in per_delayconf.keys():
if (re.match("MMC.*", per) == None):
- print "ERR: Only MMC delayconf is recommended in kernel"
- continue
+ print "WARN: Only MMC delayconf is recommended in kernel"
# Get the mode from the first entry
(pad_name, pin_name, regname, del_offset, mode, adel, gdel) = per_delayconf[per][0]