board/minnowboard: Unify Minnowboard and Minnowboard MAX boards
authorEzequiel García <ezequiel@vanguardiasur.com.ar>
Fri, 15 Apr 2016 15:56:05 +0000 (12:56 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Apr 2016 21:19:25 +0000 (23:19 +0200)
commit5c084e951989ca18db4c36b32021727601cf8422
tree99451c1a1cbefd88ea215c57a1709382986ddc1c
parent54ec0e2a74a0e3b0f5e5780bca142dfa937f9a99
board/minnowboard: Unify Minnowboard and Minnowboard MAX boards

Given Minnowboard and Minnowboard MAX boards are very similar,
it's desirable to unify the support for them.

This commit does the following:

  1) Remove Minnowboard MAX's genimage.cfg, post-build.sh
     and post-image.sh. These are identical to Minnowboard's.

  2) Move Minnowboard MAX's linux config, and rename it.

     It would be lovely to have a single kernel config file.
     The kernel size penalty involved in adding support for
     all the peripherals on both boards is small enough to
     justify this.

     However, the original Minnowboard has some GPIO buttons
     that need to be registered by the kernel. This is not
     upstreamed, and hence we need to use the yocto v3.8 kernel
     to have this support.

  3) Rename each grub config to grub-{board}.cfg.

  4) Modify (the now unique) post-build script to use
     a different grub config, according to the board.

  5) Update both defconfigs, as per the above changes.

  6) Finally, update the readme.txt.

[Peter: mention MAX in readme title]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
14 files changed:
board/minnowboard-max/genimage.cfg [deleted file]
board/minnowboard-max/grub.cfg [deleted file]
board/minnowboard-max/linux.config [deleted file]
board/minnowboard-max/post-build.sh [deleted file]
board/minnowboard-max/post-image.sh [deleted file]
board/minnowboard-max/readme.txt [deleted file]
board/minnowboard/grub-minnowboard-max.cfg [new file with mode: 0644]
board/minnowboard/grub-minnowboard.cfg [new file with mode: 0644]
board/minnowboard/grub.cfg [deleted file]
board/minnowboard/linux-4.4.config [new file with mode: 0644]
board/minnowboard/post-build.sh
board/minnowboard/readme.txt
configs/minnowboard_defconfig
configs/minnowboard_max_defconfig