sandbox: Add a note about the growing state_info struct
authorSimon Glass <sjg@chromium.org>
Sun, 17 Feb 2019 03:24:45 +0000 (20:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 20 Feb 2019 07:25:29 +0000 (15:25 +0800)
commitc6d84a30fe4cbfd438cb88d76b1cbb71dda2b2f8
treeb00e118a852fe471eb2da4fcc22e0f7bfc4350b9
parent7d8fe15bb80e082c7e532f26b88b58ff64ba075a
sandbox: Add a note about the growing state_info struct

This struct is getting larger and in some cases is being used for things
which would be better put into a driver. For example hwspinlock is not
used outside of sandbox_hwspinlock.c.

Add a note to encourage people to put things elsewhere.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/sandbox/include/asm/state.h