On Wed, Nov 23, 2016 at 07:36:33AM +0100, Bastian Bittorf wrote:
> * Martin Blumenstingl [23.11.2016 07:22]:
> > + case $board in
>
> better: "$board"
>
no, not better. the case discriminator is not word-split (and quoting
even breaks on some ancient shell).
__
* Martin Blumenstingl [23.11.2016 07:22]:
> +xor() {
> + local ret="0x$1"
> +
> + shift 1
> + while [[ "$1" ]]; do
> + local val="0x$1"
> + ret=$((${ret:-0} ^ ${val:-0}))
> + shift 1
> + done
> +
> + printf "%02x" "$ret"
> +}
minor stuff:
pl
This moves the extraction of the eeprom/calibration data to a hotplug
firmware script. Additionally it modifies all .dts to configure ath9k
directly from within the .dts.
The owl-loader approach enables support on devices with exotic eeprom
data locations (such as unaligned positions on the flash