[v3,4/6] ARM: openrd: disable CONFIG_BUG_CHECKS

Message ID 1515548724-31869-5-git-send-email-yamada.masahiro@socionext.com
State New
Headers show
Series
  • assert() is almost used in the same way as BUG_ON(), except:
Related show

Commit Message

Masahiro Yamada Jan. 10, 2018, 1:45 a.m.
These boards are always on the boundary of "u-boot-nodtb.bin exceeds
file size limit" error.

Commit ab5502bf561b ("ARM: openrd: set CONFIG_LOGLEVEL to 2") reduced
the loglevel to save memory footprint.

They are hitting the size limit, again.  Disable CONFIG_BUG_CHECKS.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

Changes in v3:
  - newly added

Changes in v2: None

 configs/openrd_base_defconfig     | 1 +
 configs/openrd_client_defconfig   | 1 +
 configs/openrd_ultimate_defconfig | 1 +
 3 files changed, 3 insertions(+)

Patch

diff --git a/configs/openrd_base_defconfig b/configs/openrd_base_defconfig
index 1a829b7..17c915e 100644
--- a/configs/openrd_base_defconfig
+++ b/configs/openrd_base_defconfig
@@ -29,4 +29,5 @@  CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
+# CONFIG_BUG_CHECKS is not set
 CONFIG_OF_LIBFDT=y
diff --git a/configs/openrd_client_defconfig b/configs/openrd_client_defconfig
index 7a95b5b..5e234dd 100644
--- a/configs/openrd_client_defconfig
+++ b/configs/openrd_client_defconfig
@@ -29,4 +29,5 @@  CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
+# CONFIG_BUG_CHECKS is not set
 CONFIG_OF_LIBFDT=y
diff --git a/configs/openrd_ultimate_defconfig b/configs/openrd_ultimate_defconfig
index 757be16..d51b614 100644
--- a/configs/openrd_ultimate_defconfig
+++ b/configs/openrd_ultimate_defconfig
@@ -29,4 +29,5 @@  CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
+# CONFIG_BUG_CHECKS is not set
 CONFIG_OF_LIBFDT=y