[U-Boot] [PATCH v3 4/6] ARM: openrd: disable CONFIG_BUG_CHECKS

Masahiro Yamada yamada.masahiro at socionext.com
Wed Jan 10 01:45:22 UTC 2018


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 at 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(+)

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
-- 
2.7.4



More information about the U-Boot mailing list